Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.5 kB / 17.03 MB, free: 5.664 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.001245/0.001245, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.534/1.534, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.226/0.226, allocations: 43.52 MB / 314.7 MB, free: 468 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.001482/0.001482, allocations: 71.41 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003601/0.1592, allocations: 1.593 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000663/0.1599, allocations: 351.5 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.16, allocations: 4 kB / 443.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.1606, allocations: 455.1 kB / 444.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1609, allocations: 251.4 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1613, allocations: 154.4 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1616, allocations: 163.7 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1617, allocations: 32.03 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1618, allocations: 103.8 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1621, allocations: 203.6 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1622, allocations: 7.938 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.1623, allocations: 39.97 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1624, allocations: 79.69 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.1625, allocations: 103 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1628, allocations: 259 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1628, allocations: 0 / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1628, allocations: 0 / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1628, allocations: 0 / 445.7 MB, free: 2.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006662/0.1635, allocations: 0.6258 MB / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1635, allocations: 15.89 kB / 446.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.1636, allocations: 40.38 kB / 446.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1639, allocations: 296.2 kB / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1639, allocations: 4.375 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.164, allocations: 8.375 kB / 446.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1641, allocations: 57.61 kB / 446.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1642, allocations: 0 / 446.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1642, allocations: 0 / 446.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1642, allocations: 4 kB / 446.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.1643, allocations: 31.91 kB / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1648, allocations: 384.7 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.165, allocations: 54.55 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.165, allocations: 16.86 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1651, allocations: 0 / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1651, allocations: 42.38 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1651, allocations: 0 / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005666/0.1657, allocations: 240 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1657, allocations: 51.41 kB / 447.6 MB, free: 340 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.1665, allocations: 0.8614 MB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1665, allocations: 25.7 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1667, allocations: 220.1 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1667, allocations: 27.55 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1667, allocations: 17.72 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1669, allocations: 362.8 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.167, allocations: 23.98 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.167, allocations: 23.97 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1672, allocations: 49.02 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1672, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.1674, allocations: 125.1 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1674, allocations: 5.25 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1674, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1675, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1675, allocations: 15.98 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1675, allocations: 0 / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.1676, allocations: 15.92 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1676, allocations: 0 / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002003/0.1678, allocations: 209.7 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.1679, allocations: 47.44 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.1682, allocations: 145 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1682, allocations: 288 / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1682, allocations: 0 / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1682, allocations: 7.922 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.1688, allocations: 458.5 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.1688, allocations: 11.98 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.1689, allocations: 11.98 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1689, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1689, allocations: 3.938 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1689, allocations: 3.938 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1689, allocations: 4 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1692, allocations: 227.1 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1693, allocations: 104.6 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1693, allocations: 7.938 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1694, allocations: 0 / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1694, allocations: 7.984 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1695, allocations: 4 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006286/0.1701, allocations: 0.6472 MB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1701, allocations: 3.938 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1704, allocations: 27.98 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00106/0.1714, allocations: 387.9 kB / 451.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1717, allocations: 63.89 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1717, allocations: 0 / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.1718, allocations: 23.98 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1723, allocations: 25.95 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1735, allocations: 0.7796 MB / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.174, allocations: 0.8357 MB / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1741, allocations: 11.98 kB / 453.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1741, allocations: 15.38 kB / 453.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1742, allocations: 3.938 kB / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Templates: time 0.005492/0.1797, allocations: 1.478 MB / 454.8 MB, free: 8.941 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches