Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001377, allocations: 105.6 kB / 17.03 MB, free: 6.098 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.001311/0.001311, allocations: 196.1 kB / 17.96 MB, free: 5.195 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.571/1.571, 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.2238/0.2238, allocations: 43.53 MB / 314.7 MB, free: 476 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.001642/0.001642, allocations: 70.58 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.004452/0.1561, allocations: 1.604 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.1569, allocations: 343.5 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.157, allocations: 4 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007106/0.1578, allocations: 455.1 kB / 444.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.1582, allocations: 251.4 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.1587, allocations: 151.2 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.159, allocations: 167.6 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1592, allocations: 24.11 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1593, allocations: 107.8 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1595, allocations: 203.6 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1596, allocations: 4 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1597, allocations: 35.92 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1598, allocations: 91.67 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1599, allocations: 103 kB / 445.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.1603, allocations: 255 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1603, allocations: 0 / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1603, allocations: 0 / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1603, allocations: 4 kB / 445.7 MB, free: 2.367 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.0007804/0.1611, allocations: 0.6219 MB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1612, allocations: 19.83 kB / 446.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.1613, allocations: 40.38 kB / 446.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1616, allocations: 292.2 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1616, allocations: 8.375 kB / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1616, allocations: 4.375 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1618, allocations: 57.61 kB / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1618, allocations: 0 / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1619, allocations: 0 / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1619, allocations: 4 kB / 446.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.162, allocations: 31.91 kB / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.1626, allocations: 392.6 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1629, allocations: 46.56 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.599e-05/0.163, allocations: 20.88 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.163, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.163, allocations: 38.5 kB / 447.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.1631, allocations: 4 kB / 447.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008499/0.1639, allocations: 235.9 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.164, allocations: 51.41 kB / 447.6 MB, free: 348 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.1653, allocations: 0.8613 MB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1653, allocations: 25.7 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.1656, allocations: 220.1 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1657, allocations: 19.66 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.1657, allocations: 25.7 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.166, allocations: 358.8 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1661, allocations: 19.98 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.1662, allocations: 23.98 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1664, allocations: 52.81 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1664, allocations: 0 / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003141/0.1667, allocations: 125.1 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1668, allocations: 4 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1668, allocations: 256 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.1668, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.1669, allocations: 19.98 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1669, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.167, allocations: 11.92 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.167, allocations: 4 kB / 449.3 MB, free: 14.54 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.0002877/0.1673, allocations: 213.7 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.1675, allocations: 43.44 kB / 449.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.1679, allocations: 141 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1679, allocations: 288 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1679, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1679, allocations: 7.922 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008217/0.1688, allocations: 474.5 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1688, allocations: 4 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.1689, allocations: 11.98 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1689, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1689, allocations: 3.938 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1689, allocations: 3.938 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1689, allocations: 7.938 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.1693, allocations: 219 kB / 450.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1695, allocations: 104.6 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.1695, allocations: 7.938 kB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1697, allocations: 192 / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1697, allocations: 7.984 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1698, allocations: 4 kB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000962/0.1707, allocations: 0.6472 MB / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1707, allocations: 0 / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.1712, allocations: 32 kB / 451.2 MB, free: 12.53 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.001414/0.1726, allocations: 393.6 kB / 451.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1729, allocations: 59.89 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1729, allocations: 0 / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1731, allocations: 23.98 kB / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.1737, allocations: 37.89 kB / 451.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1753, 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.0006898/0.176, allocations: 0.828 MB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.1761, allocations: 28.09 kB / 453.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1762, allocations: 11.44 kB / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1762, allocations: 0 / 453.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Templates: time 0.007393/0.1836, allocations: 1.47 MB / 454.8 MB, free: 8.945 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches