Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001845/0.001845, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.002371/0.002371, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.616/1.616, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2527/0.2527, allocations: 46.92 MB / 357.8 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.91 kB / 0.4922 GB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 66 MB / 0.5566 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003547/0.1532, allocations: 1.733 MB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1559, allocations: 1.641 MB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.156, allocations: 3.938 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1562, allocations: 35.77 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.1565, allocations: 99.59 kB / 0.56 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1567, allocations: 83.66 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1569, allocations: 111.6 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.157, allocations: 15.94 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1571, allocations: 51.77 kB / 0.5603 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1573, allocations: 51.83 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1573, allocations: 8 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1575, allocations: 107.9 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.1576, allocations: 23.92 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.1576, allocations: 39.73 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.158, allocations: 183.3 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.158, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.158, allocations: 0 / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.158, allocations: 3.938 kB / 0.5607 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007025/0.1587, allocations: 442.5 kB / 0.5611 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1587, allocations: 12.03 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1587, allocations: 8.891 kB / 0.5611 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1591, allocations: 212.2 kB / 0.5613 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1591, allocations: 4.375 kB / 0.5613 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1592, allocations: 4.125 kB / 0.5613 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1594, allocations: 87.25 kB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1594, allocations: 7.953 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1594, allocations: 0 / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1594, allocations: 0 / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1595, allocations: 27.98 kB / 0.5615 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.16, allocations: 300.8 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1602, allocations: 70.61 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1602, allocations: 24.86 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1603, allocations: 0 / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1604, allocations: 71.38 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1604, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006206/0.1611, allocations: 205.6 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1611, allocations: 85.05 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1613, allocations: 176.4 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1614, allocations: 29.69 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1614, allocations: 96.14 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1615, allocations: 27.8 kB / 0.5625 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.1615, allocations: 25.72 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1617, allocations: 326.8 kB / 0.5628 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.1617, allocations: 23.98 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1619, allocations: 54.56 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.162, allocations: 69.67 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.162, allocations: 0 / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002279/0.1623, allocations: 121.5 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1623, allocations: 4 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1623, allocations: 0 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1623, allocations: 3.984 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1624, allocations: 24.05 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1624, allocations: 0 / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.1625, allocations: 15.81 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1625, allocations: 4 kB / 0.5631 GB, free: 14.28 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 (11): * Single equations (assignments): 11 * 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.0001068/0.1626, allocations: 122.7 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.1626, allocations: 15.94 kB / 0.5633 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.1627, allocations: 12.72 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1627, allocations: 0 / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1627, allocations: 0 / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1627, allocations: 11.94 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.1632, allocations: 415.2 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1632, allocations: 4 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.1633, allocations: 11.98 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1633, allocations: 4 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1633, allocations: 7.938 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1633, allocations: 0 / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1633, allocations: 0 / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.1636, allocations: 224.3 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1637, allocations: 85.06 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1637, allocations: 3.938 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1638, allocations: 8 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1638, allocations: 7.984 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1638, allocations: 4 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.164, allocations: 131.2 kB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1643, allocations: 51.86 kB / 0.5642 GB, free: 13.07 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 (9): * Single equations (assignments): 7 * 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.002023/0.1663, allocations: 0.5415 MB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1665, allocations: 71.91 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1665, allocations: 0 / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.1666, allocations: 31.98 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.167, allocations: 32.75 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.1675, allocations: 248.9 kB / 0.5651 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1679, allocations: 0.7081 MB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.1679, allocations: 27.36 kB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1679, allocations: 0 / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of Templates: time 0.005035/0.173, allocations: 2.523 MB / 0.5683 GB, free: 9.055 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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: 8.323771369992755]