Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 254.8 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.93 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 0.4921 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.164, allocations: 66 MB / 0.5565 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004168/0.1681, allocations: 1.687 MB / 0.5582 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1694, allocations: 0.5767 MB / 0.5588 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.1695, allocations: 3.938 kB / 0.5588 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1698, allocations: 51.81 kB / 0.5588 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1702, allocations: 91.59 kB / 0.5589 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.1707, allocations: 179.1 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1709, allocations: 87.8 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.171, allocations: 20.17 kB / 0.5592 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.1711, allocations: 39.89 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1712, allocations: 55.7 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1712, allocations: 4 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1713, allocations: 51.97 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.1714, allocations: 19.92 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1715, allocations: 31.75 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1717, allocations: 111.6 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1717, allocations: 0 / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1717, allocations: 0 / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1717, allocations: 0 / 0.5595 GB, free: 2.234 MB / 414.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.0006529/0.1724, allocations: 426.7 kB / 0.5599 GB, free: 1.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1724, allocations: 8.031 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1724, allocations: 8.891 kB / 0.5599 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1727, allocations: 200.2 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1727, allocations: 384 / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1727, allocations: 4.375 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1729, allocations: 77.72 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.173, allocations: 0 / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.173, allocations: 4 kB / 0.5602 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.173, allocations: 3.938 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1731, allocations: 47.95 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.1737, allocations: 320.6 kB / 0.5605 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.174, allocations: 62.55 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.174, allocations: 28.97 kB / 0.5606 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1741, allocations: 3.984 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1741, allocations: 34.56 kB / 0.5606 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1741, allocations: 0 / 0.5606 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001682/0.1758, allocations: 441.3 kB / 0.5611 GB, free: 440 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.1759, allocations: 59.34 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1761, allocations: 173.5 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1761, allocations: 25.7 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.1762, allocations: 108 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.1763, allocations: 39.69 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1763, allocations: 25.8 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1765, allocations: 322.8 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1767, allocations: 55.95 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1768, allocations: 55.95 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.1771, allocations: 124.7 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1771, allocations: 4 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003615/0.1775, allocations: 165.5 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1775, allocations: 4 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1775, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1775, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1776, allocations: 27.92 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1776, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.1777, allocations: 19.98 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1777, allocations: 7.938 kB / 0.5622 GB, free: 15.18 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.1779, allocations: 128 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1779, allocations: 11.91 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.1784, allocations: 186.2 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1784, allocations: 11.94 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1784, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1784, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.1792, allocations: 0.4959 MB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1792, allocations: 96 / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1793, allocations: 35.97 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1793, allocations: 4.188 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1793, allocations: 8 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1793, allocations: 0 / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1793, allocations: 4 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.1797, allocations: 281 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1798, allocations: 85.02 kB / 0.5634 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1798, allocations: 4 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1799, allocations: 11.98 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.18, allocations: 11.98 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.18, allocations: 0 / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1801, allocations: 138.1 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1801, allocations: 4 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1804, allocations: 31.92 kB / 0.5636 GB, free: 13.63 MB / 430.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 (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.001764/0.1821, allocations: 462.2 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.1825, allocations: 119.9 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1825, allocations: 0 / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1827, allocations: 67.89 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1831, allocations: 24.48 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.1838, allocations: 326 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1842, allocations: 0.7157 MB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1842, allocations: 19.44 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1842, allocations: 0 / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of Templates: time 0.004504/0.1888, allocations: 2.056 MB / 0.5673 GB, free: 9.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8470529910118785]