Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111.8 kB / 17.75 MB, free: 5.355 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.001193/0.001193, allocations: 191.1 kB / 18.68 MB, free: 4.43 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.494/1.494, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2661/0.2661, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 59.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.445, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003307/0.4483, allocations: 1.974 MB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.4501, allocations: 0.954 MB / 0.5217 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.4503, allocations: 3.594 kB / 0.5217 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.4509, allocations: 258.7 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.4514, allocations: 192.4 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.4532, allocations: 0.6524 MB / 0.5228 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006825/0.4539, allocations: 304.1 kB / 0.5231 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.4542, allocations: 77.16 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.4544, allocations: 138.5 kB / 0.5233 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.4547, allocations: 201 kB / 0.5235 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.4547, allocations: 14.03 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.4549, allocations: 68.78 kB / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.4551, allocations: 90.05 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.4552, allocations: 119.1 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.4556, allocations: 307.5 kB / 0.5241 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4556, allocations: 0 / 0.5241 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4557, allocations: 5.5 kB / 0.5241 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4557, allocations: 0 / 0.5241 GB, free: 0.6133 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007019/0.4564, allocations: 0.6166 MB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.4564, allocations: 9.438 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.4565, allocations: 43.36 kB / 0.5247 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.4569, allocations: 309.9 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4569, allocations: 8.75 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.457, allocations: 15.64 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.4573, allocations: 133.6 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4573, allocations: 1.375 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.4573, allocations: 4 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.4573, allocations: 3.5 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.4576, allocations: 92.2 kB / 0.5253 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.4583, allocations: 0.4915 MB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.4586, allocations: 114.3 kB / 0.5258 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.4587, allocations: 41.31 kB / 0.5259 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.4587, allocations: 6.734 kB / 0.5259 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4588, allocations: 31.94 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4588, allocations: 0 / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001097/0.4599, allocations: 434.3 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4599, allocations: 56.94 kB / 0.5264 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.4606, allocations: 0.5221 MB / 0.5269 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4606, allocations: 31.23 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.4608, allocations: 200.8 kB / 0.5271 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.4609, allocations: 50.48 kB / 0.5272 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.4609, allocations: 37.8 kB / 0.5272 GB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4611, allocations: 349.4 kB / 0.5275 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4613, allocations: 70.59 kB / 0.5276 GB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4614, allocations: 65.3 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4618, allocations: 155.5 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4618, allocations: 3.938 kB / 0.5278 GB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004707/0.4623, allocations: 223.1 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4623, allocations: 7.5 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4623, allocations: 4 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4624, allocations: 1.406 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.4626, allocations: 38.66 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4626, allocations: 9.141 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.4627, allocations: 11 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.4627, allocations: 5.312 kB / 0.5281 GB, free: 13.68 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 (17): * Single equations (assignments): 17 * 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.0002154/0.4629, allocations: 181.4 kB / 0.5283 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.463, allocations: 41.47 kB / 0.5283 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.4636, allocations: 279.8 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4636, allocations: 6 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4636, allocations: 0 / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4636, allocations: 0 / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.4647, allocations: 0.664 MB / 0.5292 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4647, allocations: 0 / 0.5292 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.4648, allocations: 34.2 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4648, allocations: 4.938 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.4649, allocations: 10.3 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4649, allocations: 1.094 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4649, allocations: 3.938 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.4654, allocations: 319.9 kB / 0.5296 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.4655, allocations: 108.2 kB / 0.5297 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.4655, allocations: 5.109 kB / 0.5297 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.4656, allocations: 11.7 kB / 0.5297 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.12e-05/0.4657, allocations: 15.02 kB / 0.5297 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4657, allocations: 2.938 kB / 0.5297 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005303/0.4663, allocations: 396.5 kB / 0.5301 GB, free: 12.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4663, allocations: 0 / 0.5301 GB, free: 12.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.4667, allocations: 51.7 kB / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001875/0.4685, allocations: 0.6978 MB / 0.5308 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.469, allocations: 165.6 kB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.469, allocations: 1.312 kB / 0.531 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.4692, allocations: 91.17 kB / 0.5311 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.4699, allocations: 72.5 kB / 0.5312 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4712, allocations: 0.6875 MB / 0.5318 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.4718, allocations: 0.8163 MB / 0.5326 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.472, allocations: 57.89 kB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.4721, allocations: 26.59 kB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 4.097e-06/0.4721, allocations: 0 / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of Templates: time 0.008453/0.4806, allocations: 3.27 MB / 0.5359 GB, free: 8.895 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches