Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001652/0.001652, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.002047/0.002047, allocations: 213.9 kB / 24.49 MB, free: 4.145 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2644/0.2644, allocations: 44.9 MB / 359.6 MB, free: 6.324 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [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.002282/0.002282, allocations: 71.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3628, allocations: 65.46 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003563/0.3663, allocations: 1.643 MB / 0.5599 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3677, allocations: 0.5621 MB / 0.5604 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.3677, allocations: 0 / 0.5604 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.3681, allocations: 131.6 kB / 0.5605 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.3686, allocations: 131.5 kB / 0.5607 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.3689, allocations: 111.7 kB / 0.5608 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.3692, allocations: 99.72 kB / 0.5609 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3693, allocations: 23.64 kB / 0.5609 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.3694, allocations: 39.89 kB / 0.5609 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3695, allocations: 103.7 kB / 0.561 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3696, allocations: 4 kB / 0.561 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3697, allocations: 40 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.3697, allocations: 27.91 kB / 0.5611 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.3698, allocations: 43.61 kB / 0.5611 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.37, allocations: 122.1 kB / 0.5613 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.37, allocations: 0 / 0.5613 GB, free: 4.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.37, allocations: 4 kB / 0.5613 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.37, allocations: 0 / 0.5613 GB, free: 4.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005596/0.3706, allocations: 365.4 kB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3706, allocations: 8.031 kB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.3707, allocations: 16.84 kB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3709, allocations: 162.4 kB / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3709, allocations: 8.312 kB / 0.5618 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3709, allocations: 4.375 kB / 0.5618 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3711, allocations: 57.8 kB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3711, allocations: 8 kB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3711, allocations: 0 / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3711, allocations: 0 / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3712, allocations: 31.97 kB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.3717, allocations: 275.9 kB / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3718, allocations: 46.5 kB / 0.5622 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.3718, allocations: 20.94 kB / 0.5622 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3719, allocations: 0 / 0.5622 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3719, allocations: 34.56 kB / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3719, allocations: 0 / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009321/0.3728, allocations: 257.5 kB / 0.5625 GB, free: 3.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3729, allocations: 55.41 kB / 0.5625 GB, free: 3.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3732, allocations: 275.7 kB / 0.5628 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3732, allocations: 29.7 kB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3733, allocations: 116.1 kB / 0.563 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3733, allocations: 27.73 kB / 0.563 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3733, allocations: 21.72 kB / 0.563 GB, free: 2.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3735, allocations: 330.8 kB / 0.5633 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3736, allocations: 27.98 kB / 0.5633 GB, free: 2.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.3736, allocations: 35.97 kB / 0.5634 GB, free: 2.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3738, allocations: 72.77 kB / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3738, allocations: 0 / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.374, allocations: 121.5 kB / 0.5636 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3741, allocations: 7.984 kB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3741, allocations: 0 / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3741, allocations: 4 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3742, allocations: 15.94 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3742, allocations: 4.297 kB / 0.5636 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.3742, allocations: 11.94 kB / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.3743, allocations: 4 kB / 0.5636 GB, free: 2.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001128/0.3744, allocations: 139.1 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3744, allocations: 11.91 kB / 0.5638 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.3747, allocations: 139 kB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3747, allocations: 0 / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3747, allocations: 0 / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3747, allocations: 3.938 kB / 0.5639 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.3753, allocations: 402.3 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3753, allocations: 7.984 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.3754, allocations: 12 kB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3754, allocations: 3.938 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3754, allocations: 15.98 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3754, allocations: 0 / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3754, allocations: 0 / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3757, allocations: 220.2 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.3757, allocations: 15.84 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3757, allocations: 3.938 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3758, allocations: 7.984 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3758, allocations: 11.98 kB / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.3758, allocations: 0 / 0.5646 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.376, allocations: 208.1 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.376, allocations: 4 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3763, allocations: 27.92 kB / 0.5648 GB, free: 0.7734 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001692/0.378, allocations: 455.2 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3782, allocations: 75.89 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3782, allocations: 0 / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.3783, allocations: 39.92 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3787, allocations: 26.94 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.3794, allocations: 362.3 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3798, allocations: 0.7158 MB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.3798, allocations: 23.38 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3798, allocations: 0 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Templates: time 0.004173/0.384, allocations: 1.951 MB / 0.5683 GB, free: 13.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.766773473937064]