Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 103.2 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 180.6 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.421/0.421, allocations: 43.58 MB / 315 MB, free: 9.059 MB / 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.0005175/0.0005175, allocations: 12 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1517, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002349/0.1541, allocations: 1.337 MB / 444.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.1549, allocations: 335.6 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.155, allocations: 0 / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1554, allocations: 55.84 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1556, allocations: 47.89 kB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.1561, allocations: 151.7 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.1563, allocations: 71.77 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1565, allocations: 20.27 kB / 445.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.1565, allocations: 27.89 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1567, allocations: 39.84 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1567, allocations: 4 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1568, allocations: 27.97 kB / 445.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1569, allocations: 19.92 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1569, allocations: 61.39 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1571, allocations: 87.69 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1571, allocations: 0 / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1572, allocations: 0 / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.1572, allocations: 0 / 445.7 MB, free: 10.62 MB / 382.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.0005384/0.1577, allocations: 395.2 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.1578, allocations: 8.031 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.1578, allocations: 8.844 kB / 446.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1581, allocations: 196.7 kB / 446.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1581, allocations: 384 / 446.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1582, allocations: 7.938 kB / 446.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1584, allocations: 69.61 kB / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1584, allocations: 0 / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1584, allocations: 0 / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1584, allocations: 4 kB / 446.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1586, allocations: 47.95 kB / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.1591, allocations: 316.7 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1593, allocations: 50.5 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.1594, allocations: 32.94 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1594, allocations: 0 / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1594, allocations: 34.56 kB / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1594, allocations: 0 / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001123/0.1606, allocations: 269.2 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1606, allocations: 59.28 kB / 447.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1609, allocations: 182.5 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1609, allocations: 29.7 kB / 447.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.161, allocations: 100.1 kB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.161, allocations: 23.66 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.1611, allocations: 13.72 kB / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1613, allocations: 322.8 kB / 447.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1614, allocations: 43.97 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1615, allocations: 52.02 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1618, allocations: 108.7 kB / 448 MB, free: 8.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1618, allocations: 4 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000302/0.1621, allocations: 133.8 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1622, allocations: 4 kB / 448.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1622, allocations: 80 / 448.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1622, allocations: 7.938 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1623, allocations: 27.97 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1623, allocations: 7.922 kB / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.1624, allocations: 20 kB / 448.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1624, allocations: 0 / 448.2 MB, free: 7.867 MB / 382.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 8.935e-05/0.1625, allocations: 133.8 kB / 448.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1626, allocations: 11.81 kB / 448.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.1629, allocations: 154.3 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1629, allocations: 0 / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1629, allocations: 3.938 kB / 448.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1629, allocations: 0 / 448.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.1635, allocations: 430.4 kB / 448.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1636, allocations: 0 / 448.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.1637, allocations: 27.97 kB / 449 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1637, allocations: 7.938 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1637, allocations: 0 / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1637, allocations: 0 / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1637, allocations: 0 / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.1641, allocations: 243.3 kB / 449.2 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.1642, allocations: 88.95 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1642, allocations: 0 / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.1643, allocations: 19.98 kB / 449.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.1643, allocations: 7.984 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1644, allocations: 4 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1645, allocations: 136.1 kB / 449.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1645, allocations: 0 / 449.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1647, allocations: 16 kB / 449.5 MB, free: 6.508 MB / 382.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.001017/0.1658, allocations: 409.2 kB / 449.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1661, allocations: 107.9 kB / 450 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1661, allocations: 0 / 450 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1663, allocations: 59.91 kB / 450.1 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1667, allocations: 15.98 kB / 450.1 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.1673, allocations: 269.5 kB / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.1678, allocations: 0.7121 MB / 451 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.1679, allocations: 20.28 kB / 451.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.168, allocations: 11.44 kB / 451.1 MB, free: 4.898 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.168, allocations: 0 / 451.1 MB, free: 4.898 MB / 382.1 MB Notification: Performance of Templates: time 0.004183/0.1722, allocations: 1.187 MB / 452.3 MB, free: 3.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches