Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001971/0.001971, 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.002303/0.002303, allocations: 213.2 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.475/1.475, 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.2221/0.2221, allocations: 44.94 MB / 359.6 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [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.002133/0.002133, allocations: 67.89 kB / 0.4943 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3499, allocations: 65.47 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003516/0.3534, allocations: 1.784 MB / 0.56 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3555, allocations: 1.049 MB / 0.561 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3556, allocations: 3.938 kB / 0.561 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.3562, allocations: 311.3 kB / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.3568, allocations: 263.2 kB / 0.5616 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3571, allocations: 103.7 kB / 0.5617 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.3575, allocations: 267.2 kB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.3576, allocations: 5.812 kB / 0.5619 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3578, allocations: 135.5 kB / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.3581, allocations: 219.5 kB / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3581, allocations: 8 kB / 0.5623 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3583, allocations: 51.92 kB / 0.5623 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.3584, allocations: 139.6 kB / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.3586, allocations: 115 kB / 0.5626 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.3591, allocations: 380.6 kB / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3591, allocations: 0 / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3591, allocations: 3.938 kB / 0.5629 GB, free: 2.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3591, allocations: 0 / 0.5629 GB, free: 2.645 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001129/0.3602, allocations: 0.6884 MB / 0.5636 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3603, allocations: 12.03 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.3604, allocations: 56.59 kB / 0.5637 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.3611, allocations: 386.5 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3611, allocations: 384 / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3611, allocations: 12.12 kB / 0.564 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.3613, allocations: 95.28 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3613, allocations: 0 / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3613, allocations: 0 / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3613, allocations: 0 / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3615, allocations: 39.97 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.3619, allocations: 310 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3622, allocations: 105.2 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3623, allocations: 41.69 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3624, allocations: 4 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3626, allocations: 120.9 kB / 0.5647 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.3626, allocations: 4 kB / 0.5647 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005094/0.3631, allocations: 209.7 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3632, allocations: 77.11 kB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3645, allocations: 1.062 MB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.3645, allocations: 33.7 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3648, allocations: 236.1 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.3648, allocations: 31.75 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.3649, allocations: 29.7 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.3652, allocations: 366.8 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3653, allocations: 39.97 kB / 0.5667 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3654, allocations: 59.36 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.3656, allocations: 91.41 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3656, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003511/0.3659, allocations: 189 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3659, allocations: 4 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.366, allocations: 4 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.366, allocations: 4.062 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3661, allocations: 23.98 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3661, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3662, allocations: 11.94 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3662, allocations: 4 kB / 0.5671 GB, free: 14.11 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002451/0.3665, allocations: 225.7 kB / 0.5673 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.3665, allocations: 59.56 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.367, allocations: 206 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.367, allocations: 4 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.367, allocations: 7.984 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.367, allocations: 0 / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3673, allocations: 265.2 kB / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3673, allocations: 0 / 0.5679 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3674, allocations: 11.98 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3674, allocations: 3.938 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3674, allocations: 8 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3674, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3674, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3678, allocations: 225.4 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3679, allocations: 75.53 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.368, allocations: 4 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.368, allocations: 7.984 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3681, allocations: 7.984 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3681, allocations: 11.94 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009056/0.369, allocations: 0.7917 MB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.369, allocations: 0 / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3693, allocations: 43.98 kB / 0.569 GB, free: 12.11 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001652/0.3709, allocations: 449.4 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3712, allocations: 87.83 kB / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3712, allocations: 0 / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3713, allocations: 35.98 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3718, allocations: 80.39 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3732, allocations: 0.9419 MB / 0.5705 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3735, allocations: 249.7 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.3736, allocations: 27.44 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3736, allocations: 0 / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Templates: time 0.009765/0.3834, allocations: 5.345 MB / 0.576 GB, free: 5.039 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.130768700968474]