Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 109.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2346/0.2346, allocations: 46.89 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 79.88 kB / 0.4925 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1575, allocations: 65.99 MB / 0.5569 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004031/0.1615, allocations: 1.925 MB / 0.5588 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1638, allocations: 1.134 MB / 0.5599 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1639, allocations: 0 / 0.5599 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1644, allocations: 263.3 kB / 0.5601 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.1649, allocations: 231.2 kB / 0.5604 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1652, allocations: 119.6 kB / 0.5605 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.1656, allocations: 275.2 kB / 0.5607 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1657, allocations: 17.69 kB / 0.5607 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1659, allocations: 135.5 kB / 0.5609 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1662, allocations: 207.4 kB / 0.5611 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1662, allocations: 8 kB / 0.5611 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1664, allocations: 67.97 kB / 0.5611 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1665, allocations: 67.69 kB / 0.5612 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1666, allocations: 95.23 kB / 0.5613 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.167, allocations: 254.7 kB / 0.5615 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.167, allocations: 0 / 0.5615 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.167, allocations: 0 / 0.5615 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.167, allocations: 4 kB / 0.5616 GB, free: 1.043 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008652/0.1678, allocations: 0.5949 MB / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1679, allocations: 8.031 kB / 0.5621 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.168, allocations: 32.75 kB / 0.5622 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.1684, allocations: 302.5 kB / 0.5625 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1684, allocations: 8.375 kB / 0.5625 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1685, allocations: 4.375 kB / 0.5625 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.1688, allocations: 119.6 kB / 0.5626 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1688, allocations: 4 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1688, allocations: 7.938 kB / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1688, allocations: 0 / 0.5626 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.169, allocations: 51.94 kB / 0.5626 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.1696, allocations: 484.7 kB / 0.5631 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.17, allocations: 117.2 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1701, allocations: 41.81 kB / 0.5633 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1701, allocations: 7.938 kB / 0.5633 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1704, allocations: 129.2 kB / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1704, allocations: 0 / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001392/0.1718, allocations: 0.509 MB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.1719, allocations: 85.05 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.1724, allocations: 0.4938 MB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1724, allocations: 29.7 kB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1726, allocations: 168.4 kB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.1726, allocations: 75.42 kB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.1727, allocations: 41.7 kB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1729, allocations: 350.8 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.173, allocations: 51.98 kB / 0.5651 GB, free: 13.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1732, allocations: 99.33 kB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1735, allocations: 159.3 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1735, allocations: 0 / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004154/0.1739, allocations: 237.6 kB / 0.5656 GB, free: 12.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1739, allocations: 11.94 kB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1739, allocations: 0 / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.1739, allocations: 7.938 kB / 0.5656 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1741, allocations: 35.98 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1741, allocations: 4 kB / 0.5657 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.1742, allocations: 11.98 kB / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1742, allocations: 8 kB / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001934/0.1744, allocations: 173.8 kB / 0.5659 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.1744, allocations: 35.77 kB / 0.5659 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.1745, allocations: 50.83 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1745, allocations: 4 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.1745, allocations: 3.984 kB / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1745, allocations: 0 / 0.5659 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.1755, allocations: 0.7467 MB / 0.5667 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1755, allocations: 0 / 0.5667 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.1756, allocations: 35.92 kB / 0.5667 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1756, allocations: 4 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1756, allocations: 4 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1757, allocations: 4 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1757, allocations: 4.219 kB / 0.5667 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.1762, allocations: 428.7 kB / 0.5671 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.1763, allocations: 112.9 kB / 0.5672 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1763, allocations: 4 kB / 0.5672 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1764, allocations: 11.98 kB / 0.5673 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.1765, allocations: 35.84 kB / 0.5673 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1765, allocations: 8 kB / 0.5673 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.1769, allocations: 371.1 kB / 0.5676 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.5676 GB, free: 10.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1773, allocations: 55.92 kB / 0.5677 GB, free: 10.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001955/0.1792, allocations: 0.5138 MB / 0.5682 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.1796, allocations: 151.8 kB / 0.5683 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1796, allocations: 0 / 0.5683 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1798, allocations: 75.84 kB / 0.5684 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1803, allocations: 57.52 kB / 0.5685 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1815, allocations: 0.6388 MB / 0.5691 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.182, allocations: 0.7856 MB / 0.5699 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.182, allocations: 35.42 kB / 0.5699 GB, free: 8.191 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.182, allocations: 0 / 0.5699 GB, free: 8.191 MB / 430.1 MB Notification: Performance of Templates: time 0.009247/0.1913, allocations: 3.886 MB / 0.5737 GB, free: 4.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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: 7.976088312920183]