Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.23 kB / 15.7 MB, free: 468 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.001651/0.001651, allocations: 170.2 kB / 16.58 MB, free: 5.656 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.947/1.947, allocations: 205.4 MB / 222.7 MB, free: 5.617 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.4597/0.4597, allocations: 43.57 MB / 314.6 MB, free: 9 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.000652/0.0006522, allocations: 16 kB / 384 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1713, allocations: 58.86 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002312/0.1737, allocations: 1.314 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005925/0.1743, allocations: 295.8 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1744, allocations: 0 / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1746, allocations: 71.83 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1748, allocations: 51.81 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1751, allocations: 103.8 kB / 444.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1753, allocations: 55.84 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1754, allocations: 20.16 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.1754, allocations: 27.84 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1756, allocations: 47.83 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1756, allocations: 4 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.1757, allocations: 31.92 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.1757, allocations: 19.92 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1758, allocations: 33.7 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1759, allocations: 64.17 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1759, allocations: 0 / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.087e-05/0.176, allocations: 0 / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.176, allocations: 3.938 kB / 444.9 MB, free: 11.11 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.0005968/0.1766, allocations: 406.9 kB / 445.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1766, allocations: 16.02 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1767, allocations: 11.86 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1769, allocations: 186.9 kB / 445.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1769, allocations: 4 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.177, allocations: 0 / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1771, allocations: 65.67 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1772, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1772, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1772, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1773, allocations: 47.86 kB / 445.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.1778, allocations: 304.7 kB / 446 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1779, allocations: 42.56 kB / 446 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.178, allocations: 28.88 kB / 446 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.178, allocations: 11.94 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1781, allocations: 34.5 kB / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1781, allocations: 0 / 446.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007966/0.1789, allocations: 249.4 kB / 446.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1789, allocations: 51.41 kB / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1792, allocations: 194.2 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1792, allocations: 33.7 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1793, allocations: 100.1 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1793, allocations: 27.64 kB / 446.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1793, allocations: 0 / 446.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1795, allocations: 322.8 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1796, allocations: 35.98 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.1797, allocations: 44.05 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1798, allocations: 52.17 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1798, allocations: 0 / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002596/0.1801, allocations: 133.4 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1801, allocations: 7.953 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1801, allocations: 4 kB / 447.3 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1801, allocations: 0 / 447.3 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1802, allocations: 23.97 kB / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1802, allocations: 0 / 447.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1803, allocations: 19.98 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1803, allocations: 0 / 447.3 MB, free: 8.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1804, allocations: 130.7 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1805, allocations: 7.906 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1808, allocations: 150.2 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1808, allocations: 0 / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1808, allocations: 0 / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1808, allocations: 0 / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1813, allocations: 406.5 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1813, allocations: 3.953 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1814, allocations: 31.92 kB / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1814, allocations: 4 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1814, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1815, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/0.1815, allocations: 3.984 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1818, allocations: 235.2 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1818, allocations: 88.97 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1818, allocations: 0 / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.1819, allocations: 19.98 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.182, allocations: 11.98 kB / 448.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.182, allocations: 3.938 kB / 448.4 MB, free: 7.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1821, allocations: 159.1 kB / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 0 / 448.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1824, allocations: 16 kB / 448.6 MB, free: 7.133 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 (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.0009438/0.1833, allocations: 406.2 kB / 449 MB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1836, allocations: 91.94 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1836, allocations: 0 / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1838, allocations: 55.91 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1841, allocations: 20.16 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.1846, allocations: 261.5 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1849, allocations: 0.7121 MB / 450.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.185, allocations: 15.98 kB / 450.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.185, allocations: 11.44 kB / 450.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1851, allocations: 0 / 450.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of Templates: time 0.00397/0.189, allocations: 1.135 MB / 451.3 MB, free: 4.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches