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.00111/0.001109, allocations: 104.1 kB / 17.63 MB, free: 5.344 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: 192 kB / 18.56 MB, free: 4.434 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.3/1.3, allocations: 222.9 MB / 242.2 MB, free: 15.15 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.2048/0.2048, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.69 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4873/0.6036, allocations: 174.3 MB / 0.6285 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007358/0.611, allocations: 5.343 MB / 0.6337 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.6116, allocations: 19.88 kB / 0.6338 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.6126, allocations: 318 kB / 0.6341 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.6162, allocations: 1.246 MB / 0.6353 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.619, allocations: 0.9696 MB / 0.6362 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.6214, allocations: 1.847 MB / 0.638 GB, free: 8.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.6221, allocations: 460.8 kB / 0.6385 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.6243, allocations: 1.07 MB / 0.6395 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/0.6252, allocations: 0.6462 MB / 0.6401 GB, free: 6.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.6253, allocations: 60 kB / 0.6402 GB, free: 6.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.6267, allocations: 0.5735 MB / 0.6408 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.6271, allocations: 271.2 kB / 0.641 GB, free: 5.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.6275, allocations: 402.2 kB / 0.6414 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.6291, allocations: 1.289 MB / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6291, allocations: 0 / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6291, allocations: 0 / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.6291, allocations: 0 / 0.6427 GB, free: 3.711 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.002139/0.6313, allocations: 1.099 MB / 0.6437 GB, free: 2.559 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6313, allocations: 12.03 kB / 0.6438 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007852/0.6321, allocations: 131.1 kB / 0.6439 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.6329, allocations: 0.5079 MB / 0.6444 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.633, allocations: 104.4 kB / 0.6445 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.6331, allocations: 55.92 kB / 0.6445 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6342, allocations: 0.8175 MB / 0.6453 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6343, allocations: 3.938 kB / 0.6453 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.6344, allocations: 28 kB / 0.6454 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.6344, allocations: 32.98 kB / 0.6454 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.6354, allocations: 0.6243 MB / 0.646 GB, free: 124 kB / 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.004718/0.6401, allocations: 3.973 MB / 0.6499 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.6407, allocations: 359.6 kB / 0.6502 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.641, allocations: 173.2 kB / 0.6504 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6412, allocations: 93.38 kB / 0.6505 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.6413, allocations: 42.83 kB / 0.6505 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.6413, allocations: 4 kB / 0.6505 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005523/0.6468, allocations: 1.658 MB / 0.6521 GB, free: 9.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.6469, allocations: 140.5 kB / 0.6523 GB, free: 9.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.6475, allocations: 0.6094 MB / 0.6529 GB, free: 8.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.6476, allocations: 33.7 kB / 0.6529 GB, free: 8.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.6478, allocations: 370.8 kB / 0.6533 GB, free: 8.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.648, allocations: 142 kB / 0.6534 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6482, allocations: 158.5 kB / 0.6535 GB, free: 7.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6483, allocations: 374.8 kB / 0.6539 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.6487, allocations: 209.9 kB / 0.6541 GB, free: 7.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.6493, allocations: 0.5163 MB / 0.6546 GB, free: 6.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/0.6502, allocations: 0.7475 MB / 0.6553 GB, free: 5.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6502, allocations: 4 kB / 0.6553 GB, free: 5.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001349/0.6515, allocations: 0.888 MB / 0.6562 GB, free: 4.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6515, allocations: 15.44 kB / 0.6562 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6516, allocations: 11.94 kB / 0.6562 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.6529, allocations: 313.5 kB / 0.6565 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6532, allocations: 123.8 kB / 0.6566 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.6543, allocations: 0.9333 MB / 0.6576 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.6547, allocations: 29.17 kB / 0.6576 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.6548, allocations: 67.98 kB / 0.6576 GB, free: 3.441 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.0003139/0.6551, allocations: 241.8 kB / 0.6579 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6553, allocations: 79.22 kB / 0.658 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.6569, allocations: 0.8577 MB / 0.6588 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6569, allocations: 4 kB / 0.6588 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6569, allocations: 3.938 kB / 0.6588 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.657, allocations: 3.984 kB / 0.6588 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.6588, allocations: 1.465 MB / 0.6602 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6588, allocations: 3.984 kB / 0.6602 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/0.6598, allocations: 207.8 kB / 0.6604 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.6599, allocations: 29.03 kB / 0.6605 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.6599, allocations: 19.98 kB / 0.6605 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6618, allocations: 2.881 MB / 0.6633 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6618, allocations: 0 / 0.6633 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6629, allocations: 0.8208 MB / 0.6641 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.6632, allocations: 180.3 kB / 0.6643 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.6633, allocations: 20.05 kB / 0.6643 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.6636, allocations: 12 kB / 0.6643 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.6637, allocations: 43.89 kB / 0.6643 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.6638, allocations: 43.98 kB / 0.6644 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004414/0.6642, allocations: 439 kB / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 0 / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007942/0.6651, allocations: 248 kB / 0.665 GB, free: 11.38 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.0006969/0.6658, allocations: 301.2 kB / 0.6653 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6669, allocations: 0.609 MB / 0.6659 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6669, allocations: 0 / 0.6659 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.6678, allocations: 426.2 kB / 0.6663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.6694, allocations: 374.4 kB / 0.6667 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.6713, allocations: 1.344 MB / 0.668 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.6717, allocations: 0.9338 MB / 0.6689 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001085/0.6728, allocations: 460.2 kB / 0.6693 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.6732, allocations: 111.4 kB / 0.6695 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.6732, allocations: 0 / 0.6695 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.02826/0.7014, allocations: 17.41 MB / 0.6865 GB, free: 5.535 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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