Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.8 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 109.2 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3423/0.3423, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.314, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002867/0.3169, allocations: 1.791 MB / 0.5169 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3183, allocations: 1.025 MB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3184, allocations: 4 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3188, allocations: 52.53 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.3191, allocations: 85.36 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3194, allocations: 89.09 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3196, allocations: 110.9 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/0.3197, allocations: 9.781 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.3198, allocations: 42.14 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.3198, allocations: 40.59 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3199, allocations: 6.875 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.32, allocations: 43.3 kB / 0.5184 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.32, allocations: 28.45 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.3201, allocations: 35.84 kB / 0.5184 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.3203, allocations: 141 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3203, allocations: 4 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3203, allocations: 0 / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.3203, allocations: 0 / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004754/0.3208, allocations: 441.3 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3208, allocations: 8.75 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.3209, allocations: 18.56 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3211, allocations: 222.3 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3211, allocations: 6.688 kB / 0.5192 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3211, allocations: 8.125 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3212, allocations: 59.03 kB / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3213, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3213, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3213, allocations: 0 / 0.5193 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.3213, allocations: 26.7 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.3217, allocations: 294.6 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3218, allocations: 56.25 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.3219, allocations: 20.75 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3219, allocations: 2.969 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3221, allocations: 70.88 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.3221, allocations: 7.922 kB / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004642/0.3225, allocations: 186.3 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.3226, allocations: 51.41 kB / 0.52 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3228, allocations: 273.9 kB / 0.5203 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.3228, allocations: 25.7 kB / 0.5203 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.3228, allocations: 109.1 kB / 0.5204 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3229, allocations: 28.47 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.3229, allocations: 23.59 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.323, allocations: 330.5 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.323, allocations: 26.44 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.3231, allocations: 36.31 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.3232, allocations: 65.67 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3232, allocations: 3.609 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001462/0.3233, allocations: 97.59 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3234, allocations: 9.344 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3234, allocations: 7.938 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3234, allocations: 0 / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3235, allocations: 20.5 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3235, allocations: 2.719 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.3235, allocations: 11.12 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3235, allocations: 5.688 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.3236, allocations: 131.4 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.3236, allocations: 13.66 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.3237, allocations: 25.52 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3237, allocations: 3 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3237, allocations: 0 / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3237, allocations: 3.938 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.324, allocations: 406.8 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.324, allocations: 0 / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.3241, allocations: 9.844 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3241, allocations: 2.812 kB / 0.5216 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3241, allocations: 7.969 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3241, allocations: 2.906 kB / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3241, allocations: 0 / 0.5216 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.3244, allocations: 0.7945 MB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.3245, allocations: 90.33 kB / 0.5225 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3245, allocations: 11.94 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.3246, allocations: 2.5 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3246, allocations: 6.078 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3246, allocations: 4.781 kB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3248, allocations: 207.2 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3248, allocations: 0 / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.3251, allocations: 25.16 kB / 0.5227 GB, free: 31.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009064/0.326, allocations: 464.9 kB / 0.5231 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.3262, allocations: 70.39 kB / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3262, allocations: 0 / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.3263, allocations: 29.38 kB / 0.5232 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3266, allocations: 35.05 kB / 0.5233 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.327, allocations: 443.5 kB / 0.5237 GB, free: 31.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3272, allocations: 0.721 MB / 0.5244 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.3272, allocations: 19.58 kB / 0.5244 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3273, allocations: 13.06 kB / 0.5244 GB, free: 30.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3273, allocations: 4 kB / 0.5244 GB, free: 30.64 MB / 378.7 MB Notification: Performance of Templates: time 0.00358/0.3309, allocations: 1.733 MB / 0.5261 GB, free: 30.44 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches