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.001432/0.001432, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00149/0.00149, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.615/1.615, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2857/0.2857, allocations: 46.92 MB / 357.1 MB, free: 10.38 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.00232/0.00232, allocations: 71.91 kB / 0.4915 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1491, allocations: 66 MB / 0.5559 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003542/0.1526, allocations: 1.733 MB / 0.5576 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1554, allocations: 1.641 MB / 0.5592 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1555, allocations: 3.938 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1558, allocations: 35.83 kB / 0.5593 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1562, allocations: 103.5 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1564, allocations: 83.66 kB / 0.5595 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.1566, allocations: 111.6 kB / 0.5596 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1567, allocations: 11.98 kB / 0.5596 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.1568, allocations: 51.78 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.157, allocations: 47.81 kB / 0.5597 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.157, allocations: 12 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1573, allocations: 111.9 kB / 0.5598 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1573, allocations: 23.86 kB / 0.5598 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.1574, allocations: 31.81 kB / 0.5598 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1577, allocations: 183.3 kB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1577, allocations: 0 / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1577, allocations: 3.938 kB / 0.56 GB, free: 1.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1577, allocations: 0 / 0.56 GB, free: 1.082 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.0007566/0.1585, allocations: 442.5 kB / 0.5604 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1585, allocations: 12.03 kB / 0.5605 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1586, allocations: 12.89 kB / 0.5605 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.1589, allocations: 212.2 kB / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1589, allocations: 384 / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.159, allocations: 16.05 kB / 0.5607 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1592, allocations: 75.33 kB / 0.5608 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1592, allocations: 3.953 kB / 0.5608 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1592, allocations: 0 / 0.5608 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1592, allocations: 12 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1593, allocations: 31.95 kB / 0.5608 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1598, allocations: 296.8 kB / 0.5611 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.16, allocations: 66.61 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.1601, allocations: 20.84 kB / 0.5612 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1601, allocations: 7.984 kB / 0.5612 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1603, allocations: 75.39 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1603, allocations: 0 / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006412/0.161, allocations: 201.6 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.161, allocations: 85.19 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1612, allocations: 176.4 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.1612, allocations: 29.7 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1613, allocations: 100.1 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1614, allocations: 23.81 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1614, allocations: 25.7 kB / 0.5619 GB, free: 14.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1616, allocations: 330.8 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.1616, allocations: 23.94 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.1617, allocations: 50.55 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1619, allocations: 65.75 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1619, allocations: 0 / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.1621, allocations: 117.5 kB / 0.5624 GB, free: 14.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1621, allocations: 7.938 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1621, allocations: 0 / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1621, allocations: 0 / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1623, allocations: 23.98 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1623, allocations: 3.969 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1623, allocations: 15.88 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1623, allocations: 4 kB / 0.5625 GB, free: 14.31 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.0001225/0.1624, allocations: 126.7 kB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1625, allocations: 7.953 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.1625, allocations: 12.72 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1625, allocations: 0 / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1625, allocations: 4 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1625, allocations: 7.922 kB / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.1631, allocations: 419.2 kB / 0.563 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1631, allocations: 4 kB / 0.563 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.1632, allocations: 12.03 kB / 0.563 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1632, allocations: 3.938 kB / 0.563 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1632, allocations: 7.938 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1632, allocations: 0 / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1632, allocations: 0 / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1635, allocations: 220.3 kB / 0.5633 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.1635, allocations: 85.06 kB / 0.5633 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1636, allocations: 7.938 kB / 0.5633 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.1637, allocations: 11.98 kB / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1637, allocations: 4 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1637, allocations: 4 kB / 0.5634 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1638, allocations: 135.2 kB / 0.5635 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1638, allocations: 4 kB / 0.5635 GB, free: 13.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.1642, allocations: 47.86 kB / 0.5635 GB, free: 13.11 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.002009/0.1662, allocations: 0.543 MB / 0.5641 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1664, allocations: 67.86 kB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1664, allocations: 0 / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.744e-05/0.1665, allocations: 35.92 kB / 0.5642 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1669, allocations: 30.78 kB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.1674, allocations: 219.1 kB / 0.5644 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1678, allocations: 0.7042 MB / 0.5651 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.401e-05/0.1678, allocations: 28.56 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1679, allocations: 31.36 kB / 0.5652 GB, free: 11.61 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1679, allocations: 0 / 0.5652 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Templates: time 0.006681/0.1746, allocations: 2.454 MB / 0.5676 GB, free: 9.176 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/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: 5.552385635674]