Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.0009043/0.0009043, allocations: 191 kB / 19.34 MB, free: 3.766 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.408/1.408, allocations: 222.9 MB / 243 MB, free: 15.07 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.2304/0.2304, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 61.09 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004107/0.1514, allocations: 1.614 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1537, allocations: 1.058 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.1538, allocations: 4 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.1542, allocations: 23.8 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1546, allocations: 47.77 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.1551, allocations: 166.9 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1554, allocations: 71.77 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1556, allocations: 19.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-05/0.1557, allocations: 27.86 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1559, allocations: 27.91 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1559, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1561, allocations: 63.84 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.1562, allocations: 11.98 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.1562, allocations: 27.8 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1565, allocations: 99.75 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1565, allocations: 4 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1565, allocations: 0 / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1565, allocations: 0 / 474 MB, free: 10.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006669/0.1572, allocations: 387.2 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1572, allocations: 12.03 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1573, allocations: 8.781 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1575, allocations: 192.2 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1576, allocations: 384 / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1576, allocations: 384 / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1578, allocations: 79.52 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1579, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1579, allocations: 8 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1579, allocations: 0 / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.158, allocations: 35.95 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.1585, allocations: 320.6 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1587, allocations: 46.56 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.1588, allocations: 24.94 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1588, allocations: 0 / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1588, allocations: 34.56 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1588, allocations: 4 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007535/0.1596, allocations: 217.1 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1597, allocations: 85.05 kB / 475.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1598, allocations: 133.8 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1598, allocations: 37.7 kB / 475.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1599, allocations: 88.12 kB / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.16, allocations: 23.66 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.16, allocations: 25.7 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1602, allocations: 318.8 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1603, allocations: 47.89 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1604, allocations: 57.75 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1606, allocations: 84.86 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1606, allocations: 0 / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002583/0.1609, allocations: 129.5 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1609, allocations: 8.031 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1609, allocations: 0 / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.161, allocations: 0 / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1611, allocations: 19.98 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1611, allocations: 0 / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1612, allocations: 11.92 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1612, allocations: 4 kB / 476.4 MB, free: 7.734 MB / 350.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 (7): * Single equations (assignments): 7 * 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 9.346e-05/0.1613, allocations: 121.8 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1613, allocations: 7.906 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1616, allocations: 137.9 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1616, allocations: 0 / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1617, allocations: 0 / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1617, allocations: 7.938 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1622, allocations: 406.5 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1622, allocations: 0 / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.1623, allocations: 24.2 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1623, allocations: 0 / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1623, allocations: 7.938 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1623, allocations: 0 / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1623, allocations: 0 / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1626, allocations: 231.7 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1627, allocations: 85.02 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1627, allocations: 3.938 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.1628, allocations: 7.984 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1629, allocations: 7.984 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.1629, allocations: 8 kB / 477.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.163, allocations: 109.1 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 0 / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1633, allocations: 20 kB / 477.5 MB, free: 6.469 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001268/0.1645, allocations: 455.2 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1649, allocations: 95.91 kB / 478.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1649, allocations: 0 / 478.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1651, allocations: 47.91 kB / 478.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1655, allocations: 15.98 kB / 478.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.1661, allocations: 206.3 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.1666, allocations: 0.6963 MB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1667, allocations: 28.23 kB / 479.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.1667, allocations: 19.42 kB / 479.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1668, allocations: 4 kB / 479.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of Templates: time 0.005337/0.1721, allocations: 1.524 MB / 480.6 MB, free: 3.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches