Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.00162/0.00162, allocations: 123 kB / 17.79 MB, free: 5.246 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.002277/0.002277, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.715/1.715, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2667/0.2667, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 63.91 kB / 0.4914 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1609, allocations: 65.99 MB / 0.5559 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003987/0.1649, allocations: 1.689 MB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1662, allocations: 0.5922 MB / 0.5581 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1663, allocations: 4 kB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.167, allocations: 459.1 kB / 0.5585 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.1677, allocations: 287.3 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.1683, allocations: 187 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1687, allocations: 179.7 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1688, allocations: 24.17 kB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1691, allocations: 111.8 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.1695, allocations: 263.4 kB / 0.5596 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1695, allocations: 4 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1697, allocations: 51.97 kB / 0.5596 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1698, allocations: 87.67 kB / 0.5597 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1699, allocations: 106.9 kB / 0.5598 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.1705, allocations: 282.5 kB / 0.5601 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1705, allocations: 3.938 kB / 0.5601 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1705, allocations: 0 / 0.5601 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.1705, allocations: 0 / 0.5601 GB, free: 0.9883 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.001195/0.1717, allocations: 0.6762 MB / 0.5607 GB, free: 268 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1717, allocations: 8.031 kB / 0.5607 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1719, allocations: 44.66 kB / 0.5608 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.1724, allocations: 308.6 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1724, allocations: 384 / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.1724, allocations: 8.375 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1727, allocations: 69.73 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1727, allocations: 0 / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1727, allocations: 4 kB / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1727, allocations: 0 / 0.5611 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1729, allocations: 47.95 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.1737, allocations: 412.6 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.174, allocations: 62.55 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.1741, allocations: 32.94 kB / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1742, allocations: 0 / 0.5617 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1742, allocations: 38.5 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1742, allocations: 0 / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001917/0.1761, allocations: 0.5007 MB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1762, allocations: 63.27 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1772, allocations: 0.8614 MB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1772, allocations: 25.7 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1774, allocations: 216.1 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.1775, allocations: 35.69 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1776, allocations: 25.72 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1778, allocations: 370.8 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.178, allocations: 51.95 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1782, allocations: 48.08 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.1785, allocations: 128.9 kB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1785, allocations: 4 kB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004873/0.179, allocations: 205.2 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1791, allocations: 8 kB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1791, allocations: 0 / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1791, allocations: 0 / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1792, allocations: 31.91 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1792, allocations: 3.984 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.1793, allocations: 15.98 kB / 0.5642 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1794, allocations: 4 kB / 0.5642 GB, free: 12.49 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.0002598/0.1796, allocations: 219.9 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.1797, allocations: 43.72 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.1803, allocations: 233.2 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1803, allocations: 7.938 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1803, allocations: 0 / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1803, allocations: 7.984 kB / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1813, allocations: 0.5936 MB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1813, allocations: 0 / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1814, allocations: 32.03 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1814, allocations: 4.188 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1815, allocations: 8 kB / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1815, allocations: 0 / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.1815, allocations: 7.938 kB / 0.5653 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.182, allocations: 312.9 kB / 0.5656 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1821, allocations: 116.8 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1821, allocations: 0 / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1822, allocations: 15.98 kB / 0.5658 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.1823, allocations: 7.984 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1823, allocations: 4 kB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007831/0.1831, allocations: 0.655 MB / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1831, allocations: 0 / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.1834, allocations: 39.92 kB / 0.5665 GB, free: 10.08 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.001865/0.1853, allocations: 456.7 kB / 0.5669 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.1857, allocations: 127.8 kB / 0.567 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1857, allocations: 0 / 0.567 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1859, allocations: 63.89 kB / 0.5671 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1863, allocations: 26.25 kB / 0.5671 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.188, allocations: 0.8941 MB / 0.568 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.1886, allocations: 0.8338 MB / 0.5688 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1887, allocations: 32.52 kB / 0.5688 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.1887, allocations: 19.42 kB / 0.5688 GB, free: 7.766 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1887, allocations: 3.938 kB / 0.5688 GB, free: 7.762 MB / 430.1 MB Notification: Performance of Templates: time 0.006427/0.1952, allocations: 1.966 MB / 0.5708 GB, free: 5.801 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: 5.514273546636105]