Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001744/0.001744, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00214/0.00214, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.653/1.653, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2466/0.2466, allocations: 46.93 MB / 357.1 MB, free: 10.34 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 67.89 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1537, allocations: 65.99 MB / 0.5559 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003683/0.1574, allocations: 1.666 MB / 0.5575 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1588, allocations: 0.5806 MB / 0.5581 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.1589, allocations: 0 / 0.5581 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1599, allocations: 459.1 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006685/0.1606, allocations: 287.3 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.1611, allocations: 179.3 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1614, allocations: 171.6 kB / 0.5591 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1616, allocations: 19.98 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1617, allocations: 115.7 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.162, allocations: 251.5 kB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.162, allocations: 4 kB / 0.5595 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1621, allocations: 27.98 kB / 0.5595 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1623, allocations: 83.69 kB / 0.5596 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.1625, allocations: 107 kB / 0.5597 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.1629, allocations: 270.5 kB / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1629, allocations: 0 / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1629, allocations: 0 / 0.5599 GB, free: 1.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1629, allocations: 0 / 0.5599 GB, free: 1.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001192/0.1641, allocations: 0.6568 MB / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.1641, allocations: 12.03 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1642, allocations: 44.61 kB / 0.5606 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.1647, allocations: 300.7 kB / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1647, allocations: 384 / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1647, allocations: 4.375 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.165, allocations: 69.72 kB / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1651, allocations: 0 / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1651, allocations: 0 / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1651, allocations: 0 / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.1653, allocations: 35.97 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.1661, allocations: 392.7 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1664, allocations: 54.5 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.1665, allocations: 12.94 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1666, allocations: 8 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1666, allocations: 30.56 kB / 0.5615 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1666, allocations: 3.938 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001025/0.1676, allocations: 248.7 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.1677, allocations: 51.41 kB / 0.5618 GB, free: 15.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.1689, allocations: 0.8738 MB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1689, allocations: 29.7 kB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1691, allocations: 216.1 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.1692, allocations: 23.84 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.1693, allocations: 17.72 kB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002777/0.1695, allocations: 366.7 kB / 0.5633 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.1696, allocations: 19.98 kB / 0.5633 GB, free: 13.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.1697, allocations: 23.98 kB / 0.5633 GB, free: 13.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1699, allocations: 64.95 kB / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1699, allocations: 0 / 0.5634 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002784/0.1701, allocations: 117.4 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1702, allocations: 8 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1702, allocations: 0 / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1702, allocations: 0 / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.1703, allocations: 15.98 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1703, allocations: 8 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1704, allocations: 3.938 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1704, allocations: 4 kB / 0.5635 GB, free: 13.26 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 (5): * Single equations (assignments): 5 * 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.00027/0.1706, allocations: 219.9 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.1707, allocations: 43.72 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.1711, allocations: 141.1 kB / 0.5639 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1711, allocations: 4 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1711, allocations: 0 / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1711, allocations: 8.219 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.1719, allocations: 466.4 kB / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1719, allocations: 0 / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.1719, allocations: 11.98 kB / 0.5644 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1719, allocations: 7.984 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1719, allocations: 3.938 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1719, allocations: 4 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1719, allocations: 0 / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1722, allocations: 219.4 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.1723, allocations: 112.8 kB / 0.5647 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.1724, allocations: 7.938 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.1725, allocations: 11.92 kB / 0.5647 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1725, allocations: 4 kB / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1725, allocations: 4 kB / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007301/0.1732, allocations: 0.6589 MB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1735, allocations: 23.94 kB / 0.5654 GB, free: 11.23 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 (5): * Single equations (assignments): 5 * 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.001672/0.1752, allocations: 405.2 kB / 0.5658 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1755, allocations: 51.95 kB / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1755, allocations: 4 kB / 0.5658 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.48e-05/0.1756, allocations: 31.92 kB / 0.5659 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.176, allocations: 22.3 kB / 0.5659 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1774, allocations: 0.8065 MB / 0.5667 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.1779, allocations: 0.826 MB / 0.5675 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.178, allocations: 19.97 kB / 0.5675 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.178, allocations: 15.42 kB / 0.5675 GB, free: 9.156 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.178, allocations: 0 / 0.5675 GB, free: 9.156 MB / 430.1 MB Notification: Performance of Templates: time 0.006124/0.1842, allocations: 1.529 MB / 0.569 GB, free: 7.633 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.4926319271326065]