Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.0009697/0.0009697, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000994/0.000994, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 1.009/1.009, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1421/0.1421, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.329e-05, allocations: 6.25 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.0021/0.002113, allocations: 2.3 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003508, allocations: 1.364 MB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003625, allocations: 7.938 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.003982, allocations: 290.8 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.004358, allocations: 354.4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004609, allocations: 219.4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.004941, allocations: 0.5762 MB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005048, allocations: 45.25 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.005266, allocations: 295.2 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.005442, allocations: 259.3 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.00547, allocations: 20 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.005548, allocations: 63.91 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.005622, allocations: 127.5 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.005686, allocations: 99.56 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.005906, allocations: 322.6 kB / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005907, allocations: 0 / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005908, allocations: 0 / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005913, allocations: 0 / 385.7 MB, free: 16.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005588/0.006472, allocations: 0.8418 MB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.006499, allocations: 12.02 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.006564, allocations: 68.56 kB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.006808, allocations: 347.2 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006825, allocations: 8.375 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.00685, allocations: 24.31 kB / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.007013, allocations: 198.2 kB / 387.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007024, allocations: 11.88 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.007038, allocations: 11.98 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.007043, allocations: 0 / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.007107, allocations: 55.88 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.007491, allocations: 0.941 MB / 388.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.00768, allocations: 267.6 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.007734, allocations: 74.41 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.007747, allocations: 8 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.007902, allocations: 203.2 kB / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.162e-06/0.007903, allocations: 0 / 388.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006734/0.008576, allocations: 0.5709 MB / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.008602, allocations: 170.1 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.008849, allocations: 0.557 MB / 390 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.008866, allocations: 37.7 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.008955, allocations: 299.6 kB / 390.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.009013, allocations: 127 kB / 390.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.00907, allocations: 83.81 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.009138, allocations: 0.5546 MB / 391.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.009187, allocations: 48.95 kB / 391.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.009262, allocations: 157.8 kB / 391.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.009403, allocations: 226.8 kB / 391.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009405, allocations: 0 / 391.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002461/0.009651, allocations: 328.9 kB / 391.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.009661, allocations: 4 kB / 391.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009666, allocations: 8.156 kB / 391.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.009676, allocations: 4 kB / 391.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.009825, allocations: 87.77 kB / 392 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.009829, allocations: 11.92 kB / 392 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.00992, allocations: 16 kB / 392 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.009934, allocations: 19.98 kB / 392 MB, free: 10.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 8.452e-05/0.01002, allocations: 183.1 kB / 392.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.01007, allocations: 79.56 kB / 392.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.0104, allocations: 390.3 kB / 392.6 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.0104, allocations: 8 kB / 392.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01041, allocations: 3.938 kB / 392.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01041, allocations: 7.984 kB / 392.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.01099, allocations: 1.301 MB / 394 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.011, allocations: 8 kB / 394 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.01108, allocations: 59.91 kB / 394 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01108, allocations: 12.09 kB / 394 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01109, allocations: 12 kB / 394 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0111, allocations: 7.984 kB / 394.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0111, allocations: 0 / 394.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.01143, allocations: 1.018 MB / 395.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.01146, allocations: 51.61 kB / 395.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.0115, allocations: 16 kB / 395.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01166, allocations: 15.98 kB / 395.2 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.01171, allocations: 47.81 kB / 395.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.01173, allocations: 19.98 kB / 395.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.01187, allocations: 366.7 kB / 395.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 0 / 395.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.0122, allocations: 87.94 kB / 395.7 MB, free: 6.426 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008473/0.01305, allocations: 459 kB / 396.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.01325, allocations: 216.3 kB / 396.3 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01325, allocations: 0 / 396.3 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.01335, allocations: 123.5 kB / 396.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.01393, allocations: 162.6 kB / 396.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.01481, allocations: 0.8573 MB / 397.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.01489, allocations: 145.8 kB / 397.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.01501, allocations: 75.41 kB / 397.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.01518, allocations: 178.1 kB / 397.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01518, allocations: 0 / 397.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of Templates: time 0.007804/0.02298, allocations: 6.99 MB / 404.8 MB, free: 13.45 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2702179211191833]