Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, 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.001407/0.001408, allocations: 190.1 kB / 19.39 MB, free: 3.688 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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.1989/0.1989, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002679/0.3588, allocations: 1.706 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3601, allocations: 0.8827 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3602, allocations: 1.094 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3605, allocations: 38.91 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.3607, allocations: 60.48 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.361, allocations: 105.6 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3612, allocations: 99.86 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3613, allocations: 11.69 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.3614, allocations: 42.34 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.3615, allocations: 25.78 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3615, allocations: 4.594 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.3616, allocations: 45.84 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3617, allocations: 23.52 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.3617, allocations: 33.53 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.3619, allocations: 117.5 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.362, allocations: 4.75 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.362, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.362, allocations: 0 / 0.5228 GB, free: 1.547 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.0004163/0.3624, allocations: 419.6 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3624, allocations: 9.516 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3625, allocations: 10.33 kB / 0.5232 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3627, allocations: 216.5 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3627, allocations: 5.625 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3627, allocations: 11.11 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3629, allocations: 53.91 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3629, allocations: 3.938 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3629, allocations: 1.875 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3629, allocations: 0 / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.363, allocations: 18.84 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.3633, allocations: 282.4 kB / 0.5238 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.3635, allocations: 65.67 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.3635, allocations: 23.12 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3635, allocations: 1.031 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.3637, allocations: 70.75 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3637, allocations: 0 / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004783/0.3642, allocations: 185 kB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.3642, allocations: 56.88 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3644, allocations: 196.7 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.3644, allocations: 27.95 kB / 0.5244 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.3644, allocations: 102.9 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3645, allocations: 22.28 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.3645, allocations: 23.27 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3646, allocations: 329.6 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.3647, allocations: 21.69 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.3648, allocations: 35.11 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3649, allocations: 61.86 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3649, allocations: 3.938 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.3651, allocations: 102 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3651, allocations: 9.938 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3651, allocations: 0.5156 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3651, allocations: 4.953 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.3652, allocations: 15.55 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3652, allocations: 1.828 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.3653, allocations: 10.77 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3653, allocations: 6.438 kB / 0.5251 GB, free: 15.51 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.401e-05/0.3654, allocations: 123 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3654, allocations: 13.98 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3655, allocations: 24.73 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3655, allocations: 0.5156 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3655, allocations: 0.7031 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3656, allocations: 88.89 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3656, allocations: 6.016 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.3656, allocations: 2.422 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3657, allocations: 5.5 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002161/0.3659, allocations: 173.5 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002529/0.3662, allocations: 288.7 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.29e-05/0.3662, allocations: 24.94 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3664, allocations: 152.6 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3664, allocations: 0 / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.3678, allocations: 0.4895 MB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005832/0.3684, allocations: 0.6678 MB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004361/0.3728, allocations: 1.756 MB / 0.5288 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches