Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001773/0.001773, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001905/0.001905, allocations: 209.5 kB / 23.73 MB, free: 4.387 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.607/1.607, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2302/0.2302, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [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.002115/0.002115, allocations: 70.23 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 65.47 MB / 0.5575 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003292/0.3573, allocations: 1.71 MB / 0.5592 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3591, allocations: 0.9677 MB / 0.5601 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.3592, allocations: 3.938 kB / 0.5601 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.3595, allocations: 83.7 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.3599, allocations: 119.5 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3601, allocations: 79.66 kB / 0.5604 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3603, allocations: 115.7 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3604, allocations: 11.98 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.3605, allocations: 59.7 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3606, allocations: 55.81 kB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3606, allocations: 4 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3607, allocations: 43.98 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.3608, allocations: 27.84 kB / 0.5607 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.3608, allocations: 31.73 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.361, allocations: 125.9 kB / 0.5609 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.361, allocations: 3.984 kB / 0.5609 GB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.361, allocations: 4 kB / 0.5609 GB, free: 3.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.361, allocations: 0 / 0.5609 GB, free: 3.996 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.0005901/0.3616, allocations: 357.5 kB / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3617, allocations: 8.031 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3617, allocations: 12.84 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.362, allocations: 162.2 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.362, allocations: 4.375 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.362, allocations: 4.125 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3622, allocations: 57.67 kB / 0.5614 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3622, allocations: 3.984 kB / 0.5615 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3622, allocations: 4 kB / 0.5615 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3622, allocations: 0 / 0.5615 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.3623, allocations: 19.98 kB / 0.5615 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.3627, allocations: 244.5 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.363, allocations: 54.69 kB / 0.5618 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.363, allocations: 20.84 kB / 0.5618 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.363, allocations: 0 / 0.5618 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.3632, allocations: 67.39 kB / 0.5618 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3632, allocations: 4 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005988/0.3638, allocations: 185.3 kB / 0.562 GB, free: 2.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3638, allocations: 59.39 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.3641, allocations: 223.5 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3641, allocations: 37.62 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3642, allocations: 104.1 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.3642, allocations: 31.77 kB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3643, allocations: 17.72 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3644, allocations: 334.8 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.3645, allocations: 20 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.3646, allocations: 45.64 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3647, allocations: 58.08 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3647, allocations: 0 / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.3649, allocations: 109.5 kB / 0.563 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3649, allocations: 6.344 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3649, allocations: 7.938 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3649, allocations: 4 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.365, allocations: 19.92 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3651, allocations: 4.031 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.3651, allocations: 4 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3651, allocations: 4 kB / 0.5631 GB, free: 1.551 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.0001145/0.3652, allocations: 130.3 kB / 0.5632 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.3653, allocations: 15.91 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3655, allocations: 127.1 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3655, allocations: 4 kB / 0.5633 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3655, allocations: 0 / 0.5633 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3655, allocations: 0 / 0.5633 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.366, allocations: 354.9 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.366, allocations: 0 / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3661, allocations: 11.98 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3661, allocations: 0 / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3661, allocations: 4 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3661, allocations: 0 / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3661, allocations: 3.938 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3664, allocations: 216.2 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.3664, allocations: 11.91 kB / 0.5639 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3664, allocations: 7.984 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.3665, allocations: 8.406 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3665, allocations: 15.86 kB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3666, allocations: 4 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3667, allocations: 165.2 kB / 0.5641 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3667, allocations: 3.938 kB / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.367, allocations: 31.92 kB / 0.5641 GB, free: 388 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.001922/0.3689, allocations: 491.9 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3691, allocations: 59.91 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3691, allocations: 0 / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.3692, allocations: 31.98 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3696, allocations: 42.47 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.3702, allocations: 255.3 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3703, allocations: 104.7 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.3703, allocations: 17.27 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3704, allocations: 15.44 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3704, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Templates: time 0.005471/0.3759, allocations: 1.932 MB / 0.567 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.384393077343702]