Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.00178/0.001781, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.398/1.398, 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.2137/0.2137, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 60.82 MB / 0.5197 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004077/0.3596, allocations: 2.239 MB / 0.5219 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3619, allocations: 1.186 MB / 0.523 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003304/0.3622, allocations: 7.031 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.3628, allocations: 136.9 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.3634, allocations: 200.1 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.3643, allocations: 315.5 kB / 0.5237 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.3648, allocations: 429 kB / 0.5241 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.365, allocations: 56.61 kB / 0.5241 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.3654, allocations: 321.2 kB / 0.5244 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3656, allocations: 153.6 kB / 0.5246 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.3657, allocations: 16.81 kB / 0.5246 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3658, allocations: 69.92 kB / 0.5247 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.366, allocations: 149 kB / 0.5248 GB, free: 488 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3661, allocations: 203.4 kB / 0.525 GB, free: 332 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.3666, allocations: 465.2 kB / 0.5254 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3667, allocations: 0 / 0.5254 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3667, allocations: 0 / 0.5254 GB, free: 124 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3667, allocations: 0 / 0.5254 GB, free: 124 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001183/0.3679, allocations: 0.8877 MB / 0.5263 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3679, allocations: 12 kB / 0.5263 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.368, allocations: 71.45 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.3686, allocations: 436.7 kB / 0.5268 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3687, allocations: 9.953 kB / 0.5268 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.3687, allocations: 27.84 kB / 0.5268 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.3692, allocations: 199.6 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3692, allocations: 1.766 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3692, allocations: 5.875 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3692, allocations: 4.047 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3695, allocations: 94.02 kB / 0.5271 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.3704, allocations: 0.8212 MB / 0.5279 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.3711, allocations: 247.3 kB / 0.5282 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3713, allocations: 85.83 kB / 0.5282 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.3713, allocations: 12.12 kB / 0.5283 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.3717, allocations: 210.2 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.436e-06/0.3717, allocations: 5.359 kB / 0.5285 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002591/0.3743, allocations: 1.177 MB / 0.5296 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.3744, allocations: 136.7 kB / 0.5297 GB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3755, allocations: 0.9231 MB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.3756, allocations: 38.3 kB / 0.5307 GB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.3758, allocations: 261 kB / 0.5309 GB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3759, allocations: 142.9 kB / 0.5311 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.376, allocations: 79.67 kB / 0.5311 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3762, allocations: 387.1 kB / 0.5315 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.3765, allocations: 115.7 kB / 0.5316 GB, free: 11.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.3768, allocations: 188.2 kB / 0.5318 GB, free: 11.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.3773, allocations: 316 kB / 0.5321 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3773, allocations: 1.375 kB / 0.5321 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007758/0.3781, allocations: 438.8 kB / 0.5325 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3781, allocations: 6.312 kB / 0.5325 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3781, allocations: 1.562 kB / 0.5325 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3782, allocations: 7.656 kB / 0.5325 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3785, allocations: 92.36 kB / 0.5326 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3785, allocations: 8.031 kB / 0.5326 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.3786, allocations: 20.3 kB / 0.5327 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3787, allocations: 16.91 kB / 0.5327 GB, free: 10.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002936/0.379, allocations: 252.6 kB / 0.5329 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3791, allocations: 72.44 kB / 0.533 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3792, allocations: 94.8 kB / 0.5331 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3793, allocations: 5.203 kB / 0.5331 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3793, allocations: 5 kB / 0.5331 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.3795, allocations: 181.2 kB / 0.5332 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.3795, allocations: 20.48 kB / 0.5333 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3797, allocations: 14.92 kB / 0.5333 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.3798, allocations: 32.91 kB / 0.5333 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008712/0.3807, allocations: 0.717 MB / 0.534 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008886/0.3816, allocations: 0.8255 MB / 0.5348 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003372/0.3819, allocations: 154.4 kB / 0.535 GB, free: 9.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007558/0.3827, allocations: 0.6812 MB / 0.5356 GB, free: 8.906 MB / 398.1 MB Notification: Performance of Backend: time 4.91e-07/0.3827, allocations: 0 / 0.5356 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.3849, allocations: 0.7879 MB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of SimCode: time 0.00191/0.3868, allocations: 1.47 MB / 0.5378 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Templates: time 0.01214/0.399, allocations: 5.709 MB / 0.5434 GB, free: 3.523 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches