Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008012/0.0008012, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003264/0.003264, allocations: 163.5 kB / 24.7 MB, free: 9.426 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.8298/0.8298, allocations: 177.1 MB / 205 MB, free: 5.727 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.2303/0.2303, allocations: 34.25 MB / 295.7 MB, free: 0.7188 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.105e-05, allocations: 2.281 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.1532/0.1532, allocations: 1.87 MB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1543, allocations: 1.076 MB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1544, allocations: 3.938 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1547, allocations: 164 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1549, allocations: 195.8 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.1551, allocations: 112.2 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1552, allocations: 256.6 kB / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.1553, allocations: 21.73 kB / 447.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.1554, allocations: 132.7 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1555, allocations: 128.7 kB / 447.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1555, allocations: 10.69 kB / 447.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.381e-05/0.1556, allocations: 66.86 kB / 447.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1557, allocations: 60.91 kB / 447.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1557, allocations: 46.05 kB / 447.6 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1559, allocations: 222.4 kB / 447.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1559, allocations: 0 / 447.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1559, allocations: 0.5 kB / 447.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1559, allocations: 1.25 kB / 447.9 MB, free: 42.65 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000391/0.1563, allocations: 477.1 kB / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.1563, allocations: 16.22 kB / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1563, allocations: 27.72 kB / 448.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1565, allocations: 206.8 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1566, allocations: 8.75 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1566, allocations: 13.17 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1567, allocations: 115.7 kB / 448.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1567, allocations: 7.875 kB / 448.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1567, allocations: 2.625 kB / 448.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1567, allocations: 2.75 kB / 448.7 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/0.1568, allocations: 50.44 kB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.1571, allocations: 406.9 kB / 449.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1573, allocations: 121.8 kB / 449.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.1573, allocations: 49.55 kB / 449.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1574, allocations: 6.969 kB / 449.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.1575, allocations: 114 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1575, allocations: 4 kB / 449.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006662/0.1581, allocations: 0.4967 MB / 450 MB, free: 41.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1582, allocations: 83.95 kB / 450 MB, free: 41.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1584, allocations: 387.5 kB / 450.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1584, allocations: 35.84 kB / 450.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1584, allocations: 142.3 kB / 450.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1584, allocations: 81.36 kB / 450.7 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1585, allocations: 43.8 kB / 450.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.169e-05/0.1585, allocations: 345.2 kB / 451.1 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1586, allocations: 62.45 kB / 451.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.1586, allocations: 92.33 kB / 451.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1588, allocations: 160.6 kB / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1588, allocations: 2.938 kB / 451.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001895/0.159, allocations: 231.4 kB / 451.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.159, allocations: 11.34 kB / 451.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.159, allocations: 0 / 451.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.159, allocations: 2.75 kB / 451.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.1591, allocations: 48.56 kB / 451.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1591, allocations: 6.812 kB / 451.7 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1591, allocations: 14.3 kB / 451.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1591, allocations: 8.844 kB / 451.7 MB, free: 40.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.734e-05/0.1592, allocations: 159.1 kB / 451.8 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1592, allocations: 30.16 kB / 451.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1595, allocations: 289.8 kB / 452.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1595, allocations: 3.219 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1595, allocations: 3.938 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1595, allocations: 3.094 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.1599, allocations: 0.6625 MB / 452.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1599, allocations: 2.906 kB / 452.8 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.1599, allocations: 32.48 kB / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1599, allocations: 6.969 kB / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1599, allocations: 8.781 kB / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1599, allocations: 0 / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1599, allocations: 6.875 kB / 452.9 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1601, allocations: 435.5 kB / 453.3 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.1601, allocations: 28.44 kB / 453.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1602, allocations: 6.141 kB / 453.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1602, allocations: 9.844 kB / 453.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1603, allocations: 26.48 kB / 453.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1603, allocations: 12.62 kB / 453.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1604, allocations: 288.8 kB / 453.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1604, allocations: 0 / 453.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.1606, allocations: 53.14 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007314/0.1613, allocations: 0.5572 MB / 454.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1615, allocations: 158.6 kB / 454.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1615, allocations: 2.875 kB / 454.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1616, allocations: 83.25 kB / 454.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1619, allocations: 65.88 kB / 454.6 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1624, allocations: 0.5384 MB / 455.1 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.513e-05/0.1624, allocations: 158.7 kB / 455.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1625, allocations: 35.14 kB / 455.3 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1625, allocations: 0 / 455.3 MB, free: 38.08 MB / 410.7 MB Notification: Performance of Templates: time 0.002881/0.1654, allocations: 3.709 MB / 459 MB, free: 37.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.8526335917413235]