Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 107.4 kB / 17.21 MB, free: 6.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.001142/0.001142, allocations: 194 kB / 18.12 MB, free: 5.375 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.33/1.33, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.218/0.218, allocations: 44.17 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.08 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 60.83 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4154/0.5268, allocations: 146 MB / 0.6001 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007942/0.5348, allocations: 5.737 MB / 0.6057 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.5357, allocations: 27.81 kB / 0.6057 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.5369, allocations: 282.5 kB / 0.606 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.5387, allocations: 0.8244 MB / 0.6068 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.5413, allocations: 0.9271 MB / 0.6077 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.5438, allocations: 2.663 MB / 0.6103 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.5444, allocations: 412.7 kB / 0.6107 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.5455, allocations: 0.6615 MB / 0.6113 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009695/0.5465, allocations: 0.728 MB / 0.612 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.5466, allocations: 32 kB / 0.6121 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5478, allocations: 0.5379 MB / 0.6126 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.5481, allocations: 243.3 kB / 0.6128 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.5485, allocations: 374.2 kB / 0.6132 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.5499, allocations: 1.1 MB / 0.6143 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5499, allocations: 0 / 0.6143 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5499, allocations: 0 / 0.6143 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5499, allocations: 3.938 kB / 0.6143 GB, free: 0.7109 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002263/0.5522, allocations: 1.056 MB / 0.6153 GB, free: 15.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5522, allocations: 11.97 kB / 0.6153 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.5526, allocations: 96.08 kB / 0.6154 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.5534, allocations: 0.5132 MB / 0.6159 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.5535, allocations: 101 kB / 0.616 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.5536, allocations: 48.56 kB / 0.6161 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5548, allocations: 0.8187 MB / 0.6168 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5549, allocations: 7.844 kB / 0.6169 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.555, allocations: 28 kB / 0.6169 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.555, allocations: 36.98 kB / 0.6169 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5561, allocations: 0.6555 MB / 0.6176 GB, free: 13.17 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.5607, allocations: 3.943 MB / 0.6214 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.5615, allocations: 428.2 kB / 0.6218 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.5619, allocations: 205.4 kB / 0.622 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.5625, allocations: 0.7327 MB / 0.6227 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5626, allocations: 46.83 kB / 0.6228 GB, free: 7.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.5626, allocations: 0 / 0.6228 GB, free: 7.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003421/0.566, allocations: 1.549 MB / 0.6243 GB, free: 5.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.5661, allocations: 136.5 kB / 0.6244 GB, free: 5.574 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.5667, allocations: 0.5654 MB / 0.625 GB, free: 5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.5668, allocations: 33.7 kB / 0.625 GB, free: 4.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.567, allocations: 362.9 kB / 0.6253 GB, free: 4.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5672, allocations: 161.7 kB / 0.6255 GB, free: 4.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5674, allocations: 138.5 kB / 0.6256 GB, free: 4.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5675, allocations: 374.8 kB / 0.626 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.5679, allocations: 217.9 kB / 0.6262 GB, free: 3.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.5684, allocations: 0.5162 MB / 0.6267 GB, free: 3.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.5694, allocations: 0.764 MB / 0.6274 GB, free: 2.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5694, allocations: 4 kB / 0.6275 GB, free: 2.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001577/0.571, allocations: 0.9062 MB / 0.6283 GB, free: 1.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.571, allocations: 14.44 kB / 0.6284 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5711, allocations: 8 kB / 0.6284 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5725, allocations: 280.7 kB / 0.6286 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.5729, allocations: 131.8 kB / 0.6288 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.5739, allocations: 0.8841 MB / 0.6296 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.5744, allocations: 40.92 kB / 0.6297 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.5745, allocations: 40 kB / 0.6297 GB, free: 15.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.5748, allocations: 253.9 kB / 0.6299 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5749, allocations: 67.16 kB / 0.63 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5763, allocations: 0.7707 MB / 0.6308 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5763, allocations: 7.984 kB / 0.6308 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5763, allocations: 4 kB / 0.6308 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5763, allocations: 0 / 0.6308 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.5783, allocations: 1.411 MB / 0.6321 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5783, allocations: 4.875 kB / 0.6321 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.5794, allocations: 204 kB / 0.6323 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.5795, allocations: 28.72 kB / 0.6324 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5796, allocations: 15.98 kB / 0.6324 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.5816, allocations: 2.685 MB / 0.635 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5816, allocations: 4.031 kB / 0.635 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5831, allocations: 1.003 MB / 0.636 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.5834, allocations: 204.2 kB / 0.6362 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.5835, allocations: 12 kB / 0.6362 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.584, allocations: 39.97 kB / 0.6362 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.5841, allocations: 35.89 kB / 0.6363 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.5841, allocations: 23.98 kB / 0.6363 GB, free: 8.594 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.5847, allocations: 427 kB / 0.6367 GB, free: 8.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5847, allocations: 4 kB / 0.6367 GB, free: 8.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008661/0.5855, allocations: 224 kB / 0.6369 GB, free: 7.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/0.5862, allocations: 264.9 kB / 0.6372 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.5875, allocations: 0.5988 MB / 0.6378 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5875, allocations: 0 / 0.6378 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5885, allocations: 463.6 kB / 0.6382 GB, free: 6.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.5902, allocations: 361.1 kB / 0.6385 GB, free: 6.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.5929, allocations: 1.603 MB / 0.6401 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.5935, allocations: 0.9349 MB / 0.641 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008208/0.5944, allocations: 217.6 kB / 0.6412 GB, free: 3.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.5946, allocations: 67.36 kB / 0.6413 GB, free: 3.414 MB / 478.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5946, allocations: 4 kB / 0.6413 GB, free: 3.41 MB / 478.1 MB Notification: Performance of Templates: time 0.02799/0.6226, allocations: 14.88 MB / 0.6558 GB, free: 4.688 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches