Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001175/0.001175, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2374/0.2374, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.91 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/0.5763, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004204/0.5805, allocations: 1.624 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.5816, allocations: 0.6824 MB / 0.5212 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.5817, allocations: 1.188 kB / 0.5212 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.582, allocations: 33.14 kB / 0.5212 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.5823, allocations: 42.66 kB / 0.5212 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.781e-06/0.5823, allocations: 3.938 kB / 0.5212 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.5825, allocations: 34.45 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.5826, allocations: 4.094 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.5826, allocations: 7.859 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.5827, allocations: 17.33 kB / 0.5213 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.5827, allocations: 1.094 kB / 0.5213 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.5828, allocations: 15.08 kB / 0.5213 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.5829, allocations: 10.42 kB / 0.5213 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.5829, allocations: 28.44 kB / 0.5213 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.5831, allocations: 67.27 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5831, allocations: 0.75 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5831, allocations: 0 / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.5832, allocations: 0 / 0.5214 GB, free: 1.855 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003677/0.5835, allocations: 354.5 kB / 0.5217 GB, free: 1.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5836, allocations: 9.281 kB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.5836, allocations: 7.953 kB / 0.5218 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.5838, allocations: 189.9 kB / 0.5219 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5838, allocations: 1.125 kB / 0.5219 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5838, allocations: 11.02 kB / 0.522 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.5841, allocations: 119.9 kB / 0.5221 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5841, allocations: 1.031 kB / 0.5221 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5841, allocations: 5.656 kB / 0.5221 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.5842, allocations: 22.61 kB / 0.5221 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5843, allocations: 46.2 kB / 0.5221 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.585, allocations: 0.8938 MB / 0.523 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.5851, allocations: 175.3 kB / 0.5232 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.5852, allocations: 80.14 kB / 0.5233 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.5852, allocations: 79.97 kB / 0.5233 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.5853, allocations: 111.3 kB / 0.5234 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.5853, allocations: 0 / 0.5234 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001123/0.5854, allocations: 38.78 kB / 0.5235 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.5855, allocations: 127.3 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5858, allocations: 185.9 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.5858, allocations: 29.64 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.586, allocations: 147 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.586, allocations: 5.656 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.5861, allocations: 48.42 kB / 0.524 GB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5863, allocations: 320 kB / 0.5243 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.5864, allocations: 28.75 kB / 0.5243 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.5866, allocations: 152.7 kB / 0.5245 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.587, allocations: 208.4 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.587, allocations: 7.938 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005029/0.5876, allocations: 192.2 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5876, allocations: 10.78 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5876, allocations: 5.094 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.5877, allocations: 6.688 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5879, allocations: 41.08 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.5879, allocations: 10.81 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.5881, allocations: 16.94 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.5881, allocations: 12.88 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001857/0.5883, allocations: 213.8 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5884, allocations: 117.1 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.759e-05/0.5885, allocations: 120.4 kB / 0.5254 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/0.5886, allocations: 178 kB / 0.5256 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.694e-05/0.5887, allocations: 186 kB / 0.5257 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-05/0.5888, allocations: 181.8 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.5892, allocations: 425 kB / 0.5263 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/0.5893, allocations: 109.7 kB / 0.5264 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.5893, allocations: 102.4 kB / 0.5265 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-05/0.5894, allocations: 178.4 kB / 0.5267 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.5895, allocations: 189.8 kB / 0.5269 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/0.5896, allocations: 178 kB / 0.527 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/0.5897, allocations: 186.1 kB / 0.5272 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.5899, allocations: 316 kB / 0.5275 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.59, allocations: 190 kB / 0.5277 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.5901, allocations: 183.7 kB / 0.5279 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5902, allocations: 109.4 kB / 0.528 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5903, allocations: 179.1 kB / 0.5282 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.5904, allocations: 105.6 kB / 0.5283 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.5905, allocations: 130 kB / 0.5284 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5905, allocations: 1.688 kB / 0.5284 GB, free: 10.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005124/0.5911, allocations: 10.56 kB / 0.5284 GB, free: 10.84 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 (0): * Single equations (assignments): 0 * 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.0006885/0.5918, allocations: 287.5 kB / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.592, allocations: 73.06 kB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.592, allocations: 1.219 kB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.5921, allocations: 4 kB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.5926, allocations: 469.1 kB / 0.5292 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.5932, allocations: 238.2 kB / 0.5294 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.5936, allocations: 0.7018 MB / 0.5301 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.5939, allocations: 49.41 kB / 0.5301 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.5939, allocations: 15.5 kB / 0.5302 GB, free: 9.227 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5939, allocations: 0 / 0.5302 GB, free: 9.227 MB / 398.1 MB Notification: Performance of Templates: time 0.004478/0.5984, allocations: 0.7102 MB / 0.5309 GB, free: 9.121 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches