Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0008167/0.0008167, allocations: 87.62 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003539/0.003539, allocations: 161.4 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8927/0.8927, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2647/0.2647, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.78e-05, allocations: 3.125 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.1588/0.1588, allocations: 1.71 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1602, allocations: 1.678 MB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.1603, allocations: 0 / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1606, allocations: 34.72 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1609, allocations: 107.4 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.161, allocations: 84.73 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1611, allocations: 111.1 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.1612, allocations: 6.141 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.1613, allocations: 56.12 kB / 447.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.1614, allocations: 33.3 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1614, allocations: 5.094 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1615, allocations: 113.5 kB / 447.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.1616, allocations: 21.31 kB / 447.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1616, allocations: 23.2 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1618, allocations: 176.5 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1618, allocations: 0.5312 kB / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1618, allocations: 0 / 447.7 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1618, allocations: 6.469 kB / 447.7 MB, free: 42.54 MB / 410.7 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.0003918/0.1622, allocations: 351.4 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1622, allocations: 11.34 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1623, allocations: 10.64 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1625, allocations: 147.5 kB / 448.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1625, allocations: 7.188 kB / 448.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1625, allocations: 7.141 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1627, allocations: 97 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1627, allocations: 6.062 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1627, allocations: 2.781 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1627, allocations: 0 / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.1627, allocations: 22.31 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.163, allocations: 234.9 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1631, allocations: 59.25 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.1631, allocations: 20.59 kB / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1631, allocations: 0 / 448.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.1632, allocations: 69.94 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1632, allocations: 0 / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003788/0.1636, allocations: 178.5 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1636, allocations: 83.3 kB / 449 MB, free: 41.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.1637, allocations: 166.7 kB / 449.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1637, allocations: 28.23 kB / 449.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.1638, allocations: 98.09 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.1638, allocations: 28.52 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.1638, allocations: 20.09 kB / 449.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.937e-05/0.1638, allocations: 329.4 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.1639, allocations: 24.61 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.1639, allocations: 76.7 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.164, allocations: 60.27 kB / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.164, allocations: 0 / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001056/0.1641, allocations: 109 kB / 449.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1641, allocations: 9.25 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1641, allocations: 0 / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1641, allocations: 2.688 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.1642, allocations: 16.92 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1642, allocations: 8 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.1642, allocations: 2.656 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.1642, allocations: 2.781 kB / 449.9 MB, free: 40.66 MB / 410.7 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 5.216e-05/0.1643, allocations: 129 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1643, allocations: 9.672 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1644, allocations: 117.3 kB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1644, allocations: 2.906 kB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1644, allocations: 6.422 kB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1644, allocations: 0 / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1647, allocations: 351.3 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1647, allocations: 0 / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.1647, allocations: 11.91 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1647, allocations: 2.906 kB / 450.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1647, allocations: 4 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1647, allocations: 2.875 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1647, allocations: 0 / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1648, allocations: 216 kB / 450.8 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.1648, allocations: 9.906 kB / 450.8 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1648, allocations: 2.906 kB / 450.8 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.1649, allocations: 10.84 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1649, allocations: 10.09 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1649, allocations: 3.219 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.165, allocations: 130.5 kB / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.165, allocations: 3.125 kB / 450.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.1652, allocations: 48.45 kB / 451 MB, free: 39.88 MB / 410.7 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.0008582/0.166, allocations: 0.6026 MB / 451.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1662, allocations: 58.75 kB / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1662, allocations: 0 / 451.6 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.1662, allocations: 27.48 kB / 451.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1664, allocations: 40.34 kB / 451.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.1667, allocations: 237.7 kB / 451.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.403e-05/0.1668, allocations: 93.53 kB / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1668, allocations: 27.17 kB / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1668, allocations: 0 / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002687/0.1695, allocations: 2.457 MB / 454.5 MB, free: 39.08 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.880987789481878]