Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009096/0.0009096, 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.003725/0.003725, allocations: 163.2 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.8816/0.8816, allocations: 177.1 MB / 205 MB, free: 5.73 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.2168/0.2168, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.561e-05, allocations: 3.688 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.1582/0.1582, allocations: 1.712 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1596, allocations: 1.674 MB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1596, allocations: 0 / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1599, allocations: 37.86 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1601, allocations: 103.4 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.1603, allocations: 80.22 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1604, allocations: 110 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.1605, allocations: 16.75 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.1605, allocations: 56.59 kB / 447.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.1606, allocations: 33 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1607, allocations: 5.594 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1608, allocations: 110.4 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1608, allocations: 17.97 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.1608, allocations: 23.31 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.161, allocations: 180.9 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.161, allocations: 2.875 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.161, allocations: 0.7188 kB / 447.7 MB, free: 42.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.161, allocations: 0 / 447.7 MB, free: 42.46 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.0003825/0.1614, allocations: 354.6 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1615, allocations: 8.906 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1615, allocations: 13.64 kB / 448 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1617, allocations: 147.5 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1617, allocations: 5.875 kB / 448.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1617, allocations: 8.266 kB / 448.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1618, allocations: 99.23 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1619, allocations: 0.5625 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1619, allocations: 0 / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1619, allocations: 2.781 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.1619, allocations: 25.31 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.1621, allocations: 236.3 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1622, allocations: 60.84 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.1623, allocations: 20.33 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1623, allocations: 0 / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.413e-05/0.1624, allocations: 69.09 kB / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.1624, allocations: 0 / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003608/0.1627, allocations: 179 kB / 448.9 MB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1628, allocations: 80.2 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.1629, allocations: 168.9 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.1629, allocations: 25.7 kB / 449.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.1629, allocations: 100.5 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1629, allocations: 23.08 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.1629, allocations: 24.91 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.163, allocations: 328.1 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.163, allocations: 28.72 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.163, allocations: 69.03 kB / 449.7 MB, free: 40.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.089e-05/0.1631, allocations: 63.7 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1631, allocations: 0 / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.64e-05/0.1632, allocations: 102.8 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1632, allocations: 11.97 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1632, allocations: 0 / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1632, allocations: 2.531 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.1633, allocations: 15.25 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1633, allocations: 2.906 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.1633, allocations: 13.58 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.1633, allocations: 3 kB / 449.9 MB, free: 40.59 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 4.975e-05/0.1634, allocations: 124.7 kB / 450 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1634, allocations: 9.578 kB / 450.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1635, allocations: 124.7 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1635, allocations: 2.781 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1635, allocations: 3.188 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1635, allocations: 3.281 kB / 450.2 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1638, allocations: 348.2 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1638, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.1638, allocations: 11.38 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1638, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1638, allocations: 6.5 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1638, allocations: 4.031 kB / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1638, allocations: 0 / 450.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.1639, allocations: 213.4 kB / 450.8 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.1639, allocations: 10.86 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1639, allocations: 2.781 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.164, allocations: 2.875 kB / 450.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.164, allocations: 17.2 kB / 450.8 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.164, allocations: 6.109 kB / 450.8 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.164, allocations: 128.6 kB / 450.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.164, allocations: 384 / 450.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.1642, allocations: 46.52 kB / 451 MB, free: 39.82 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.0008313/0.1651, allocations: 0.6022 MB / 451.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1652, allocations: 60.36 kB / 451.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1652, allocations: 2.75 kB / 451.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.1652, allocations: 28.47 kB / 451.7 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1654, allocations: 41.42 kB / 451.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.1657, allocations: 238.9 kB / 451.9 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.1658, allocations: 89.89 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1658, allocations: 23.34 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1658, allocations: 0 / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002532/0.1683, allocations: 2.458 MB / 454.5 MB, free: 39.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.7132772617042065]