Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, 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.437/1.437, 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.001372/0.001371, allocations: 105.3 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.4268/0.4268, allocations: 44.12 MB / 386.1 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 55.92 kB / 457.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4378, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002933/0.4407, allocations: 1.935 MB / 0.5083 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.4422, allocations: 0.9736 MB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.4423, allocations: 0 / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.4427, allocations: 229.4 kB / 0.5095 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.443, allocations: 152.3 kB / 0.5096 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.4433, allocations: 157.5 kB / 0.5098 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4436, allocations: 227.9 kB / 0.51 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4437, allocations: 31.66 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4438, allocations: 116.9 kB / 0.5101 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4439, allocations: 141.8 kB / 0.5102 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.444, allocations: 9.797 kB / 0.5103 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.4441, allocations: 58.8 kB / 0.5103 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.4442, allocations: 52.77 kB / 0.5104 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.4442, allocations: 91 kB / 0.5105 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4445, allocations: 231.4 kB / 0.5107 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4445, allocations: 0 / 0.5107 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4445, allocations: 0 / 0.5107 GB, free: 35.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.4445, allocations: 0 / 0.5107 GB, free: 35.75 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006728/0.4452, allocations: 0.5436 MB / 0.5112 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4452, allocations: 9.156 kB / 0.5112 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.4453, allocations: 31.41 kB / 0.5112 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.4456, allocations: 273.2 kB / 0.5115 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4456, allocations: 13.59 kB / 0.5115 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.4456, allocations: 9.719 kB / 0.5115 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4458, allocations: 111.8 kB / 0.5116 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4458, allocations: 4 kB / 0.5116 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4459, allocations: 10.23 kB / 0.5116 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4459, allocations: 0 / 0.5116 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.446, allocations: 39.97 kB / 0.5117 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.4464, allocations: 480.8 kB / 0.5121 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.4467, allocations: 122.8 kB / 0.5123 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.4468, allocations: 56.44 kB / 0.5123 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.4469, allocations: 2.812 kB / 0.5123 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4471, allocations: 115.5 kB / 0.5124 GB, free: 34.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.4471, allocations: 0 / 0.5124 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001199/0.4483, allocations: 0.5017 MB / 0.5129 GB, free: 34.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4484, allocations: 80.05 kB / 0.513 GB, free: 33.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.4487, allocations: 429.1 kB / 0.5134 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4487, allocations: 29.7 kB / 0.5134 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.4488, allocations: 155.1 kB / 0.5136 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.4489, allocations: 69.88 kB / 0.5136 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.4489, allocations: 50.17 kB / 0.5137 GB, free: 33.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.449, allocations: 340.2 kB / 0.514 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.4492, allocations: 57.97 kB / 0.5141 GB, free: 33.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.4493, allocations: 92.98 kB / 0.5142 GB, free: 33.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.4495, allocations: 161.5 kB / 0.5143 GB, free: 33.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4495, allocations: 0 / 0.5143 GB, free: 33.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003285/0.4499, allocations: 232.4 kB / 0.5145 GB, free: 32.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4499, allocations: 10.03 kB / 0.5145 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4499, allocations: 0 / 0.5145 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4499, allocations: 7.594 kB / 0.5146 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4501, allocations: 47.72 kB / 0.5146 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4501, allocations: 3.031 kB / 0.5146 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.4502, allocations: 10.56 kB / 0.5146 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4502, allocations: 10.92 kB / 0.5146 GB, free: 32.88 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001212/0.4503, allocations: 171.6 kB / 0.5148 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.4504, allocations: 33.16 kB / 0.5148 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.248e-05/0.4505, allocations: 38.91 kB / 0.5149 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4505, allocations: 2.281 kB / 0.5149 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4505, allocations: 1.031 kB / 0.5149 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4505, allocations: 4.328 kB / 0.5149 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/0.4513, allocations: 0.7311 MB / 0.5156 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4513, allocations: 1.156 kB / 0.5156 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.4514, allocations: 31.5 kB / 0.5156 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4514, allocations: 6.188 kB / 0.5156 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4514, allocations: 8.594 kB / 0.5156 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4515, allocations: 2.406 kB / 0.5156 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4515, allocations: 2.312 kB / 0.5156 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.4522, allocations: 1.072 MB / 0.5167 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.4522, allocations: 105 kB / 0.5168 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.4523, allocations: 6.875 kB / 0.5168 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4524, allocations: 10.17 kB / 0.5168 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.4525, allocations: 22.17 kB / 0.5168 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.4525, allocations: 12.56 kB / 0.5168 GB, free: 31.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4528, allocations: 318.9 kB / 0.5171 GB, free: 30.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4528, allocations: 0 / 0.5171 GB, free: 30.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.4532, allocations: 49.75 kB / 0.5172 GB, free: 30.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001077/0.4543, allocations: 0.5267 MB / 0.5177 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.4546, allocations: 168.5 kB / 0.5178 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4546, allocations: 0 / 0.5178 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.4548, allocations: 82.22 kB / 0.5179 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.4553, allocations: 52.62 kB / 0.518 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.4562, allocations: 0.7792 MB / 0.5187 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.4565, allocations: 0.7841 MB / 0.5195 GB, free: 29.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.4566, allocations: 41.88 kB / 0.5195 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.4567, allocations: 34.27 kB / 0.5196 GB, free: 29.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4567, allocations: 0 / 0.5196 GB, free: 29.31 MB / 378.7 MB Notification: Performance of Templates: time 0.007205/0.4639, allocations: 3.054 MB / 0.5226 GB, free: 29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches