Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001321/0.001321, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001471/0.001471, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2164/0.2164, allocations: 44.92 MB / 359.6 MB, free: 6.277 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [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.002038/0.002038, allocations: 68.19 kB / 0.4944 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 65.47 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003823/0.3281, allocations: 1.938 MB / 0.5602 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3302, allocations: 1.155 MB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3303, allocations: 3.938 kB / 0.5613 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.3307, allocations: 159.5 kB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.3312, allocations: 187.2 kB / 0.5617 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3316, allocations: 119.6 kB / 0.5618 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.3319, allocations: 247.3 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3321, allocations: 21.95 kB / 0.562 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3323, allocations: 119.5 kB / 0.5622 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3325, allocations: 143.5 kB / 0.5623 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3325, allocations: 8 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3327, allocations: 63.98 kB / 0.5624 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.3328, allocations: 59.75 kB / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.3329, allocations: 79.31 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.3332, allocations: 237.3 kB / 0.5627 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3332, allocations: 0 / 0.5627 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3333, allocations: 0 / 0.5627 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3333, allocations: 0 / 0.5627 GB, free: 3.156 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007951/0.3341, allocations: 476.5 kB / 0.5632 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3341, allocations: 8.031 kB / 0.5632 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.3341, allocations: 36.67 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.3345, allocations: 222.6 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3346, allocations: 12.38 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.3346, allocations: 12.12 kB / 0.5635 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3348, allocations: 106.2 kB / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3349, allocations: 3.938 kB / 0.5636 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3349, allocations: 8 kB / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3349, allocations: 0 / 0.5636 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.335, allocations: 47.94 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.3356, allocations: 447.8 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.336, allocations: 113.2 kB / 0.5641 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3361, allocations: 49.7 kB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3362, allocations: 7.984 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.3364, allocations: 117 kB / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.3364, allocations: 0 / 0.5643 GB, free: 1.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001377/0.3378, allocations: 493.7 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.3378, allocations: 89.09 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.3383, allocations: 372.5 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3383, allocations: 33.7 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3384, allocations: 140.5 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.411e-05/0.3385, allocations: 79.38 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.3386, allocations: 45.64 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3388, allocations: 350.8 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3389, allocations: 47.98 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3391, allocations: 95.33 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3394, allocations: 159.4 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3394, allocations: 0 / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004329/0.3398, allocations: 237.4 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3398, allocations: 7.938 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3398, allocations: 0 / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3399, allocations: 4 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.34, allocations: 43.98 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.34, allocations: 0 / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.3401, allocations: 23.98 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3401, allocations: 8 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001804/0.3403, allocations: 158.3 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.3404, allocations: 35.69 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3409, allocations: 263.5 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3409, allocations: 4 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3409, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3409, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.3419, allocations: 0.695 MB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3419, allocations: 0 / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.342, allocations: 35.92 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.342, allocations: 4 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.342, allocations: 4 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.342, allocations: 8.125 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.342, allocations: 0 / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.3425, allocations: 429.8 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.3426, allocations: 19.86 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3426, allocations: 8 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3428, allocations: 11.98 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.3428, allocations: 19.91 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3428, allocations: 12 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.3431, allocations: 275 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3431, allocations: 0 / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3435, allocations: 55.92 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002018/0.3455, allocations: 0.5228 MB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.3459, allocations: 145 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3459, allocations: 0 / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3461, allocations: 76.28 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.3466, allocations: 74.62 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.3476, allocations: 0.5257 MB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.348, allocations: 0.7636 MB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.3481, allocations: 35.42 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3481, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Templates: time 0.006447/0.3545, allocations: 3.607 MB / 0.574 GB, free: 7.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.073639687150717]