Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001229/0.001229, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.437/1.437, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.211/0.211, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 67.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3626, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002896/0.3655, allocations: 1.807 MB / 0.5214 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3676, allocations: 1.555 MB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.3677, allocations: 6.156 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.368, allocations: 52.06 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.3683, allocations: 94.38 kB / 0.5231 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3688, allocations: 171.8 kB / 0.5232 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.369, allocations: 183 kB / 0.5234 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/0.3691, allocations: 10.62 kB / 0.5234 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3692, allocations: 81.75 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3694, allocations: 73.56 kB / 0.5236 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3695, allocations: 7.344 kB / 0.5236 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3696, allocations: 62.25 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.3697, allocations: 37.81 kB / 0.5237 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.3697, allocations: 57.27 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.37, allocations: 168.5 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.37, allocations: 0.6094 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.37, allocations: 1.188 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.37, allocations: 0 / 0.5239 GB, free: 0.7695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005462/0.3706, allocations: 471.1 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3706, allocations: 10 kB / 0.5243 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3707, allocations: 16.12 kB / 0.5244 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.371, allocations: 256.5 kB / 0.5246 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.371, allocations: 1.656 kB / 0.5246 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.371, allocations: 7.812 kB / 0.5246 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3713, allocations: 102.7 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3713, allocations: 0.75 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3713, allocations: 5.469 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3713, allocations: 5.438 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3714, allocations: 26.02 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3717, allocations: 208.2 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3719, allocations: 109.7 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.372, allocations: 43.08 kB / 0.5251 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3721, allocations: 1.688 kB / 0.5251 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.3723, allocations: 113.5 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.3723, allocations: 4 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004364/0.3728, allocations: 168.2 kB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.3728, allocations: 130.3 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.3731, allocations: 216 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3731, allocations: 29.7 kB / 0.5257 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.3732, allocations: 112.6 kB / 0.5258 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.3732, allocations: 29.25 kB / 0.5259 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3733, allocations: 32.77 kB / 0.5259 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3734, allocations: 330.1 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3735, allocations: 26.48 kB / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3736, allocations: 76.78 kB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3738, allocations: 92.36 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3738, allocations: 0.7188 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002684/0.3741, allocations: 137.5 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3741, allocations: 7.078 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3741, allocations: 0 / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3741, allocations: 2.188 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3742, allocations: 21.36 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3743, allocations: 5.688 kB / 0.5266 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.3743, allocations: 14.41 kB / 0.5266 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3744, allocations: 4.406 kB / 0.5266 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.000109/0.3745, allocations: 131.1 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3745, allocations: 20.16 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.3746, allocations: 21.88 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3746, allocations: 1.891 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3746, allocations: 1.219 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.3746, allocations: 97.08 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3747, allocations: 3.406 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.3748, allocations: 6.156 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.3748, allocations: 18.73 kB / 0.5269 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003479/0.3752, allocations: 287.1 kB / 0.5271 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003654/0.3756, allocations: 390 kB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001039/0.3757, allocations: 36.38 kB / 0.5275 GB, free: 13.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3758, allocations: 157.3 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Backend: time 4.11e-07/0.3758, allocations: 0 / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.3775, allocations: 0.5247 MB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007604/0.3783, allocations: 0.7393 MB / 0.5289 GB, free: 12.67 MB / 398.1 MB Notification: Performance of Templates: time 0.006504/0.3848, allocations: 2.88 MB / 0.5317 GB, free: 11.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches