Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 103.3 kB / 15.98 MB, free: 5.902 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.001607/0.001607, allocations: 190.8 kB / 16.9 MB, free: 5.746 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.686/1.686, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.3107/0.3107, allocations: 43.52 MB / 313.6 MB, free: 0.6875 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.001674/0.001674, allocations: 68.22 kB / 382.2 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 57.8 MB / 440 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003316/0.165, allocations: 1.654 MB / 441.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005599/0.1656, allocations: 331.5 kB / 442 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.1657, allocations: 4 kB / 442 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.1663, allocations: 443.2 kB / 442.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1666, allocations: 255.5 kB / 442.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1669, allocations: 103.5 kB / 442.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1671, allocations: 155.7 kB / 442.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1672, allocations: 28.38 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1673, allocations: 107.8 kB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1675, allocations: 223.5 kB / 443.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1676, allocations: 4 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.1677, allocations: 31.98 kB / 443.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1678, allocations: 87.62 kB / 443.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.1678, allocations: 103 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1681, allocations: 251 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1681, allocations: 4 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1681, allocations: 0 / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1681, allocations: 0 / 443.8 MB, free: 3.566 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.0006613/0.1688, allocations: 0.6258 MB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1688, allocations: 15.89 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1689, allocations: 40.38 kB / 444.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1692, allocations: 292.2 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1692, allocations: 4.375 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1692, allocations: 12.31 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1694, allocations: 61.61 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1694, allocations: 0 / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1694, allocations: 0 / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1694, allocations: 4 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1695, allocations: 31.97 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1699, allocations: 388.6 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1701, allocations: 46.5 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.1701, allocations: 24.94 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.1702, allocations: 0 / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.1702, allocations: 30.56 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1702, allocations: 4 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007419/0.171, allocations: 287.9 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.171, allocations: 55.41 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.1716, allocations: 0.8495 MB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1716, allocations: 33.7 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1717, allocations: 212.1 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1718, allocations: 27.56 kB / 446.8 MB, free: 356 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1718, allocations: 21.66 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.172, allocations: 362.7 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1721, allocations: 31.97 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1722, allocations: 35.97 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1724, allocations: 72.75 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1724, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.1727, allocations: 145.2 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1728, allocations: 4 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1728, allocations: 4.281 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1728, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1729, allocations: 19.98 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1729, allocations: 0 / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.173, allocations: 15.92 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.173, allocations: 0 / 447.5 MB, free: 15.62 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 (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 0.000206/0.1732, allocations: 221.6 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.1733, allocations: 51.41 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.1737, allocations: 165.7 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1737, allocations: 4 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1737, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1737, allocations: 3.938 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1745, allocations: 494.4 kB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1745, allocations: 4 kB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.1746, allocations: 15.98 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1746, allocations: 0 / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1746, allocations: 11.92 kB / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1746, allocations: 0 / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1746, allocations: 4 kB / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.1749, allocations: 242.9 kB / 448.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.175, allocations: 104.6 kB / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1751, allocations: 11.94 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.1752, allocations: 7.984 kB / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1752, allocations: 7.984 kB / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1752, allocations: 0 / 448.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005895/0.1758, allocations: 0.6511 MB / 449.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.1759, allocations: 0 / 449.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1761, allocations: 31.94 kB / 449.5 MB, free: 13.5 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 (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.001039/0.1772, allocations: 393.2 kB / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1775, allocations: 83.88 kB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1775, allocations: 4 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1776, allocations: 43.97 kB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.1782, allocations: 25.89 kB / 450 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1796, allocations: 0.8697 MB / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.1804, allocations: 0.8357 MB / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1804, allocations: 12.3 kB / 451.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1805, allocations: 19.42 kB / 451.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1805, allocations: 0 / 451.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Templates: time 0.005913/0.1864, allocations: 1.48 MB / 453.2 MB, free: 9.773 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches