Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 99.8 kB / 17 MB, free: 6.844 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.001412/0.001412, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.482/1.482, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.24 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005362/0.0005366, allocations: 9.656 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1577, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00223/0.16, allocations: 1.333 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.1608, allocations: 411.5 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.1609, allocations: 0 / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1612, allocations: 55.86 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1614, allocations: 47.81 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.1618, allocations: 154.9 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.162, allocations: 75.8 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.1621, allocations: 16 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.1621, allocations: 27.84 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.1622, allocations: 43.83 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1623, allocations: 3.938 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1624, allocations: 35.98 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.1624, allocations: 23.92 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.1625, allocations: 33.64 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1626, allocations: 80.16 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1626, allocations: 0 / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1626, allocations: 3.938 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1627, allocations: 4 kB / 473.9 MB, free: 11.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005128/0.1632, allocations: 399 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1632, allocations: 8.562 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1633, allocations: 11.91 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1635, allocations: 190.9 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1635, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1635, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1637, allocations: 77.55 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1637, allocations: 4 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1637, allocations: 4 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1638, allocations: 7.938 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1639, allocations: 51.95 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1644, allocations: 332.6 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1646, allocations: 62.55 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.1647, allocations: 32.97 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1647, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1648, allocations: 34.66 kB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1648, allocations: 3.938 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001366/0.1661, allocations: 0.489 MB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1662, allocations: 51.41 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1664, allocations: 193.8 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1664, allocations: 29.7 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.1665, allocations: 112.1 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1665, allocations: 31.47 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1665, allocations: 0 / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1666, allocations: 322.8 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1668, allocations: 63.95 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1669, allocations: 71.94 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.167, allocations: 59.97 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1671, allocations: 4 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003307/0.1674, allocations: 181.5 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1674, allocations: 4 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1674, allocations: 0 / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1674, allocations: 4 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1676, allocations: 31.98 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1676, allocations: 3.938 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.1676, allocations: 15.98 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1677, allocations: 7.953 kB / 476.8 MB, free: 8.277 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 (11): * Single equations (assignments): 11 * 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.0001208/0.1678, allocations: 133.8 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.1678, allocations: 15.81 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1682, allocations: 202.8 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1683, allocations: 0 / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1683, allocations: 4 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1683, allocations: 3.984 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.169, allocations: 0.5077 MB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.169, allocations: 4 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.1691, allocations: 31.97 kB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1691, allocations: 8.062 kB / 477.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1691, allocations: 4 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1691, allocations: 7.953 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1691, allocations: 3.938 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.1695, allocations: 281 kB / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1695, allocations: 85.02 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1696, allocations: 4 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.1697, allocations: 19.98 kB / 478.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1697, allocations: 11.94 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.1697, allocations: 4 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1699, allocations: 147.2 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1701, allocations: 24 kB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001127/0.1713, allocations: 464.1 kB / 478.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.1716, allocations: 147.8 kB / 478.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1717, allocations: 0 / 478.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.1718, allocations: 76.02 kB / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1722, allocations: 19.91 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.1728, allocations: 318.9 kB / 479.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1732, allocations: 0.716 MB / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1734, allocations: 36.38 kB / 480 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1734, allocations: 15.44 kB / 480 MB, free: 5.023 MB / 350.1 MB Notification: Performance of SimCode: time 1.833e-06/0.1734, allocations: 3.938 kB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of Templates: time 0.004655/0.1781, allocations: 1.466 MB / 481.5 MB, free: 3.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches