Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001407/0.001407, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001517/0.001517, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.527/1.527, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2699/0.2699, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 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.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.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.91 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3156, allocations: 65.47 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00381/0.3194, allocations: 2.24 MB / 0.5604 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3219, allocations: 1.338 MB / 0.5617 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3221, allocations: 11.94 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.3226, allocations: 298.9 kB / 0.562 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.3233, allocations: 338.7 kB / 0.5624 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3238, allocations: 219.5 kB / 0.5626 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.3244, allocations: 0.5646 MB / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3246, allocations: 39.94 kB / 0.5632 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.3249, allocations: 239 kB / 0.5634 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.3252, allocations: 294.8 kB / 0.5637 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.3253, allocations: 20 kB / 0.5637 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3254, allocations: 55.98 kB / 0.5637 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3256, allocations: 119.5 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3257, allocations: 142.9 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.3263, allocations: 441.5 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3263, allocations: 4 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3263, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3263, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 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.001245/0.3275, allocations: 0.7323 MB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3276, allocations: 12.03 kB / 0.5651 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3277, allocations: 60.56 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.3283, allocations: 357.1 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3284, allocations: 12.38 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.3284, allocations: 16.12 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.3288, allocations: 205.8 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3288, allocations: 8 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3289, allocations: 0 / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3289, allocations: 11.94 kB / 0.5658 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.3291, allocations: 115.8 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.3301, allocations: 0.786 MB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.3308, allocations: 285.2 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.331, allocations: 96.25 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3311, allocations: 4 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.3315, allocations: 231.5 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.3315, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002201/0.3337, allocations: 1.083 MB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3338, allocations: 162.2 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.3347, allocations: 0.6787 MB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3347, allocations: 41.64 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3349, allocations: 233 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.335, allocations: 134.9 kB / 0.5695 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3351, allocations: 66.14 kB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3354, allocations: 374.8 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3356, allocations: 108.8 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3359, allocations: 192.8 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.3365, allocations: 308.8 kB / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3365, allocations: 0 / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007945/0.3373, allocations: 428.9 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3373, allocations: 4 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3373, allocations: 4 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3373, allocations: 4 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3377, allocations: 89.52 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3377, allocations: 4 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3379, allocations: 23.98 kB / 0.571 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3379, allocations: 12.16 kB / 0.5711 GB, free: 9.965 MB / 414.1 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 0.0002454/0.3381, allocations: 212.3 kB / 0.5713 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3383, allocations: 67.52 kB / 0.5713 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3393, allocations: 498.1 kB / 0.5718 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3393, allocations: 11.98 kB / 0.5718 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3393, allocations: 0 / 0.5718 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3393, allocations: 0 / 0.5718 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.3411, allocations: 1.237 MB / 0.573 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3411, allocations: 0 / 0.573 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3412, allocations: 55.91 kB / 0.5731 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.3412, allocations: 4 kB / 0.5731 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.3413, allocations: 20 kB / 0.5731 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.3413, allocations: 8.375 kB / 0.5731 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.3413, allocations: 11.88 kB / 0.5731 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3424, allocations: 0.8558 MB / 0.574 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.3425, allocations: 55.62 kB / 0.574 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3425, allocations: 15.98 kB / 0.574 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.3429, allocations: 23.92 kB / 0.574 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.343, allocations: 43.86 kB / 0.5741 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.343, allocations: 23.98 kB / 0.5741 GB, free: 6.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.3436, allocations: 0.4987 MB / 0.5746 GB, free: 6.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3436, allocations: 0 / 0.5746 GB, free: 6.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.3442, allocations: 87.94 kB / 0.5747 GB, free: 6.148 MB / 414.1 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.001991/0.3462, allocations: 0.5009 MB / 0.5752 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.3469, allocations: 303.4 kB / 0.5755 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3469, allocations: 3.938 kB / 0.5755 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3472, allocations: 153.1 kB / 0.5756 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3483, allocations: 147.3 kB / 0.5757 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.3498, allocations: 0.9833 MB / 0.5767 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3501, allocations: 264 kB / 0.577 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3503, allocations: 59.41 kB / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3503, allocations: 0 / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Templates: time 0.01136/0.3616, allocations: 6.783 MB / 0.5836 GB, free: 13.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 8.873810610268265]