Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001591/0.001591, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001662/0.001662, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.625/1.625, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2569/0.2569, allocations: 46.93 MB / 357.1 MB, free: 10.33 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 71.91 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1605, allocations: 66 MB / 0.5559 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003709/0.1642, allocations: 1.617 MB / 0.5574 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1656, allocations: 0.5611 MB / 0.558 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.1657, allocations: 0 / 0.558 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.1664, allocations: 447.1 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005912/0.167, allocations: 299.3 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.1675, allocations: 171.4 kB / 0.5589 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1678, allocations: 171.6 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1679, allocations: 8 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1681, allocations: 119.6 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.1684, allocations: 243.5 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1684, allocations: 0 / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1685, allocations: 35.92 kB / 0.5594 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1686, allocations: 83.69 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1687, allocations: 99 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.1691, allocations: 254.6 kB / 0.5598 GB, free: 1.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1691, allocations: 0 / 0.5598 GB, free: 1.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1691, allocations: 0 / 0.5598 GB, free: 1.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1691, allocations: 0 / 0.5598 GB, free: 1.262 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.0008576/0.17, allocations: 0.6413 MB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.17, allocations: 8.031 kB / 0.5605 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.1701, allocations: 44.66 kB / 0.5605 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1704, allocations: 308.5 kB / 0.5608 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1704, allocations: 4.375 kB / 0.5608 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1705, allocations: 384 / 0.5608 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1706, allocations: 57.8 kB / 0.5609 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1707, allocations: 0 / 0.5609 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1707, allocations: 0 / 0.5609 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1707, allocations: 0 / 0.5609 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1708, allocations: 23.98 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.1714, allocations: 392.7 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1715, allocations: 30.56 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1715, allocations: 16.91 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1716, allocations: 0 / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1716, allocations: 30.56 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1716, allocations: 4 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.172, allocations: 113.3 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.172, allocations: 51.41 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.173, allocations: 0.8737 MB / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.173, allocations: 25.7 kB / 0.5624 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1732, allocations: 224.1 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1732, allocations: 3.953 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1733, allocations: 21.84 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.1735, allocations: 358.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.1735, allocations: 15.98 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1736, allocations: 7.984 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.1737, allocations: 28.84 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1737, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.1739, allocations: 97.41 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1739, allocations: 8 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1739, allocations: 3.984 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1739, allocations: 3.938 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.174, allocations: 7.984 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.174, allocations: 3.984 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.174, allocations: 7.953 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1741, allocations: 4 kB / 0.5631 GB, free: 13.64 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.0002372/0.1743, allocations: 223.9 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.1744, allocations: 39.72 kB / 0.5634 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1746, allocations: 112.7 kB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1746, allocations: 0 / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1746, allocations: 0 / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1746, allocations: 3.984 kB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.1749, allocations: 285.5 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1749, allocations: 0 / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.175, allocations: 4 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.175, allocations: 4.031 kB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.175, allocations: 0 / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.175, allocations: 0 / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.175, allocations: 0 / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1752, allocations: 199.2 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.1753, allocations: 108.8 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1753, allocations: 0 / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.1754, allocations: 15.95 kB / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1754, allocations: 0 / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1754, allocations: 0 / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007014/0.1761, allocations: 0.6589 MB / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1761, allocations: 0 / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1764, allocations: 23.92 kB / 0.5648 GB, free: 11.89 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.001294/0.1777, allocations: 359.9 kB / 0.5651 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1779, allocations: 23.97 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1779, allocations: 0 / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.1779, allocations: 8 kB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1783, allocations: 26.3 kB / 0.5652 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1794, allocations: 0.7907 MB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.1799, allocations: 0.8221 MB / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.18, allocations: 15.73 kB / 0.5668 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.18, allocations: 11.44 kB / 0.5668 GB, free: 9.91 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.18, allocations: 3.938 kB / 0.5668 GB, free: 9.906 MB / 430.1 MB Notification: Performance of Templates: time 0.005258/0.1853, allocations: 1.283 MB / 0.568 GB, free: 8.629 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.382790062576532]