Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 109.3 kB / 18.45 MB, free: 4.613 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.001378/0.001378, allocations: 185.1 kB / 19.38 MB, free: 3.691 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.339/1.339, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2384/0.2384, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4533, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003208/0.4566, allocations: 1.631 MB / 0.5212 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.4575, allocations: 0.6791 MB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.4576, allocations: 0 / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.4578, allocations: 29.06 kB / 0.5219 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.458, allocations: 35.48 kB / 0.5219 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.009e-06/0.4581, allocations: 3.938 kB / 0.5219 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.4582, allocations: 38.97 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.4583, allocations: 2.375 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.4583, allocations: 18.28 kB / 0.5219 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.4584, allocations: 11.92 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4584, allocations: 1.188 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.4584, allocations: 10.08 kB / 0.522 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.4585, allocations: 11.59 kB / 0.522 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.4585, allocations: 24.17 kB / 0.522 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.4587, allocations: 71.59 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4587, allocations: 0 / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4587, allocations: 0 / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4587, allocations: 1.031 kB / 0.5221 GB, free: 1.863 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.0003254/0.459, allocations: 365.8 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4591, allocations: 10.3 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.4591, allocations: 7.562 kB / 0.5224 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4592, allocations: 176.7 kB / 0.5226 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4593, allocations: 1.469 kB / 0.5226 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-06/0.4593, allocations: 7.125 kB / 0.5226 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4595, allocations: 124.1 kB / 0.5227 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4595, allocations: 8.922 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4595, allocations: 5.672 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.4595, allocations: 23.44 kB / 0.5228 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.091e-05/0.4596, allocations: 41.41 kB / 0.5228 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.4601, allocations: 0.8904 MB / 0.5237 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.4602, allocations: 170.8 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.4602, allocations: 84.19 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.4603, allocations: 83.25 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.4603, allocations: 111.7 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4603, allocations: 0 / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.226e-05/0.4604, allocations: 34.44 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.4605, allocations: 128.3 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4607, allocations: 189.6 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4607, allocations: 29.7 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4608, allocations: 150.5 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-06/0.4608, allocations: 2.688 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.4609, allocations: 42.83 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.461, allocations: 321.7 kB / 0.525 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.4611, allocations: 31.05 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.4613, allocations: 154.8 kB / 0.5251 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4615, allocations: 206 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4615, allocations: 1.219 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000317/0.4618, allocations: 203.6 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4619, allocations: 7.062 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4619, allocations: 5.375 kB / 0.5255 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4619, allocations: 6.172 kB / 0.5256 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.462, allocations: 37.92 kB / 0.5256 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.4621, allocations: 9.875 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.4622, allocations: 20.91 kB / 0.5256 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4622, allocations: 13.34 kB / 0.5256 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.0001248/0.4623, allocations: 216.9 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.4624, allocations: 118.7 kB / 0.526 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.4625, allocations: 112.7 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.692e-05/0.4625, allocations: 182 kB / 0.5262 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.385e-05/0.4626, allocations: 186 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.672e-05/0.4627, allocations: 190.6 kB / 0.5266 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.463, allocations: 419.2 kB / 0.527 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/0.463, allocations: 105.7 kB / 0.5271 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.4631, allocations: 107 kB / 0.5272 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.4631, allocations: 178.3 kB / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.4632, allocations: 186.1 kB / 0.5275 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-05/0.4633, allocations: 177 kB / 0.5277 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-05/0.4633, allocations: 178.1 kB / 0.5279 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4635, allocations: 317 kB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.4636, allocations: 197.5 kB / 0.5284 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.4637, allocations: 186 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.4638, allocations: 102.7 kB / 0.5286 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.4639, allocations: 182 kB / 0.5288 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.4639, allocations: 102.8 kB / 0.5289 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.464, allocations: 126.6 kB / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.464, allocations: 0 / 0.529 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4643, allocations: 20.41 kB / 0.5291 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.0005179/0.4648, allocations: 268.2 kB / 0.5293 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.465, allocations: 75.64 kB / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.465, allocations: 0 / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.465, allocations: 5.312 kB / 0.5294 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.4654, allocations: 468.7 kB / 0.5298 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.4658, allocations: 269.4 kB / 0.5301 GB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4661, allocations: 0.7011 MB / 0.5308 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4663, allocations: 21.89 kB / 0.5308 GB, free: 9.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4663, allocations: 4 kB / 0.5308 GB, free: 9.203 MB / 398.1 MB Notification: Performance of Templates: time 0.003297/0.4696, allocations: 1.288 MB / 0.5321 GB, free: 9.023 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches