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.00133/0.00133, allocations: 123.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.001472/0.001472, allocations: 200.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.615/1.615, 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.2499/0.2499, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.002102/0.002102, allocations: 67.91 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1584, allocations: 65.98 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003658/0.1621, allocations: 1.693 MB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1633, allocations: 0.5728 MB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.1633, allocations: 3.938 kB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1636, allocations: 59.73 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.164, allocations: 95.58 kB / 0.5582 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.1645, allocations: 179 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1647, allocations: 87.8 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1648, allocations: 20.16 kB / 0.5585 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.1649, allocations: 31.92 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.165, allocations: 55.69 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.165, allocations: 4 kB / 0.5586 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1651, allocations: 51.98 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.1652, allocations: 27.91 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1653, allocations: 35.69 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1655, allocations: 111.5 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1655, allocations: 4 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1655, allocations: 0 / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1655, allocations: 0 / 0.5588 GB, free: 2.285 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.0006883/0.1662, allocations: 418.7 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1663, allocations: 12.03 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.1663, allocations: 8.891 kB / 0.5592 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1666, allocations: 204.2 kB / 0.5594 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1666, allocations: 384 / 0.5594 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1666, allocations: 4.375 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1668, allocations: 73.73 kB / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1669, allocations: 0 / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1669, allocations: 0 / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1669, allocations: 0 / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.167, allocations: 47.95 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.1676, allocations: 320.7 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1679, allocations: 58.48 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.1679, allocations: 28.97 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.168, allocations: 4 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.168, allocations: 38.55 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.168, allocations: 0 / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001627/0.1696, allocations: 425.4 kB / 0.5604 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1697, allocations: 59.34 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1699, allocations: 185.3 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1699, allocations: 25.7 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.17, allocations: 104 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.17, allocations: 39.67 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.1701, allocations: 29.7 kB / 0.5608 GB, free: 36 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1702, allocations: 322.8 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1704, allocations: 47.97 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1705, allocations: 59.95 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.1708, allocations: 128.7 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1708, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003753/0.1712, allocations: 165.5 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1712, allocations: 8 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1712, allocations: 3.938 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1712, allocations: 0 / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1714, allocations: 31.91 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1714, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.1715, allocations: 12 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1715, allocations: 3.984 kB / 0.5616 GB, free: 15.25 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.0001198/0.1716, allocations: 136 kB / 0.5617 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.1716, allocations: 15.89 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.1721, allocations: 186.2 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1721, allocations: 3.938 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1721, allocations: 4 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1721, allocations: 0 / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/0.1729, allocations: 0.496 MB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1729, allocations: 0 / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.173, allocations: 27.97 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.173, allocations: 0 / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.173, allocations: 4 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.173, allocations: 0 / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.173, allocations: 8.25 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.1734, allocations: 281.5 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.1735, allocations: 93.02 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1735, allocations: 8 kB / 0.5628 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.1736, allocations: 7.984 kB / 0.5628 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.1737, allocations: 11.98 kB / 0.5628 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1737, allocations: 4 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1738, allocations: 138.5 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1738, allocations: 0 / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1741, allocations: 31.92 kB / 0.563 GB, free: 13.7 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.001755/0.1758, allocations: 464.8 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.1762, allocations: 131.8 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1762, allocations: 0 / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1764, allocations: 67.89 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1768, allocations: 17.25 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.1775, allocations: 304.1 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1779, allocations: 0.7158 MB / 0.5646 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.404e-05/0.178, allocations: 36.52 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.178, allocations: 15.42 kB / 0.5647 GB, free: 12.09 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.178, allocations: 0 / 0.5647 GB, free: 12.09 MB / 430.1 MB Notification: Performance of Templates: time 0.005018/0.183, allocations: 1.644 MB / 0.5663 GB, free: 10.45 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/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: 5.233777299523354]