Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 100.2 kB / 16.98 MB, free: 5.938 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.001455/0.001455, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.645/1.645, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2512/0.2512, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 16 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003506/0.1572, allocations: 1.543 MB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1594, allocations: 0.8933 MB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.1596, allocations: 3.938 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.1603, allocations: 211.5 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.161, allocations: 143.7 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1617, allocations: 151.3 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.162, allocations: 163.6 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1622, allocations: 25.67 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1624, allocations: 99.66 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1626, allocations: 107.6 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.1627, allocations: 4 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.1629, allocations: 47.92 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.163, allocations: 55.75 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.1631, allocations: 61.58 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1634, allocations: 164 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1634, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1634, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1634, allocations: 0 / 475.1 MB, free: 10.05 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.0009732/0.1644, allocations: 0.5214 MB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1644, allocations: 8.031 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.1645, allocations: 23.72 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.165, allocations: 267.1 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.165, allocations: 12 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.165, allocations: 7.906 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1653, allocations: 115.2 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1653, allocations: 0 / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1654, allocations: 7.984 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1654, allocations: 0 / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1655, allocations: 47.95 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.1663, allocations: 480.6 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1667, allocations: 125.2 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1668, allocations: 7.922 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.1671, allocations: 113.2 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1671, allocations: 0 / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001373/0.1685, allocations: 0.501 MB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1686, allocations: 85.05 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.169, allocations: 428.5 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1691, allocations: 29.7 kB / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1692, allocations: 156.5 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.1693, allocations: 59.11 kB / 478.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1693, allocations: 8 kB / 478.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1695, allocations: 346.8 kB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1696, allocations: 55.97 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1698, allocations: 91.34 kB / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1699, allocations: 68.14 kB / 478.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1699, allocations: 0 / 478.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004216/0.1704, allocations: 237 kB / 478.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1704, allocations: 4 kB / 478.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1704, allocations: 4.078 kB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1704, allocations: 0 / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1706, allocations: 51.91 kB / 478.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1706, allocations: 3.984 kB / 478.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1707, allocations: 15.89 kB / 478.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1707, allocations: 8 kB / 478.9 MB, free: 5.957 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.0002041/0.171, allocations: 170.4 kB / 479.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.171, allocations: 31.62 kB / 479.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.143e-05/0.1711, allocations: 42.56 kB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1711, allocations: 3.984 kB / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1711, allocations: 0 / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1711, allocations: 4 kB / 479.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1722, allocations: 0.7272 MB / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1722, allocations: 192 / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.1723, allocations: 35.88 kB / 479.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1723, allocations: 7.938 kB / 479.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1723, allocations: 8 kB / 480 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1723, allocations: 7.984 kB / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1723, allocations: 4.125 kB / 480 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.1729, allocations: 479.2 kB / 480.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.173, allocations: 108.8 kB / 480.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.173, allocations: 15.94 kB / 480.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1732, allocations: 4 kB / 480.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.1732, allocations: 19.98 kB / 480.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.1733, allocations: 15.92 kB / 480.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.1736, allocations: 319 kB / 480.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1736, allocations: 0 / 480.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.174, allocations: 51.91 kB / 481 MB, free: 3.777 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.001151/0.1752, allocations: 0.5112 MB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1755, allocations: 163.9 kB / 481.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1755, allocations: 0 / 481.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1757, allocations: 75.84 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.1762, allocations: 53.05 kB / 481.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1773, allocations: 0.5898 MB / 482.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.1778, allocations: 0.7794 MB / 483.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1779, allocations: 37.92 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.178, allocations: 31.42 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.178, allocations: 0 / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Templates: time 0.007372/0.1854, allocations: 2.848 MB / 486 MB, free: 14.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches