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.0009429/0.0009429, allocations: 96.55 kB / 18.01 MB, free: 5.605 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.001149/0.00115, allocations: 179.4 kB / 18.91 MB, free: 4.738 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.451/1.451, allocations: 223.3 MB / 243 MB, free: 14.47 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.2006/0.2006, allocations: 44.25 MB / 338.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 15.03 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002774/0.1255, allocations: 1.912 MB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1278, allocations: 1.158 MB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.128, allocations: 4 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.1285, allocations: 135.5 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.129, allocations: 175.4 kB / 476.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1298, allocations: 292.7 kB / 476.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.1305, allocations: 398.8 kB / 477 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1306, allocations: 52.73 kB / 477 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.1311, allocations: 271 kB / 477.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1313, allocations: 151.2 kB / 477.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.1314, allocations: 8 kB / 477.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1316, allocations: 59.92 kB / 477.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1318, allocations: 139.4 kB / 477.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.132, allocations: 220.1 kB / 477.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.1324, allocations: 331.5 kB / 478.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1324, allocations: 4 kB / 478.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1324, allocations: 0 / 478.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.1324, allocations: 4 kB / 478.2 MB, free: 8.02 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001147/0.1336, allocations: 0.7818 MB / 479 MB, free: 7.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1336, allocations: 8.031 kB / 479 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1338, allocations: 68.09 kB / 479 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.1343, allocations: 432.2 kB / 479.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1344, allocations: 8.375 kB / 479.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.1344, allocations: 24.12 kB / 479.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.1348, allocations: 189.5 kB / 479.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1349, allocations: 11.84 kB / 479.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1349, allocations: 4 kB / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1349, allocations: 0 / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.1351, allocations: 95.92 kB / 479.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1362, allocations: 0.821 MB / 480.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.1368, allocations: 246.5 kB / 480.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.137, allocations: 95.45 kB / 481 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.137, allocations: 8 kB / 481 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003936/0.1374, allocations: 204.3 kB / 481.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.1374, allocations: 0 / 481.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002776/0.1402, allocations: 1.145 MB / 482.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.1403, allocations: 136.5 kB / 482.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1414, allocations: 0.9222 MB / 483.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.1415, allocations: 37.7 kB / 483.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.1418, allocations: 264.9 kB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.142, allocations: 138.1 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.1421, allocations: 41.69 kB / 483.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1423, allocations: 382.7 kB / 484.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1425, allocations: 116.8 kB / 484.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1428, allocations: 183.2 kB / 484.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.1434, allocations: 315 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1434, allocations: 4 kB / 484.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008591/0.1443, allocations: 444.8 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1443, allocations: 14.81 kB / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1444, allocations: 0 / 485.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1444, allocations: 4 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1447, allocations: 83.89 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1447, allocations: 4 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.1449, allocations: 23.94 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.145, allocations: 19.98 kB / 485.4 MB, free: 460 kB / 350.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.0002944/0.1453, allocations: 259.9 kB / 485.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1453, allocations: 75 kB / 485.7 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.1455, allocations: 93.42 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1455, allocations: 11.94 kB / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.1455, allocations: 0 / 485.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.1456, allocations: 3.938 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.1475, allocations: 1.318 MB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1476, allocations: 4 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1477, allocations: 67.84 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1478, allocations: 4 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.1478, allocations: 15.98 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1478, allocations: 4 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1478, allocations: 4 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1489, allocations: 0.7893 MB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.1491, allocations: 188.2 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.1492, allocations: 23.92 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.1495, allocations: 19.92 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1496, allocations: 43.89 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.1497, allocations: 20 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.1508, allocations: 0.6786 MB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1508, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005964/0.1514, allocations: 87.98 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.1527, allocations: 0.523 MB / 489.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.1534, allocations: 315.6 kB / 489.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1534, allocations: 0 / 489.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.1539, allocations: 163.7 kB / 490.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.1551, allocations: 111.6 kB / 490.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.157, allocations: 1.407 MB / 491.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.1576, allocations: 0.9097 MB / 492.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1577, allocations: 55.41 kB / 492.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1577, allocations: 0.75 kB / 492.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of Templates: time 0.01129/0.169, allocations: 6.502 MB / 499.1 MB, free: 2.762 MB / 366.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