Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001513/0.001513, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001766/0.001766, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.609/1.609, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2369/0.2369, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [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.00216/0.00216, allocations: 71.88 kB / 0.4936 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3642, allocations: 65.47 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003411/0.3676, allocations: 1.714 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3695, allocations: 0.9599 MB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.3695, allocations: 7.875 kB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.3699, allocations: 83.75 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.3702, allocations: 123.5 kB / 0.5603 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.3704, allocations: 79.67 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3706, allocations: 111.7 kB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3707, allocations: 11.98 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3708, allocations: 51.78 kB / 0.5606 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.371, allocations: 63.73 kB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.371, allocations: 4 kB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3711, allocations: 47.98 kB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.3712, allocations: 27.84 kB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3712, allocations: 35.8 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3715, allocations: 117.9 kB / 0.5609 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3715, allocations: 0 / 0.5609 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3715, allocations: 4 kB / 0.5609 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3715, allocations: 0 / 0.5609 GB, free: 4.02 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.000632/0.3721, allocations: 357.4 kB / 0.5612 GB, free: 3.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3721, allocations: 8.031 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.3722, allocations: 16.84 kB / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3725, allocations: 158.3 kB / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3725, allocations: 8.359 kB / 0.5614 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.3726, allocations: 12.12 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3727, allocations: 53.67 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3727, allocations: 0 / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3727, allocations: 0 / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3727, allocations: 0 / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.3728, allocations: 27.92 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.3732, allocations: 240.5 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3734, allocations: 50.67 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.3734, allocations: 24.84 kB / 0.5618 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3735, allocations: 4 kB / 0.5618 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.3736, allocations: 71.33 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3736, allocations: 0 / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.3743, allocations: 185.3 kB / 0.562 GB, free: 2.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3743, allocations: 55.39 kB / 0.5621 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3746, allocations: 227.5 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3746, allocations: 33.7 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.3747, allocations: 104.1 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3747, allocations: 27.78 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.3748, allocations: 29.72 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3749, allocations: 326.8 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.375, allocations: 27.92 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.3751, allocations: 37.64 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3752, allocations: 65.64 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3752, allocations: 0 / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.3754, allocations: 97.59 kB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3755, allocations: 11.98 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3755, allocations: 3.938 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3755, allocations: 4.031 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.3756, allocations: 12 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.3756, allocations: 4.156 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.3757, allocations: 7.984 kB / 0.5631 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3757, allocations: 4 kB / 0.5631 GB, free: 1.574 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.0001339/0.3758, allocations: 132.8 kB / 0.5632 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3758, allocations: 12.28 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.3761, allocations: 131 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3761, allocations: 0 / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3761, allocations: 4 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3761, allocations: 4 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.3767, allocations: 350.9 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3767, allocations: 0 / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3767, allocations: 11.94 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3767, allocations: 4 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3767, allocations: 4 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3767, allocations: 0 / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.3767, allocations: 11.92 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.377, allocations: 216.5 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3771, allocations: 15.89 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3771, allocations: 4 kB / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.3772, allocations: 8.078 kB / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3772, allocations: 7.875 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3772, allocations: 7.984 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.3774, allocations: 173.1 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3774, allocations: 0 / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3777, allocations: 23.94 kB / 0.5641 GB, free: 408 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.001966/0.3796, allocations: 495.9 kB / 0.5646 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3798, allocations: 59.92 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3798, allocations: 0 / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.3799, allocations: 35.91 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3803, allocations: 46.22 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.3809, allocations: 251.3 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.381, allocations: 92.73 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.3811, allocations: 13.28 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3811, allocations: 19.42 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3811, allocations: 4 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005529/0.3866, allocations: 1.938 MB / 0.567 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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: 5.343146327883005]