Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 187 kB / 17.97 MB, free: 3.82 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.504/1.504, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.00105/0.00105, allocations: 110.8 kB / 291.9 MB, free: 10.93 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.4194/0.4193, allocations: 44.14 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.92 kB / 457.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4524, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003428/0.4559, allocations: 1.852 MB / 0.5082 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.4573, allocations: 0.9418 MB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.4574, allocations: 1.094 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.458, allocations: 303.5 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.4583, allocations: 195.1 kB / 0.5096 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.4587, allocations: 155.4 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.4589, allocations: 231.9 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.459, allocations: 14.84 kB / 0.51 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4591, allocations: 119.1 kB / 0.5101 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4593, allocations: 185 kB / 0.5103 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4594, allocations: 5 kB / 0.5103 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4595, allocations: 43.69 kB / 0.5103 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4596, allocations: 128.4 kB / 0.5104 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.4597, allocations: 139.6 kB / 0.5106 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.4601, allocations: 356.5 kB / 0.5109 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4601, allocations: 0 / 0.5109 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4601, allocations: 0 / 0.5109 GB, free: 35.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4601, allocations: 0 / 0.5109 GB, free: 35.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009911/0.4611, allocations: 0.7148 MB / 0.5116 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4612, allocations: 8.094 kB / 0.5116 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.4612, allocations: 48.94 kB / 0.5117 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.4618, allocations: 434.8 kB / 0.5121 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4618, allocations: 6.938 kB / 0.5121 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.4619, allocations: 10.19 kB / 0.5121 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.4621, allocations: 83.22 kB / 0.5122 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4621, allocations: 4 kB / 0.5122 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4621, allocations: 3.938 kB / 0.5122 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4621, allocations: 0 / 0.5122 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4622, allocations: 36.06 kB / 0.5122 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.4626, allocations: 366.1 kB / 0.5126 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.4629, allocations: 107 kB / 0.5127 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.463, allocations: 45.72 kB / 0.5127 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.463, allocations: 3.938 kB / 0.5127 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.4633, allocations: 108.8 kB / 0.5128 GB, free: 34.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.4633, allocations: 3.984 kB / 0.5128 GB, free: 34.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000475/0.4638, allocations: 196 kB / 0.513 GB, free: 34.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.4638, allocations: 83.33 kB / 0.5131 GB, free: 33.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.465, allocations: 1 MB / 0.5141 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.465, allocations: 31.98 kB / 0.5141 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4652, allocations: 230.5 kB / 0.5143 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.4653, allocations: 32.66 kB / 0.5144 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.4653, allocations: 26.97 kB / 0.5144 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4655, allocations: 367.5 kB / 0.5147 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.4656, allocations: 29.03 kB / 0.5148 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.4657, allocations: 57.38 kB / 0.5148 GB, free: 32.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.4658, allocations: 96.33 kB / 0.5149 GB, free: 32.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4658, allocations: 1.531 kB / 0.5149 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000312/0.4662, allocations: 167 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4662, allocations: 5.25 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4662, allocations: 1.219 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4662, allocations: 1.531 kB / 0.5151 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4664, allocations: 29.84 kB / 0.5151 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4664, allocations: 1.25 kB / 0.5151 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.4665, allocations: 15.97 kB / 0.5151 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.4665, allocations: 4.375 kB / 0.5151 GB, free: 32.82 MB / 378.7 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.0002817/0.4668, allocations: 215.5 kB / 0.5153 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.4669, allocations: 48.75 kB / 0.5154 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.467, allocations: 65.77 kB / 0.5154 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.467, allocations: 0 / 0.5154 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.467, allocations: 2.969 kB / 0.5154 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.467, allocations: 4 kB / 0.5154 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.4674, allocations: 334.6 kB / 0.5158 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4674, allocations: 3.938 kB / 0.5158 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.4674, allocations: 15.89 kB / 0.5158 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4674, allocations: 0 / 0.5158 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4674, allocations: 6.938 kB / 0.5158 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4674, allocations: 0 / 0.5158 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4675, allocations: 0 / 0.5158 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.4681, allocations: 0.8741 MB / 0.5166 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4683, allocations: 132.1 kB / 0.5168 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.4683, allocations: 2.75 kB / 0.5168 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4684, allocations: 13.7 kB / 0.5168 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.4685, allocations: 13.02 kB / 0.5168 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4685, allocations: 6.938 kB / 0.5168 GB, free: 31.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008179/0.4694, allocations: 0.7568 MB / 0.5175 GB, free: 31.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4694, allocations: 0 / 0.5175 GB, free: 31.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.4697, allocations: 45.8 kB / 0.5176 GB, free: 31.2 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009955/0.4707, allocations: 404.7 kB / 0.518 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.471, allocations: 81.98 kB / 0.518 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.471, allocations: 0 / 0.518 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4712, allocations: 51.56 kB / 0.5181 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.4717, allocations: 75.23 kB / 0.5182 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.4732, allocations: 1.062 MB / 0.5192 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4736, allocations: 0.8374 MB / 0.52 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.4737, allocations: 50.31 kB / 0.5201 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.4738, allocations: 32.94 kB / 0.5201 GB, free: 29.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4738, allocations: 0 / 0.5201 GB, free: 29.61 MB / 378.7 MB Notification: Performance of Templates: time 0.00961/0.4835, allocations: 3.629 MB / 0.5236 GB, free: 29.27 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches