Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00124/0.00124, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.34/1.34, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2044/0.2044, allocations: 44.17 MB / 336.9 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 60.48 kB / 408.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 60.84 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3979/0.52, allocations: 172.6 MB / 0.6269 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007511/0.5275, allocations: 5.404 MB / 0.6322 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/0.5284, allocations: 31.75 kB / 0.6322 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5295, allocations: 278.5 kB / 0.6325 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.5329, allocations: 1.143 MB / 0.6336 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.5353, allocations: 0.8949 MB / 0.6345 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5376, allocations: 1.856 MB / 0.6363 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/0.5384, allocations: 457.5 kB / 0.6367 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.5407, allocations: 1.059 MB / 0.6378 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.542, allocations: 0.6969 MB / 0.6384 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5422, allocations: 60 kB / 0.6385 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.5436, allocations: 0.5891 MB / 0.6391 GB, free: 8.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.544, allocations: 271.2 kB / 0.6393 GB, free: 7.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.5447, allocations: 402.2 kB / 0.6397 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.546, allocations: 0.9745 MB / 0.6407 GB, free: 6.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.546, allocations: 0 / 0.6407 GB, free: 6.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.546, allocations: 0 / 0.6407 GB, free: 6.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.5461, allocations: 0 / 0.6407 GB, free: 6.488 MB / 478.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.002608/0.5487, allocations: 1.103 MB / 0.6418 GB, free: 5.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5487, allocations: 8.031 kB / 0.6418 GB, free: 5.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5498, allocations: 143 kB / 0.6419 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.551, allocations: 0.5079 MB / 0.6424 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5512, allocations: 100.4 kB / 0.6425 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.5513, allocations: 55.89 kB / 0.6425 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5529, allocations: 0.8175 MB / 0.6433 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.5529, allocations: 3.938 kB / 0.6433 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.553, allocations: 27.98 kB / 0.6434 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.5531, allocations: 36.98 kB / 0.6434 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5543, allocations: 0.6204 MB / 0.644 GB, free: 2.891 MB / 478.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.00482/0.5591, allocations: 3.958 MB / 0.6479 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.5597, allocations: 371.5 kB / 0.6482 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.56, allocations: 169.3 kB / 0.6484 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5602, allocations: 85.39 kB / 0.6485 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5602, allocations: 38.84 kB / 0.6485 GB, free: 13.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.5602, allocations: 0 / 0.6485 GB, free: 13.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005615/0.5658, allocations: 1.665 MB / 0.6501 GB, free: 12.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.5659, allocations: 148.4 kB / 0.6503 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.5666, allocations: 0.6094 MB / 0.6509 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.5667, allocations: 33.7 kB / 0.6509 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.567, allocations: 366.8 kB / 0.6513 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5671, allocations: 142 kB / 0.6514 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.5674, allocations: 162.5 kB / 0.6515 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5675, allocations: 370.8 kB / 0.6519 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5679, allocations: 201.9 kB / 0.6521 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.5685, allocations: 0.5163 MB / 0.6526 GB, free: 9.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.5695, allocations: 0.7485 MB / 0.6533 GB, free: 8.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5695, allocations: 4 kB / 0.6533 GB, free: 8.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001472/0.571, allocations: 0.8879 MB / 0.6542 GB, free: 7.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.571, allocations: 11.98 kB / 0.6542 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.571, allocations: 16.16 kB / 0.6542 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.5724, allocations: 316.6 kB / 0.6545 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.5728, allocations: 123.8 kB / 0.6546 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5739, allocations: 0.9371 MB / 0.6556 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.5744, allocations: 43.88 kB / 0.6556 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.5745, allocations: 67.98 kB / 0.6557 GB, free: 6.199 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.5749, allocations: 250.1 kB / 0.6559 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.575, allocations: 63.25 kB / 0.656 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.5768, allocations: 0.8692 MB / 0.6568 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5768, allocations: 4 kB / 0.6568 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5768, allocations: 4 kB / 0.6568 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.5768, allocations: 3.984 kB / 0.6568 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.5789, allocations: 1.457 MB / 0.6582 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5789, allocations: 0 / 0.6582 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.58, allocations: 215.9 kB / 0.6585 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.5801, allocations: 24.84 kB / 0.6585 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.5801, allocations: 23.98 kB / 0.6585 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5823, allocations: 2.873 MB / 0.6613 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5823, allocations: 4.031 kB / 0.6613 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5836, allocations: 0.8169 MB / 0.6621 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5839, allocations: 196.2 kB / 0.6623 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.584, allocations: 11.98 kB / 0.6623 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5845, allocations: 27.98 kB / 0.6623 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5846, allocations: 43.95 kB / 0.6624 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.5847, allocations: 43.98 kB / 0.6624 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005532/0.5853, allocations: 435 kB / 0.6628 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5853, allocations: 4 kB / 0.6628 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009393/0.5862, allocations: 255.9 kB / 0.6631 GB, free: 14.11 MB / 0.4981 GB 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00082/0.587, allocations: 282.9 kB / 0.6633 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.5883, allocations: 0.6132 MB / 0.6639 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5883, allocations: 448 / 0.6639 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.5893, allocations: 406.3 kB / 0.6643 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.5909, allocations: 367.1 kB / 0.6647 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.5934, allocations: 1.596 MB / 0.6662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.5939, allocations: 0.93 MB / 0.6672 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.5944, allocations: 131.3 kB / 0.6673 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5944, allocations: 0 / 0.6673 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.02384/0.6182, allocations: 16.48 MB / 0.6834 GB, free: 9.324 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches