Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 113.6 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3703/0.3703, allocations: 44.13 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 56.16 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 60.81 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00324/0.3661, allocations: 1.76 MB / 0.5081 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3675, allocations: 0.8689 MB / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.3676, allocations: 1.156 kB / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.368, allocations: 31.17 kB / 0.509 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.3683, allocations: 45.48 kB / 0.509 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.3687, allocations: 100.2 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.369, allocations: 93.22 kB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3691, allocations: 13.89 kB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.3692, allocations: 34.59 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.3693, allocations: 33.97 kB / 0.5093 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3693, allocations: 1.344 kB / 0.5093 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3694, allocations: 48.22 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.3695, allocations: 17.09 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3695, allocations: 24.69 kB / 0.5094 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3697, allocations: 107.1 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3698, allocations: 0 / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3698, allocations: 2.969 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.3698, allocations: 0 / 0.5095 GB, free: 36.1 MB / 378.7 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.0005042/0.3703, allocations: 402.6 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3703, allocations: 12.66 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.3704, allocations: 11.5 kB / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3706, allocations: 216.5 kB / 0.5101 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3706, allocations: 7.281 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3706, allocations: 4.125 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3707, allocations: 54.56 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3708, allocations: 0 / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3708, allocations: 0 / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3708, allocations: 3.281 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.3709, allocations: 18.56 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.3712, allocations: 288.9 kB / 0.5105 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3714, allocations: 56.91 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3714, allocations: 17.52 kB / 0.5105 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3715, allocations: 6.828 kB / 0.5105 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.3717, allocations: 72.89 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3717, allocations: 2.812 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.3722, allocations: 168.9 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3723, allocations: 58.19 kB / 0.5108 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3724, allocations: 175.8 kB / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3724, allocations: 25.7 kB / 0.511 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.3725, allocations: 99.28 kB / 0.5111 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3725, allocations: 22.98 kB / 0.5111 GB, free: 34.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.3725, allocations: 29.66 kB / 0.5112 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.3726, allocations: 328.2 kB / 0.5115 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.3727, allocations: 14.91 kB / 0.5115 GB, free: 34.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.3727, allocations: 38.47 kB / 0.5115 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.3728, allocations: 62.11 kB / 0.5116 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3728, allocations: 4 kB / 0.5116 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001562/0.373, allocations: 93.08 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.373, allocations: 5.094 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.373, allocations: 0 / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.373, allocations: 2.531 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.3731, allocations: 25.17 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3732, allocations: 384 / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3732, allocations: 10.66 kB / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3732, allocations: 2.875 kB / 0.5117 GB, free: 34.11 MB / 378.7 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 7.756e-05/0.3733, allocations: 132.7 kB / 0.5119 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.3733, allocations: 16.62 kB / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.3734, allocations: 17.22 kB / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3734, allocations: 0 / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3734, allocations: 0 / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3734, allocations: 3.938 kB / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3737, allocations: 392.4 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3737, allocations: 4.031 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.3738, allocations: 7.688 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3738, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3738, allocations: 10.56 kB / 0.5123 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3738, allocations: 0 / 0.5123 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3738, allocations: 3.938 kB / 0.5123 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3742, allocations: 0.7827 MB / 0.5131 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.3742, allocations: 87.7 kB / 0.5131 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3742, allocations: 6.844 kB / 0.5131 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.3743, allocations: 6.219 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3744, allocations: 2.906 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3744, allocations: 6.234 kB / 0.5132 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.3745, allocations: 133.4 kB / 0.5133 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3745, allocations: 0 / 0.5133 GB, free: 32.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.3748, allocations: 29.22 kB / 0.5133 GB, free: 32.62 MB / 378.7 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 (8): * Single equations (assignments): 6 * 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.0009915/0.3758, allocations: 465 kB / 0.5138 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.376, allocations: 67.11 kB / 0.5138 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.376, allocations: 2.781 kB / 0.5138 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.3761, allocations: 31.08 kB / 0.5139 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3764, allocations: 28.45 kB / 0.5139 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3769, allocations: 350.9 kB / 0.5142 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3771, allocations: 0.7028 MB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.733e-05/0.3772, allocations: 16.81 kB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.3773, allocations: 18.83 kB / 0.5149 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3773, allocations: 4 kB / 0.5149 GB, free: 31.35 MB / 378.7 MB Notification: Performance of Templates: time 0.004155/0.3814, allocations: 1.673 MB / 0.5166 GB, free: 31.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches