Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 187.9 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.001671, allocations: 63.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4583, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003166/0.4615, allocations: 1.642 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.4624, allocations: 450.9 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.4625, allocations: 1.25 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.4628, allocations: 77.34 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4631, allocations: 58.2 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.4636, allocations: 176.4 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4638, allocations: 89.64 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4639, allocations: 17.78 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.464, allocations: 42.91 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.4641, allocations: 46.61 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.4642, allocations: 3.406 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.4643, allocations: 53.22 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.4644, allocations: 29.77 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.4645, allocations: 32.5 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.4647, allocations: 114.8 kB / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4647, allocations: 0 / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4647, allocations: 1.25 kB / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4647, allocations: 0 / 0.5217 GB, free: 1.883 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004855/0.4652, allocations: 419.8 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4653, allocations: 9.469 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.4653, allocations: 17.31 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4655, allocations: 203.1 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4655, allocations: 6.938 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.4655, allocations: 3.359 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.4657, allocations: 66.89 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4658, allocations: 0 / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4658, allocations: 4.656 kB / 0.5224 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4658, allocations: 2.156 kB / 0.5224 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.466, allocations: 42.84 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.4664, allocations: 326.9 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.4667, allocations: 60.52 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.4668, allocations: 30.81 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4668, allocations: 5 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4668, allocations: 32.48 kB / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4668, allocations: 0 / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001612/0.4685, allocations: 410.5 kB / 0.5232 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4685, allocations: 68.31 kB / 0.5233 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4687, allocations: 211.9 kB / 0.5235 GB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4687, allocations: 27.48 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.4688, allocations: 105.2 kB / 0.5236 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.4688, allocations: 33.61 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.4689, allocations: 28.56 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.469, allocations: 323 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4692, allocations: 54.44 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4693, allocations: 56.66 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.4696, allocations: 123.5 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4696, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003957/0.47, allocations: 165.6 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4701, allocations: 4.781 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4701, allocations: 2.234 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4701, allocations: 0 / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4702, allocations: 33.45 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4702, allocations: 4.969 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.4703, allocations: 8.469 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4703, allocations: 4.438 kB / 0.5244 GB, free: 15.8 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 (11): * Single equations (assignments): 11 * 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.0001515/0.4705, allocations: 139 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.4705, allocations: 12.56 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.4711, allocations: 188.5 kB / 0.5248 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4711, allocations: 9.781 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4711, allocations: 1.344 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4711, allocations: 0.6562 kB / 0.5248 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.472, allocations: 0.5002 MB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.472, allocations: 1.5 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4722, allocations: 34.02 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4722, allocations: 1.594 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4722, allocations: 2.234 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4722, allocations: 5.812 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4722, allocations: 3.938 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.4727, allocations: 268 kB / 0.5256 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.4728, allocations: 100.5 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.4728, allocations: 7.062 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4729, allocations: 10.12 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.473, allocations: 8.062 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.473, allocations: 6.562 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.4732, allocations: 153.4 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4732, allocations: 0 / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.4735, allocations: 28.42 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001545/0.475, allocations: 456.8 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.4756, allocations: 134.4 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4756, allocations: 0 / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.4758, allocations: 71.25 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4762, allocations: 21.86 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.4769, allocations: 315.8 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4773, allocations: 0.719 MB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4774, allocations: 28.97 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.4775, allocations: 23.2 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4775, allocations: 0 / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.006233/0.4837, allocations: 1.645 MB / 0.5292 GB, free: 12.78 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches