Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 111.8 kB / 17.78 MB, free: 5.285 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.001119/0.001119, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2215/0.2215, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4499, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003387/0.4534, allocations: 1.636 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.4542, allocations: 0.6781 MB / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.4543, allocations: 0 / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.4545, allocations: 33.58 kB / 0.5212 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.4547, allocations: 38.86 kB / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.17e-06/0.4547, allocations: 0 / 0.5212 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.4549, allocations: 38.94 kB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4549, allocations: 7.75 kB / 0.5213 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.455, allocations: 8.25 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.455, allocations: 17.66 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4551, allocations: 1.219 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.4551, allocations: 10.41 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.4552, allocations: 10.23 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.4552, allocations: 20.41 kB / 0.5213 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4554, allocations: 71.02 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4554, allocations: 0.75 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4554, allocations: 0.9688 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4554, allocations: 3.938 kB / 0.5214 GB, free: 1.867 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.0004499/0.4559, allocations: 365.4 kB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4559, allocations: 10.55 kB / 0.5218 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.456, allocations: 7.188 kB / 0.5218 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4561, allocations: 177.2 kB / 0.5219 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4561, allocations: 1.406 kB / 0.522 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4562, allocations: 6.781 kB / 0.522 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4564, allocations: 120.7 kB / 0.5221 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4564, allocations: 4.875 kB / 0.5221 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4565, allocations: 9.047 kB / 0.5221 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.4565, allocations: 24.08 kB / 0.5221 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.4566, allocations: 41.33 kB / 0.5221 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.4573, allocations: 0.8898 MB / 0.523 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.4574, allocations: 170.9 kB / 0.5232 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.4575, allocations: 84.14 kB / 0.5233 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4576, allocations: 84.31 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.4577, allocations: 107.5 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.4577, allocations: 0 / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.4578, allocations: 34.14 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.458, allocations: 127.8 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.4583, allocations: 193.1 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4583, allocations: 27.53 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.4584, allocations: 149.9 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-06/0.4584, allocations: 1.562 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.4585, allocations: 43.7 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4587, allocations: 321 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.4588, allocations: 31.98 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.4589, allocations: 160.6 kB / 0.5245 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4592, allocations: 206.1 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.4592, allocations: 2.25 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000381/0.4596, allocations: 202.7 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4596, allocations: 8.047 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4596, allocations: 4.188 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4597, allocations: 5.25 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4598, allocations: 38.48 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.4598, allocations: 11.23 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.4599, allocations: 21.12 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.46, allocations: 13.28 kB / 0.525 GB, free: 14.46 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.0001457/0.4601, allocations: 213.4 kB / 0.5252 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.4602, allocations: 116.9 kB / 0.5253 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.4603, allocations: 111.7 kB / 0.5254 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.4603, allocations: 186.1 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-05/0.4604, allocations: 190.2 kB / 0.5258 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.229e-05/0.4605, allocations: 187.3 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.4608, allocations: 418.6 kB / 0.5263 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.4609, allocations: 106.7 kB / 0.5264 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.461, allocations: 106.7 kB / 0.5265 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.032e-05/0.461, allocations: 178.2 kB / 0.5267 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.4611, allocations: 185.7 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.9e-05/0.4612, allocations: 178.2 kB / 0.5271 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-05/0.4613, allocations: 177.9 kB / 0.5272 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.4615, allocations: 316.1 kB / 0.5275 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.4616, allocations: 200.9 kB / 0.5277 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.4617, allocations: 184 kB / 0.5279 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.4618, allocations: 105.6 kB / 0.528 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.4619, allocations: 182.2 kB / 0.5282 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.4619, allocations: 102.9 kB / 0.5283 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4621, allocations: 126 kB / 0.5284 GB, free: 10.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4621, allocations: 5.094 kB / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.4624, allocations: 15.38 kB / 0.5284 GB, free: 10.85 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.0004972/0.4629, allocations: 260.8 kB / 0.5287 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.4631, allocations: 73.69 kB / 0.5287 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4631, allocations: 4.312 kB / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.4631, allocations: 5.5 kB / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4635, allocations: 463.2 kB / 0.5292 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.4639, allocations: 242.1 kB / 0.5294 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.4644, allocations: 0.7012 MB / 0.5301 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.4646, allocations: 53.7 kB / 0.5301 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.4647, allocations: 15.86 kB / 0.5302 GB, free: 9.246 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4647, allocations: 4 kB / 0.5302 GB, free: 9.242 MB / 398.1 MB Notification: Performance of Templates: time 0.003372/0.468, allocations: 0.714 MB / 0.5309 GB, free: 9.137 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches