Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.001299/0.001299, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001405/0.001405, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.476/1.476, allocations: 230.3 MB / 255.2 MB, free: 15.21 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.2542/0.2542, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84") [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.002376/0.002376, allocations: 79.88 kB / 0.4926 GB, free: 7.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1501, allocations: 66 MB / 0.5571 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00338/0.1535, allocations: 1.735 MB / 0.5588 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1561, allocations: 1.645 MB / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.1561, allocations: 0 / 0.5604 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1564, allocations: 31.78 kB / 0.5604 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1567, allocations: 103.5 kB / 0.5605 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1569, allocations: 83.66 kB / 0.5606 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1571, allocations: 107.7 kB / 0.5607 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.1572, allocations: 8 kB / 0.5607 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1573, allocations: 55.77 kB / 0.5607 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1575, allocations: 43.78 kB / 0.5608 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1575, allocations: 4 kB / 0.5608 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1577, allocations: 107.9 kB / 0.5609 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1577, allocations: 23.84 kB / 0.5609 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.1578, allocations: 39.73 kB / 0.5609 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1581, allocations: 171.4 kB / 0.5611 GB, free: 1.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1581, allocations: 4 kB / 0.5611 GB, free: 1.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1581, allocations: 0 / 0.5611 GB, free: 1.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1581, allocations: 0 / 0.5611 GB, free: 1.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005722/0.1587, allocations: 422.7 kB / 0.5615 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1587, allocations: 11.97 kB / 0.5615 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1588, allocations: 16.78 kB / 0.5615 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1591, allocations: 219.5 kB / 0.5617 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1591, allocations: 384 / 0.5617 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1591, allocations: 12.12 kB / 0.5618 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1593, allocations: 71.38 kB / 0.5618 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1593, allocations: 0 / 0.5618 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1593, allocations: 4 kB / 0.5618 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1593, allocations: 0 / 0.5618 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.1594, allocations: 19.98 kB / 0.5618 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1597, allocations: 284.8 kB / 0.5621 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1599, allocations: 58.66 kB / 0.5622 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.16, allocations: 16.86 kB / 0.5622 GB, free: 16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.16, allocations: 4 kB / 0.5622 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1602, allocations: 71.31 kB / 0.5623 GB, free: 15.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1602, allocations: 4 kB / 0.5623 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.1607, allocations: 177.3 kB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1608, allocations: 81.09 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1609, allocations: 162.5 kB / 0.5627 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.161, allocations: 33.69 kB / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.161, allocations: 92.14 kB / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.1611, allocations: 35.72 kB / 0.5628 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.1611, allocations: 25.72 kB / 0.5628 GB, free: 15.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1613, allocations: 326.8 kB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/0.1613, allocations: 19.98 kB / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.769e-05/0.1614, allocations: 46.56 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1615, allocations: 53.73 kB / 0.5633 GB, free: 14.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1615, allocations: 0 / 0.5633 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.1617, allocations: 109.6 kB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1617, allocations: 4 kB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1617, allocations: 0 / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1617, allocations: 0 / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.1618, allocations: 23.92 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1618, allocations: 0 / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1619, allocations: 11.88 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1619, allocations: 0 / 0.5634 GB, free: 14.64 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 (10): * Single equations (assignments): 10 * 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.0001072/0.162, allocations: 121.8 kB / 0.5635 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.162, allocations: 16.16 kB / 0.5635 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.1621, allocations: 12.72 kB / 0.5636 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1621, allocations: 3.938 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1621, allocations: 4 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1621, allocations: 3.938 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1625, allocations: 395.3 kB / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1625, allocations: 0 / 0.5639 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.1626, allocations: 11.98 kB / 0.564 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1626, allocations: 4.031 kB / 0.564 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1626, allocations: 7.938 kB / 0.564 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1626, allocations: 3.938 kB / 0.564 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1626, allocations: 0 / 0.564 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1629, allocations: 196.3 kB / 0.5642 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.1629, allocations: 85.06 kB / 0.5642 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1629, allocations: 11.92 kB / 0.5643 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.163, allocations: 8 kB / 0.5643 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.163, allocations: 4.375 kB / 0.5643 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1631, allocations: 7.984 kB / 0.5643 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1632, allocations: 127.9 kB / 0.5644 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1632, allocations: 0 / 0.5644 GB, free: 13.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1635, allocations: 47.86 kB / 0.5644 GB, free: 13.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001926/0.1654, allocations: 0.5444 MB / 0.565 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1656, allocations: 55.98 kB / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1656, allocations: 0 / 0.565 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1657, allocations: 27.92 kB / 0.5651 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.1662, allocations: 23.36 kB / 0.5651 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1667, allocations: 232.7 kB / 0.5653 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1671, allocations: 0.704 MB / 0.566 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.1672, allocations: 23.36 kB / 0.566 GB, free: 12.01 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1672, allocations: 0 / 0.566 GB, free: 12.01 MB / 430.1 MB Notification: Performance of Templates: time 0.004675/0.1718, allocations: 2.412 MB / 0.5684 GB, free: 9.598 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.845503199001541]