Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, 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.474/1.474, 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.00092/0.0009201, allocations: 98.05 kB / 291.9 MB, free: 10.95 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.3769/0.3769, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3606, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003286/0.3639, allocations: 1.96 MB / 0.5083 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3652, allocations: 0.9076 MB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.3653, allocations: 3.938 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.3656, allocations: 36.94 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.3658, allocations: 50 kB / 0.5093 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3661, allocations: 113 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3663, allocations: 124.5 kB / 0.5095 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3664, allocations: 28.33 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3665, allocations: 57.91 kB / 0.5096 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.3666, allocations: 50.33 kB / 0.5096 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3666, allocations: 3.156 kB / 0.5096 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.3667, allocations: 42.06 kB / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.3668, allocations: 24.48 kB / 0.5097 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.3668, allocations: 50.69 kB / 0.5098 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.367, allocations: 139.8 kB / 0.5099 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.367, allocations: 0 / 0.5099 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.367, allocations: 0 / 0.5099 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3671, allocations: 0 / 0.5099 GB, free: 35.94 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006782/0.3677, allocations: 475.6 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3678, allocations: 8.5 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.3679, allocations: 20.8 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3682, allocations: 235 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3682, allocations: 7.188 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.3682, allocations: 9.781 kB / 0.5106 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.3685, allocations: 112.2 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3685, allocations: 0 / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3685, allocations: 2.812 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3685, allocations: 0 / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.3687, allocations: 52.03 kB / 0.5108 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.3693, allocations: 0.5037 MB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.3697, allocations: 83.78 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.3698, allocations: 39.77 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3698, allocations: 7.922 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.37, allocations: 91.48 kB / 0.5115 GB, free: 34.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.37, allocations: 0 / 0.5115 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003731/0.3704, allocations: 144.3 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.3705, allocations: 58.25 kB / 0.5117 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3706, allocations: 195.1 kB / 0.5119 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3706, allocations: 25.7 kB / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.3707, allocations: 112.8 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3707, allocations: 30.73 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3708, allocations: 29.06 kB / 0.512 GB, free: 34.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.3708, allocations: 329.1 kB / 0.5124 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3709, allocations: 31.19 kB / 0.5124 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.371, allocations: 62.7 kB / 0.5124 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3712, allocations: 111.5 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3712, allocations: 0 / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.3715, allocations: 128.6 kB / 0.5127 GB, free: 33.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3715, allocations: 5.188 kB / 0.5127 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3715, allocations: 3.938 kB / 0.5127 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3715, allocations: 2.719 kB / 0.5127 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.3716, allocations: 25.62 kB / 0.5127 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.3716, allocations: 6.438 kB / 0.5127 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.3717, allocations: 20.88 kB / 0.5127 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3717, allocations: 2.812 kB / 0.5127 GB, free: 33.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.634e-05/0.3718, allocations: 130.2 kB / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3718, allocations: 19.88 kB / 0.5129 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.3719, allocations: 16.25 kB / 0.5129 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3719, allocations: 6.75 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3719, allocations: 0 / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3719, allocations: 0 / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.372, allocations: 208.4 kB / 0.5131 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.372, allocations: 0 / 0.5131 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.3721, allocations: 14.56 kB / 0.5131 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3721, allocations: 0 / 0.5131 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3721, allocations: 10.84 kB / 0.5131 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3721, allocations: 3.938 kB / 0.5131 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3721, allocations: 3.234 kB / 0.5131 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.3735, allocations: 1.407 MB / 0.5145 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3735, allocations: 90.91 kB / 0.5146 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3736, allocations: 4 kB / 0.5146 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.3736, allocations: 16.69 kB / 0.5146 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3737, allocations: 3.562 kB / 0.5146 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3737, allocations: 6.969 kB / 0.5146 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.3738, allocations: 139.1 kB / 0.5148 GB, free: 31.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.472e-06/0.3738, allocations: 0 / 0.5148 GB, free: 31.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.3741, allocations: 42.44 kB / 0.5148 GB, free: 31.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0008508/0.375, allocations: 417.3 kB / 0.5152 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3752, allocations: 82.08 kB / 0.5153 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3752, allocations: 0 / 0.5153 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.37e-05/0.3753, allocations: 39.34 kB / 0.5153 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3756, allocations: 44.92 kB / 0.5154 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.3761, allocations: 420.5 kB / 0.5158 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3763, allocations: 0.7207 MB / 0.5165 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.3764, allocations: 23.48 kB / 0.5165 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.3764, allocations: 19.59 kB / 0.5165 GB, free: 30.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3764, allocations: 0 / 0.5165 GB, free: 30.4 MB / 378.7 MB Notification: Performance of Templates: time 0.004705/0.3811, allocations: 1.858 MB / 0.5183 GB, free: 30.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches