Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 107.6 kB / 17.04 MB, free: 5.809 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.001286/0.001287, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 69.08 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1605, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003876/0.1644, allocations: 1.782 MB / 443.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1659, allocations: 0.8741 MB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1661, allocations: 7.938 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.1667, allocations: 291.3 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.1671, allocations: 215.3 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1674, allocations: 147.4 kB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1677, allocations: 239.4 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.1678, allocations: 13.56 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.168, allocations: 119.6 kB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1682, allocations: 192 kB / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1682, allocations: 8 kB / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1683, allocations: 43.98 kB / 445.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1684, allocations: 124.6 kB / 446 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1686, allocations: 146.8 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1689, allocations: 362.7 kB / 446.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1689, allocations: 4 kB / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.169, allocations: 0 / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.169, allocations: 0 / 446.5 MB, free: 1.613 MB / 318.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.0009734/0.1699, allocations: 0.7151 MB / 447.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.17, allocations: 15.89 kB / 447.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.1701, allocations: 44.38 kB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1708, allocations: 455.7 kB / 447.7 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1708, allocations: 4.375 kB / 447.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1708, allocations: 8.125 kB / 447.7 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.1711, allocations: 83.36 kB / 447.8 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1711, allocations: 0 / 447.8 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1711, allocations: 0 / 447.8 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1711, allocations: 4 kB / 447.8 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1712, allocations: 31.92 kB / 447.9 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1717, allocations: 374.4 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.172, allocations: 97.23 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.1721, allocations: 53.56 kB / 448.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1721, allocations: 8 kB / 448.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.1724, allocations: 101.1 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1724, allocations: 0 / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004892/0.1729, allocations: 193 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.1729, allocations: 85.09 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.174, allocations: 1.01 MB / 449.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.174, allocations: 33.62 kB / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1742, allocations: 232.1 kB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.1743, allocations: 27.64 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1743, allocations: 25.72 kB / 450.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1745, allocations: 362.8 kB / 450.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.1746, allocations: 31.97 kB / 450.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1747, allocations: 59.42 kB / 450.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1749, allocations: 91.34 kB / 450.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1749, allocations: 3.938 kB / 450.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.1752, allocations: 165.6 kB / 450.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1753, allocations: 8 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1753, allocations: 0 / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1753, allocations: 0 / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1754, allocations: 27.92 kB / 450.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1754, allocations: 0 / 450.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.1755, allocations: 15.91 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1756, allocations: 7.984 kB / 450.8 MB, free: 13.01 MB / 334.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002642/0.1758, allocations: 229.7 kB / 451 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.1759, allocations: 47.34 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.176, allocations: 55.84 kB / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.176, allocations: 4 kB / 451.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.176, allocations: 0 / 451.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.176, allocations: 3.984 kB / 451.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1764, allocations: 337.3 kB / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1764, allocations: 4 kB / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.1764, allocations: 7.938 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1764, allocations: 0 / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1765, allocations: 11.98 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1765, allocations: 0 / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1765, allocations: 3.984 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1768, allocations: 197.3 kB / 451.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.177, allocations: 136.4 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.177, allocations: 8 kB / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.1771, allocations: 11.98 kB / 451.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.1772, allocations: 4 kB / 451.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1772, allocations: 11.98 kB / 451.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008087/0.178, allocations: 0.7449 MB / 452.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.178, allocations: 3.938 kB / 452.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1783, allocations: 40 kB / 452.7 MB, free: 11.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001161/0.1795, allocations: 420.5 kB / 453.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.1798, allocations: 87.83 kB / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1798, allocations: 0 / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1799, allocations: 35.98 kB / 453.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.1804, allocations: 80.16 kB / 453.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1819, allocations: 0.8435 MB / 454.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.1825, allocations: 0.8349 MB / 454.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1826, allocations: 59.45 kB / 455 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.1827, allocations: 27.44 kB / 455 MB, free: 8.719 MB / 334.1 MB Notification: Performance of SimCode: time 5e-07/0.1827, allocations: 0 / 455 MB, free: 8.719 MB / 334.1 MB Notification: Performance of Templates: time 0.008711/0.1914, allocations: 3.658 MB / 458.7 MB, free: 5.066 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches