Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001399/0.001399, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001486/0.001486, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.56/1.56, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3513/0.3513, allocations: 46.9 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 87.84 kB / 0.4918 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1539, allocations: 65.99 MB / 0.5563 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003485/0.1574, allocations: 1.739 MB / 0.558 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1592, allocations: 1.026 MB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.1593, allocations: 0 / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.1596, allocations: 47.77 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1599, allocations: 95.59 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1601, allocations: 75.67 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1603, allocations: 115.6 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.1604, allocations: 8 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.1605, allocations: 43.78 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.1606, allocations: 35.84 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1606, allocations: 4 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1607, allocations: 43.98 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1607, allocations: 19.92 kB / 0.5594 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.1608, allocations: 39.72 kB / 0.5595 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.161, allocations: 127.3 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.161, allocations: 4 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.161, allocations: 0 / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1611, allocations: 0 / 0.5596 GB, free: 2.145 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.0006311/0.1617, allocations: 418.7 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1617, allocations: 8.031 kB / 0.56 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1618, allocations: 8.891 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1621, allocations: 216.8 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1621, allocations: 4.375 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1621, allocations: 384 / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1623, allocations: 61.92 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1623, allocations: 4 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1623, allocations: 4 kB / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1623, allocations: 0 / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.1624, allocations: 23.98 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1628, allocations: 292.8 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.163, allocations: 54.55 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1631, allocations: 20.91 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.1631, allocations: 4 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1633, allocations: 67.39 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1633, allocations: 3.938 kB / 0.5607 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.1638, allocations: 177.3 kB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1639, allocations: 55.41 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1641, allocations: 186.4 kB / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1641, allocations: 33.7 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1642, allocations: 96.14 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1642, allocations: 27.78 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1643, allocations: 21.72 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1645, allocations: 330.8 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.1645, allocations: 19.98 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.1646, allocations: 41.64 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1647, allocations: 61.69 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1647, allocations: 4 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.165, allocations: 97.53 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.165, allocations: 8 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.165, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.165, allocations: 192 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1651, allocations: 19.98 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1651, allocations: 3.938 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1652, allocations: 4 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1652, allocations: 4 kB / 0.5619 GB, free: 15.57 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.0001323/0.1653, allocations: 133.7 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1653, allocations: 19.89 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.044e-05/0.1654, allocations: 21.39 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1654, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1654, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1654, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.1659, allocations: 391.6 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1659, allocations: 0 / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.166, allocations: 20.02 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.166, allocations: 4 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.166, allocations: 0 / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.166, allocations: 3.938 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.166, allocations: 240 / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1663, allocations: 212.2 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1663, allocations: 89.02 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1664, allocations: 4 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1664, allocations: 7.922 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1665, allocations: 8 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1665, allocations: 4 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1666, allocations: 152.2 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1666, allocations: 0 / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1669, allocations: 27.92 kB / 0.5629 GB, free: 14.38 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.00172/0.1686, allocations: 453.2 kB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1688, allocations: 51.92 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1688, allocations: 0 / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.1689, allocations: 36.03 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1693, allocations: 26.78 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.17, allocations: 246.5 kB / 0.5637 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.1705, allocations: 0.708 MB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.1706, allocations: 17.25 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1706, allocations: 19.42 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1706, allocations: 0 / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of Templates: time 0.005599/0.1762, allocations: 1.747 MB / 0.5661 GB, free: 11.21 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.597375080920756]