Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001185/0.001185, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002224/0.00341, 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.0007242/0.0007242, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002, 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.9743/0.9743, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2035/1.178, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1465/0.1465, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02318/0.1697, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.204e-05, allocations: 4.984 kB / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002515/0.002537, allocations: 1.792 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003749, allocations: 0.8804 MB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.00383, allocations: 4 kB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.004069, allocations: 35.72 kB / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.004219, allocations: 63.64 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.00443, allocations: 111.5 kB / 288.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004577, allocations: 99.69 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.004652, allocations: 8.172 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.004764, allocations: 75.78 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.004839, allocations: 27.89 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004855, allocations: 4 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.004933, allocations: 43.92 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.004976, allocations: 15.94 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.005004, allocations: 15.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.005153, allocations: 95.61 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.005166, allocations: 3.938 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.2e-07/0.005166, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.005175, allocations: 0 / 289.2 MB, free: 5.031 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.000396/0.005571, allocations: 323.9 kB / 289.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.005604, allocations: 12.03 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.005636, allocations: 12.92 kB / 289.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.005774, allocations: 144.6 kB / 289.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005787, allocations: 4.312 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.005807, allocations: 12.38 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.005902, allocations: 57.77 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005912, allocations: 3.938 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.00592, allocations: 8 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.005926, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.005948, allocations: 7.984 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.00614, allocations: 166 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.006228, allocations: 89.22 kB / 290 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.006249, allocations: 12.92 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.006261, allocations: 8 kB / 290 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.16e-05/0.006353, allocations: 62.14 kB / 290.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006354, allocations: 0 / 290.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002844/0.006639, allocations: 113.5 kB / 290.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.006667, allocations: 51.41 kB / 290.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.006764, allocations: 164.3 kB / 290.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.006778, allocations: 29.7 kB / 290.5 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.006811, allocations: 96.11 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.006834, allocations: 27.72 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.006861, allocations: 21.7 kB / 290.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.006937, allocations: 330.8 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.006952, allocations: 10.83 kB / 290.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.006974, allocations: 29.64 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.007013, allocations: 40.52 kB / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007014, allocations: 0 / 291 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.695e-05/0.007091, allocations: 76.44 kB / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.007102, allocations: 4 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.007105, allocations: 0 / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007118, allocations: 3.984 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.007177, allocations: 24.02 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.00718, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.007206, allocations: 8 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.007211, allocations: 0 / 291.1 MB, free: 2.938 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 5.976e-05/0.007271, allocations: 116.6 kB / 291.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.007285, allocations: 19.92 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.007381, allocations: 74.38 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007383, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.007384, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007387, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.007585, allocations: 303.4 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007586, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.007612, allocations: 8.375 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.007623, allocations: 11.94 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007626, allocations: 4 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.007632, allocations: 4 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007633, allocations: 0 / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007634, allocations: 0 / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.007732, allocations: 219 kB / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.007745, allocations: 32 / 291.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.007782, allocations: 11.98 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.007803, allocations: 4 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.007814, allocations: 7.984 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.00785, allocations: 45.41 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00785, allocations: 0 / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.008019, allocations: 27.86 kB / 292 MB, free: 2.031 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.001322/0.009342, allocations: 0.6433 MB / 292.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.009433, allocations: 52.72 kB / 292.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.00944, allocations: 4 kB / 292.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.009475, allocations: 33 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009697, allocations: 180.6 kB / 292.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.0101, allocations: 219.5 kB / 293.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.01014, allocations: 67.33 kB / 293.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.01017, allocations: 8.5 kB / 293.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.01024, allocations: 71.36 kB / 293.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01024, allocations: 0 / 293.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of Templates: time 0.003269/0.01351, allocations: 2.029 MB / 295.2 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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: 3.032873139716685]