Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.002168/0.002168, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002348/0.002348, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2189/0.2189, allocations: 44.93 MB / 359.6 MB, free: 6.031 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [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.002146/0.002146, allocations: 71.89 kB / 0.4943 GB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 65.48 MB / 0.5583 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.0036/0.3607, allocations: 1.702 MB / 0.5599 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3626, allocations: 0.9715 MB / 0.5609 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.3627, allocations: 3.938 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.363, allocations: 47.81 kB / 0.5609 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.3634, allocations: 107.5 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3636, allocations: 79.67 kB / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3638, allocations: 103.7 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3639, allocations: 8 kB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.364, allocations: 43.8 kB / 0.5612 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3641, allocations: 31.83 kB / 0.5613 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3641, allocations: 7.938 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3642, allocations: 39.98 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.3643, allocations: 23.92 kB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.3644, allocations: 31.73 kB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3647, allocations: 141.8 kB / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3647, allocations: 0 / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3647, allocations: 0 / 0.5615 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3647, allocations: 0 / 0.5615 GB, free: 4.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007235/0.3654, allocations: 365.3 kB / 0.5619 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3654, allocations: 11.97 kB / 0.5619 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.3655, allocations: 8.891 kB / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3658, allocations: 163.1 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3658, allocations: 384 / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3658, allocations: 12.11 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.366, allocations: 57.67 kB / 0.5621 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.366, allocations: 0 / 0.5621 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.366, allocations: 0 / 0.5621 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.366, allocations: 3.984 kB / 0.5621 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.3661, allocations: 23.98 kB / 0.5621 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.3665, allocations: 244.4 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3667, allocations: 54.67 kB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.3668, allocations: 20.84 kB / 0.5624 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3668, allocations: 4 kB / 0.5624 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.367, allocations: 71.33 kB / 0.5625 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.367, allocations: 3.938 kB / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006617/0.3677, allocations: 181.3 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3677, allocations: 51.41 kB / 0.5627 GB, free: 2.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.368, allocations: 242.9 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3681, allocations: 37.69 kB / 0.563 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3682, allocations: 112.1 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3682, allocations: 23.83 kB / 0.5631 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.3683, allocations: 25.72 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3685, allocations: 334.8 kB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3685, allocations: 20 kB / 0.5635 GB, free: 1.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.3686, allocations: 38.08 kB / 0.5635 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3687, allocations: 61.64 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3687, allocations: 4 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.3689, allocations: 105.6 kB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.369, allocations: 4 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.369, allocations: 0 / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.369, allocations: 4.031 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3691, allocations: 27.92 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3691, allocations: 0 / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.3691, allocations: 0 / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3692, allocations: 4 kB / 0.5637 GB, free: 1.617 MB / 398.1 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 0.0001367/0.3693, allocations: 136.9 kB / 0.5639 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3693, allocations: 15.91 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3696, allocations: 122.9 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3696, allocations: 4 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3696, allocations: 0 / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3696, allocations: 7.984 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.3702, allocations: 354.9 kB / 0.5643 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3702, allocations: 3.984 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.3702, allocations: 12 kB / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3702, allocations: 0 / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3702, allocations: 0 / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3702, allocations: 3.938 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3702, allocations: 7.938 kB / 0.5644 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3705, allocations: 220.5 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.3705, allocations: 15.94 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.3706, allocations: 3.938 kB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.3706, allocations: 4 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3707, allocations: 15.92 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3707, allocations: 0 / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3709, allocations: 179.2 kB / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3709, allocations: 0 / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3711, allocations: 24 kB / 0.5648 GB, free: 440 kB / 398.1 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.001861/0.373, allocations: 495.3 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3732, allocations: 55.92 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3732, allocations: 0 / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.3733, allocations: 31.92 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3736, allocations: 50.16 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.3742, allocations: 300.9 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3743, allocations: 100.7 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.3744, allocations: 23.41 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3744, allocations: 3.938 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Templates: time 0.004235/0.3786, allocations: 2.078 MB / 0.5679 GB, free: 13.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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: 7.966458152979612]