Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001547/0.001547, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001688/0.001688, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.246/0.246, allocations: 46.88 MB / 358.1 MB, free: 10.6 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") [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.002529/0.002529, allocations: 79.88 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1534, allocations: 65.99 MB / 0.5569 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003778/0.1572, allocations: 1.684 MB / 0.5585 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1591, allocations: 1.024 MB / 0.5595 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1592, allocations: 0 / 0.5595 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.1597, allocations: 83.7 kB / 0.5596 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.1601, allocations: 123.5 kB / 0.5597 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1604, allocations: 75.66 kB / 0.5598 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1607, allocations: 103.8 kB / 0.5599 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.1608, allocations: 12.2 kB / 0.5599 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1609, allocations: 47.78 kB / 0.5599 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.161, allocations: 63.69 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1611, allocations: 4 kB / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1612, allocations: 35.98 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.1612, allocations: 19.92 kB / 0.5601 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.1613, allocations: 35.73 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1616, allocations: 111.6 kB / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1616, allocations: 0 / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1616, allocations: 0 / 0.5602 GB, free: 2.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1616, allocations: 0 / 0.5602 GB, free: 2.457 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00075/0.1623, allocations: 434.5 kB / 0.5606 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1624, allocations: 8.031 kB / 0.5606 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.1625, allocations: 16.84 kB / 0.5606 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.1629, allocations: 212.1 kB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1629, allocations: 384 / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1629, allocations: 4.375 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1631, allocations: 61.92 kB / 0.5609 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1631, allocations: 0 / 0.5609 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1631, allocations: 0 / 0.5609 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1631, allocations: 0 / 0.5609 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.1632, allocations: 19.92 kB / 0.5609 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1634, allocations: 181.7 kB / 0.5611 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1636, allocations: 54.61 kB / 0.5612 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1637, allocations: 16.86 kB / 0.5612 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1637, allocations: 0 / 0.5612 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1639, allocations: 71.31 kB / 0.5612 GB, free: 1.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1639, allocations: 0 / 0.5612 GB, free: 1.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003329/0.1642, allocations: 105.5 kB / 0.5613 GB, free: 1.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1643, allocations: 55.41 kB / 0.5614 GB, free: 1.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1645, allocations: 215.5 kB / 0.5616 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1645, allocations: 33.69 kB / 0.5616 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1646, allocations: 100.1 kB / 0.5617 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1646, allocations: 15.94 kB / 0.5617 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1647, allocations: 21.66 kB / 0.5618 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1648, allocations: 322.8 kB / 0.5621 GB, free: 332 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.1649, allocations: 19.98 kB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.165, allocations: 21.72 kB / 0.5621 GB, free: 284 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1651, allocations: 49.64 kB / 0.5622 GB, free: 228 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1651, allocations: 0 / 0.5622 GB, free: 228 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.1652, allocations: 93.45 kB / 0.5622 GB, free: 128 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1653, allocations: 10.19 kB / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1653, allocations: 0 / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1653, allocations: 8.328 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.1654, allocations: 8 kB / 0.5623 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1654, allocations: 4 kB / 0.5623 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1654, allocations: 4 kB / 0.5623 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1654, allocations: 4 kB / 0.5623 GB, free: 92 kB / 414.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 (7): * Single equations (assignments): 7 * 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.000139/0.1656, allocations: 125.8 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1656, allocations: 19.84 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1656, allocations: 16.98 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1656, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1656, allocations: 4 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1656, allocations: 0 / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1658, allocations: 189.6 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1658, allocations: 0 / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.1658, allocations: 11.88 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1658, allocations: 0 / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1659, allocations: 0 / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.1659, allocations: 7.938 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1659, allocations: 0 / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.1661, allocations: 113 kB / 0.5627 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.1661, allocations: 89 kB / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1662, allocations: 0 / 0.5628 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.1662, allocations: 3.984 kB / 0.5628 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1662, allocations: 4 kB / 0.5628 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1663, allocations: 4 kB / 0.5628 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1664, allocations: 161.2 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1664, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1666, allocations: 31.94 kB / 0.563 GB, free: 15.22 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001495/0.1681, allocations: 415 kB / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1683, allocations: 35.98 kB / 0.5635 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1683, allocations: 0 / 0.5635 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/0.1684, allocations: 19.92 kB / 0.5635 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1686, allocations: 39.98 kB / 0.5635 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.1692, allocations: 264 kB / 0.5638 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1696, allocations: 0.7002 MB / 0.5645 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.1696, allocations: 23.42 kB / 0.5645 GB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1696, allocations: 0 / 0.5645 GB, free: 13.83 MB / 430.1 MB Notification: Performance of Templates: time 0.003891/0.1735, allocations: 1.77 MB / 0.5662 GB, free: 12.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.840203993953764]