Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.002313/0.002313, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002787/0.002787, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.638/1.638, 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.2617/0.2617, 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 64.14 kB / 0.4914 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1599, allocations: 66 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00355/0.1634, allocations: 1.627 MB / 0.5575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1647, allocations: 0.5611 MB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.1648, allocations: 4 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007686/0.1655, allocations: 451.1 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005967/0.1661, allocations: 291.2 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1667, allocations: 175.2 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.167, allocations: 167.6 kB / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1671, allocations: 11.98 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1672, allocations: 107.8 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.1675, allocations: 247.5 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1675, allocations: 0 / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.1676, allocations: 31.92 kB / 0.5594 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1678, allocations: 87.62 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1679, allocations: 99.05 kB / 0.5596 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1683, allocations: 254.6 kB / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1683, allocations: 0 / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1683, allocations: 0 / 0.5598 GB, free: 1.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1683, allocations: 0 / 0.5598 GB, free: 1.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008619/0.1691, allocations: 0.6452 MB / 0.5605 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1692, allocations: 8.031 kB / 0.5605 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1693, allocations: 44.66 kB / 0.5605 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1696, allocations: 304.6 kB / 0.5608 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1697, allocations: 4.375 kB / 0.5608 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1697, allocations: 4.375 kB / 0.5608 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1698, allocations: 49.81 kB / 0.5609 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1698, allocations: 0 / 0.5609 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1698, allocations: 4 kB / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1698, allocations: 0 / 0.5609 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1699, allocations: 31.97 kB / 0.5609 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1705, allocations: 388.6 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1706, allocations: 30.56 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.1707, allocations: 20.92 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1707, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.1707, allocations: 30.56 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1707, allocations: 0 / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000322/0.1711, allocations: 105.3 kB / 0.5615 GB, free: 15.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1711, allocations: 55.39 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.1721, allocations: 0.87 MB / 0.5624 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1721, allocations: 33.64 kB / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1723, allocations: 224 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1723, allocations: 7.953 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1723, allocations: 13.72 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1726, allocations: 366.7 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1726, allocations: 8 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.1726, allocations: 7.984 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.887e-05/0.1727, allocations: 40.84 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1727, allocations: 0 / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.1729, allocations: 93.39 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.173, allocations: 4 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.173, allocations: 0 / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.173, allocations: 4 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.1731, allocations: 8 kB / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1731, allocations: 0 / 0.5631 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.1732, allocations: 11.97 kB / 0.5631 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1732, allocations: 4 kB / 0.5631 GB, free: 13.61 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 (2): * Single equations (assignments): 2 * 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.0002936/0.1735, allocations: 211.9 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.1735, allocations: 39.72 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.1738, allocations: 116.7 kB / 0.5635 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1738, allocations: 4 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1738, allocations: 0 / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1738, allocations: 4.031 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.1742, allocations: 289.5 kB / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1742, allocations: 0 / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.1742, allocations: 8 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.1742, allocations: 3.984 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1742, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1742, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1742, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1745, allocations: 199.1 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.1746, allocations: 116.8 kB / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1746, allocations: 0 / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1747, allocations: 4 kB / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.1747, allocations: 0 / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1747, allocations: 0 / 0.5641 GB, free: 12.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006872/0.1754, allocations: 0.6628 MB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1754, allocations: 0 / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1756, allocations: 19.94 kB / 0.5648 GB, free: 11.86 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001303/0.1769, allocations: 358.5 kB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1771, allocations: 23.98 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1771, allocations: 4.062 kB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.1772, allocations: 15.92 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1775, allocations: 30.09 kB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1787, allocations: 0.7868 MB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.1792, allocations: 0.8182 MB / 0.5667 GB, free: 9.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.753e-05/0.1793, allocations: 15.73 kB / 0.5668 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1793, allocations: 19.42 kB / 0.5668 GB, free: 9.867 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1793, allocations: 0 / 0.5668 GB, free: 9.867 MB / 430.1 MB Notification: Performance of Templates: time 0.005296/0.1846, allocations: 1.27 MB / 0.568 GB, free: 8.602 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.410374082624912]