Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001783/0.001783, 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.002148/0.002148, 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.599/1.599, 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.3349/0.3349, 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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 0.4915 GB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1572, allocations: 65.99 MB / 0.5559 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005245/0.1624, allocations: 1.768 MB / 0.5577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1646, allocations: 1.04 MB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1647, allocations: 0 / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.1652, allocations: 115.6 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005253/0.1657, allocations: 119.5 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.166, allocations: 83.66 kB / 0.559 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1663, allocations: 143.6 kB / 0.5591 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1665, allocations: 13.41 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1666, allocations: 63.75 kB / 0.5592 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1668, allocations: 83.72 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1668, allocations: 8 kB / 0.5593 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.167, allocations: 59.98 kB / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.167, allocations: 31.86 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.1671, allocations: 63.47 kB / 0.5594 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1674, allocations: 159.3 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1674, allocations: 0 / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.24e-06/0.1674, allocations: 3.984 kB / 0.5596 GB, free: 1.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1674, allocations: 0 / 0.5596 GB, free: 1.449 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007544/0.1682, allocations: 470.2 kB / 0.56 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1682, allocations: 16.03 kB / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.1683, allocations: 16.84 kB / 0.5601 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1686, allocations: 221.1 kB / 0.5603 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1686, allocations: 384 / 0.5603 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1687, allocations: 16.11 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1689, allocations: 73.55 kB / 0.5604 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1689, allocations: 11.94 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1689, allocations: 0 / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1689, allocations: 0 / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.169, allocations: 35.98 kB / 0.5604 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1695, allocations: 336.6 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.1698, allocations: 66.55 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.1699, allocations: 28.84 kB / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1699, allocations: 0 / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1701, allocations: 83.31 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 3.537e-06/0.1701, allocations: 3.984 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009531/0.1711, allocations: 305.6 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.1711, allocations: 55.41 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1714, allocations: 256 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1714, allocations: 33.7 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.1715, allocations: 120.1 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.1716, allocations: 55.72 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1716, allocations: 29.7 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1718, allocations: 330.8 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.1719, allocations: 31.98 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.172, allocations: 64.16 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1722, allocations: 105.7 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1722, allocations: 3.984 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002919/0.1725, allocations: 153.5 kB / 0.5624 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1725, allocations: 4 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1725, allocations: 4 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1725, allocations: 3.938 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1726, allocations: 32.03 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1726, allocations: 11.92 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1727, allocations: 4.031 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1727, allocations: 4 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001389/0.1728, allocations: 140 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1729, allocations: 19.86 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.1729, allocations: 25.52 kB / 0.5626 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1729, allocations: 7.938 kB / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1729, allocations: 0 / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1729, allocations: 0 / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.1736, allocations: 0.5038 MB / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1736, allocations: 4 kB / 0.5631 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.1737, allocations: 20 kB / 0.5631 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1737, allocations: 0 / 0.5631 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1737, allocations: 7.984 kB / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1737, allocations: 0 / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1737, allocations: 3.938 kB / 0.5632 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1741, allocations: 268.6 kB / 0.5634 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1742, allocations: 92.95 kB / 0.5635 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1742, allocations: 8 kB / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1743, allocations: 0 / 0.5635 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1743, allocations: 15.98 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.1743, allocations: 7.984 kB / 0.5635 GB, free: 13.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1745, allocations: 197.5 kB / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1745, allocations: 0 / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1748, allocations: 35.94 kB / 0.5638 GB, free: 12.83 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002032/0.1769, allocations: 0.5067 MB / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1771, allocations: 99.78 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1771, allocations: 0 / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1772, allocations: 51.97 kB / 0.5644 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1776, allocations: 35.97 kB / 0.5644 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.1783, allocations: 336.5 kB / 0.5648 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1787, allocations: 0.7241 MB / 0.5655 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.1788, allocations: 25.41 kB / 0.5655 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.1788, allocations: 23.44 kB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1788, allocations: 3.938 kB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of Templates: time 0.006186/0.185, allocations: 2.221 MB / 0.5677 GB, free: 8.988 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.487900946289301]