Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 96.86 kB / 17 MB, free: 6.062 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.00169/0.00169, allocations: 182.8 kB / 17.89 MB, free: 5.645 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.555/1.555, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003256, allocations: 9.219 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002579/0.141, allocations: 1.55 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1434, allocations: 0.9128 MB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1438, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.1446, allocations: 147.6 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000643/0.1453, allocations: 123.6 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.1462, allocations: 151.6 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.1469, allocations: 199.3 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1471, allocations: 13.69 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.1474, allocations: 103.6 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1477, allocations: 107.6 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.1478, allocations: 4 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.148, allocations: 51.98 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.1481, allocations: 43.81 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.1482, allocations: 57.58 kB / 475.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1485, allocations: 148 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1486, allocations: 0 / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1486, allocations: 4 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1486, allocations: 4 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008583/0.1494, allocations: 0.4942 MB / 475.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1495, allocations: 12.03 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.1496, allocations: 19.72 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.15, allocations: 262.4 kB / 476 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.15, allocations: 4 kB / 476 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.15, allocations: 8 kB / 476 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.1503, allocations: 119.2 kB / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1504, allocations: 0 / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1504, allocations: 0 / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1504, allocations: 4 kB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1506, allocations: 43.97 kB / 476.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.1512, allocations: 472.6 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1516, allocations: 121.2 kB / 476.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1518, allocations: 41.83 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1518, allocations: 11.94 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.1521, allocations: 121 kB / 476.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.1521, allocations: 3.938 kB / 476.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00149/0.1536, allocations: 489.2 kB / 477.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.1537, allocations: 81.06 kB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.1543, allocations: 355 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.1543, allocations: 33.7 kB / 477.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1545, allocations: 148.4 kB / 478 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1546, allocations: 63.11 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.1546, allocations: 8 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1548, allocations: 350.7 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1549, allocations: 47.98 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1551, allocations: 95.33 kB / 478.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1553, allocations: 63.94 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1553, allocations: 0 / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004413/0.1557, allocations: 233.3 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1558, allocations: 8 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1558, allocations: 0 / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.1558, allocations: 0 / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.156, allocations: 47.92 kB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.156, allocations: 7.953 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1561, allocations: 11.98 kB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1561, allocations: 8 kB / 478.9 MB, free: 6.07 MB / 350.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.1563, allocations: 162.3 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.1564, allocations: 27.62 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1565, allocations: 33.73 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.1565, allocations: 7.984 kB / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1565, allocations: 0 / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1565, allocations: 7.891 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1576, allocations: 0.7155 MB / 479.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1576, allocations: 7.953 kB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.1577, allocations: 24 kB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.1577, allocations: 7.922 kB / 479.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1577, allocations: 8 kB / 479.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/0.1577, allocations: 4 kB / 479.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1578, allocations: 4.062 kB / 479.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.1583, allocations: 414.9 kB / 480.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.1584, allocations: 116.7 kB / 480.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1584, allocations: 8 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1585, allocations: 4 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.1586, allocations: 27.91 kB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1586, allocations: 8 kB / 480.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.1589, allocations: 261.9 kB / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 480.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.1593, allocations: 51.98 kB / 480.8 MB, free: 4.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.1605, allocations: 0.5133 MB / 481.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1609, allocations: 147.9 kB / 481.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1609, allocations: 7.938 kB / 481.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1611, allocations: 71.91 kB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.1616, allocations: 67.89 kB / 481.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.1624, allocations: 0.5115 MB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1628, allocations: 0.7599 MB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.163, allocations: 41.91 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.163, allocations: 35.42 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of SimCode: time 1.713e-06/0.163, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Templates: time 0.006585/0.1696, allocations: 2.823 MB / 485.8 MB, free: 15.26 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches