Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 112.9 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001272, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.18 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.88 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3611, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002576/0.3637, allocations: 1.703 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3649, allocations: 0.8749 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.365, allocations: 1.062 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.3653, allocations: 35.69 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3655, allocations: 62.86 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.3658, allocations: 106.9 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.366, allocations: 99.39 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.3661, allocations: 8.359 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.3662, allocations: 41.03 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.3663, allocations: 35.06 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3663, allocations: 3.062 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.3664, allocations: 42.31 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.3664, allocations: 22.36 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.3665, allocations: 37.92 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3667, allocations: 114.9 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3667, allocations: 1.438 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3667, allocations: 0.7969 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3667, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 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.0004349/0.3672, allocations: 414.6 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3672, allocations: 8 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.3673, allocations: 11.44 kB / 0.5232 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.3675, allocations: 201.5 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3675, allocations: 5.625 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3675, allocations: 7.188 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3677, allocations: 58.3 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3677, allocations: 0 / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3677, allocations: 2.828 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3677, allocations: 3.938 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.3678, allocations: 17.62 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.3681, allocations: 293.5 kB / 0.5237 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3682, allocations: 65.3 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.3683, allocations: 20.39 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3683, allocations: 1.125 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.3685, allocations: 73.3 kB / 0.5239 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3685, allocations: 4.906 kB / 0.5239 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004958/0.369, allocations: 171.9 kB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.369, allocations: 56.56 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3692, allocations: 187.2 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3692, allocations: 26.92 kB / 0.5243 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.3693, allocations: 99.28 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3693, allocations: 26.81 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3694, allocations: 29.55 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3695, allocations: 326.3 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.3695, allocations: 21.67 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.3696, allocations: 39.16 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.3697, allocations: 58.14 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3698, allocations: 4 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.3699, allocations: 108.8 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.37, allocations: 8.641 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.37, allocations: 1.344 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.37, allocations: 0 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.3701, allocations: 16.3 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3701, allocations: 1.031 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.3701, allocations: 3.125 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3702, allocations: 6.75 kB / 0.525 GB, free: 15.52 MB / 398.1 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 9.615e-05/0.3703, allocations: 134.8 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3703, allocations: 12.81 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.3703, allocations: 16.72 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3703, allocations: 0.75 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3703, allocations: 0 / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3704, allocations: 84.88 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3704, allocations: 5.156 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.3705, allocations: 6.672 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.3705, allocations: 8.172 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002823/0.3708, allocations: 177.3 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002387/0.3711, allocations: 273.5 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.716e-05/0.3711, allocations: 29.83 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3712, allocations: 143.1 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.3713, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.3726, allocations: 493 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006185/0.3732, allocations: 0.671 MB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.004938/0.3781, allocations: 1.757 MB / 0.5287 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches