Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 97.17 kB / 16.99 MB, free: 5.941 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.001387/0.001387, allocations: 180.8 kB / 17.87 MB, free: 5.609 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.458/1.458, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2079/0.2079, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005339/0.000534, allocations: 17.02 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1596, allocations: 61.91 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00244/0.1621, allocations: 1.672 MB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1639, allocations: 0.9871 MB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.164, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1643, allocations: 47.7 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1646, allocations: 139.6 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1659, allocations: 0.5409 MB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.1663, allocations: 211.4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1665, allocations: 60.72 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1667, allocations: 111.6 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.167, allocations: 159.4 kB / 475.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.167, allocations: 4 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1672, allocations: 35.98 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1673, allocations: 131.6 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.1674, allocations: 81.45 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1677, allocations: 303.3 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1677, allocations: 4 kB / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1678, allocations: 0 / 475.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1678, allocations: 0 / 475.9 MB, free: 9.246 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001155/0.1689, allocations: 0.7309 MB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.169, allocations: 15.97 kB / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1691, allocations: 55.34 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.1698, allocations: 443 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1698, allocations: 8 kB / 477.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1699, allocations: 8 kB / 477.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1702, allocations: 171.2 kB / 477.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1703, allocations: 4 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1703, allocations: 7.984 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1703, allocations: 4 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1707, allocations: 135.9 kB / 477.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1719, allocations: 0.7268 MB / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1722, allocations: 137.2 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.1722, allocations: 15.97 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1723, allocations: 34.69 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.1723, allocations: 0 / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002148/0.1744, allocations: 0.8061 MB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1745, allocations: 81.33 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1755, allocations: 0.8945 MB / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.1755, allocations: 29.64 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1757, allocations: 260.4 kB / 480.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.1758, allocations: 70.98 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.1758, allocations: 4 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.176, allocations: 370.8 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.1763, allocations: 123.9 kB / 481 MB, free: 3.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.1766, allocations: 149.6 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1769, allocations: 135.9 kB / 481.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1769, allocations: 3.953 kB / 481.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00074/0.1777, allocations: 364.8 kB / 481.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1777, allocations: 12.31 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1777, allocations: 0 / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1777, allocations: 3.984 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.178, allocations: 60.7 kB / 481.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1781, allocations: 7.938 kB / 481.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1783, allocations: 35.83 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1783, allocations: 7.984 kB / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002179/0.1785, allocations: 224.3 kB / 482 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1787, allocations: 55.3 kB / 482 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.1796, allocations: 434 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1796, allocations: 4 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1796, allocations: 0 / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1796, allocations: 0 / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1811, allocations: 0.9815 MB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1811, allocations: 4 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.1814, allocations: 67.88 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1814, allocations: 4 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1814, allocations: 0 / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1815, allocations: 4 kB / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1815, allocations: 0 / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.1823, allocations: 0.5508 MB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.1825, allocations: 156.3 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.1826, allocations: 11.88 kB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1829, allocations: 35.97 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.183, allocations: 23.91 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.183, allocations: 4 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008153/0.1838, allocations: 0.6474 MB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1838, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1842, allocations: 63.98 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009129/0.1852, allocations: 401.7 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.1859, allocations: 299.6 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1859, allocations: 0 / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.1863, allocations: 163.8 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.1869, allocations: 62.97 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1885, allocations: 1.046 MB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.189, allocations: 0.885 MB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002575/0.1893, allocations: 111.2 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1894, allocations: 47.41 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1894, allocations: 0 / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.008783/0.1982, allocations: 4.125 MB / 492.1 MB, free: 8.766 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches