Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.00226, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007159/0.0007159, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001858, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9046/0.9046, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1824/1.087, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1456/0.1456, allocations: 32.81 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02144/0.167, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.876e-05, allocations: 2.312 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002087/0.002105, allocations: 1.796 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009374/0.003043, allocations: 0.8765 MB / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.003098, allocations: 0 / 288.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.003258, allocations: 35.77 kB / 288.6 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.003387, allocations: 59.64 kB / 288.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003584, allocations: 115.5 kB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.003711, allocations: 91.7 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.00378, allocations: 20.05 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003883, allocations: 71.88 kB / 289 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.003944, allocations: 15.92 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.00396, allocations: 4 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.004032, allocations: 47.86 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.004071, allocations: 19.92 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.004096, allocations: 15.94 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004232, allocations: 95.61 kB / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.004241, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004241, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.004248, allocations: 0 / 289.2 MB, free: 5.047 MB / 282.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.0003321/0.00458, allocations: 316 kB / 289.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.004606, allocations: 12.03 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.004633, allocations: 8.922 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.004757, allocations: 149.4 kB / 289.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004768, allocations: 384 / 289.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004784, allocations: 4.375 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.004872, allocations: 65.77 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.004879, allocations: 3.938 kB / 289.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.004885, allocations: 0 / 289.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.00489, allocations: 4 kB / 289.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.004911, allocations: 7.984 kB / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.005081, allocations: 173.8 kB / 289.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/0.00517, allocations: 89.36 kB / 290 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.005186, allocations: 8.859 kB / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.005195, allocations: 0 / 290 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/0.005273, allocations: 74.08 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.005274, allocations: 0 / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002522/0.005526, allocations: 113.5 kB / 290.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005551, allocations: 55.41 kB / 290.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.005635, allocations: 157.7 kB / 290.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.005649, allocations: 29.7 kB / 290.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.005677, allocations: 96.06 kB / 290.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.005699, allocations: 27.72 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.005727, allocations: 25.7 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.005796, allocations: 330.8 kB / 290.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.005809, allocations: 10.83 kB / 290.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.005829, allocations: 21.72 kB / 290.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.005867, allocations: 40.5 kB / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.005868, allocations: 0 / 291 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.614e-05/0.005934, allocations: 76.44 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.005945, allocations: 8 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005948, allocations: 0 / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.005957, allocations: 0 / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.006019, allocations: 23.92 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.006022, allocations: 4.031 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.006046, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.00605, allocations: 7.984 kB / 291.1 MB, free: 2.957 MB / 282.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 6.01e-05/0.006111, allocations: 116.7 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.006123, allocations: 11.92 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/0.006213, allocations: 70.39 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006215, allocations: 4 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.006216, allocations: 0 / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.00622, allocations: 3.984 kB / 291.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.00641, allocations: 299.4 kB / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006412, allocations: 0 / 291.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.006437, allocations: 12 kB / 291.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.006447, allocations: 7.953 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006448, allocations: 384 / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.006454, allocations: 0 / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.006457, allocations: 11.98 kB / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006458, allocations: 0 / 291.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.788e-05/0.006556, allocations: 218.9 kB / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006569, allocations: 0 / 291.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.006605, allocations: 4 kB / 291.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.006627, allocations: 16.02 kB / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.006636, allocations: 0 / 291.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.556e-05/0.006671, allocations: 46.89 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006671, allocations: 0 / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000138/0.006809, allocations: 27.89 kB / 291.9 MB, free: 2.059 MB / 282.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.001374/0.008183, allocations: 0.6375 MB / 292.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.008291, allocations: 48.81 kB / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.008299, allocations: 0 / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.008335, allocations: 24.8 kB / 292.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.008554, allocations: 196 kB / 292.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.008959, allocations: 223.5 kB / 293 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.009005, allocations: 67.34 kB / 293.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.009039, allocations: 12.48 kB / 293.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.009102, allocations: 67.36 kB / 293.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009103, allocations: 0 / 293.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of Templates: time 0.003158/0.01226, allocations: 2.018 MB / 295.2 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.960194311104715]