Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001115/0.001115, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.294/1.294, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1939/0.1939, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 61.41 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4452/0.581, allocations: 174.4 MB / 0.6285 GB, free: 2.215 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008282/0.5893, allocations: 5.342 MB / 0.6337 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.59, allocations: 19.88 kB / 0.6338 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009199/0.591, allocations: 314 kB / 0.6341 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.5941, allocations: 1.238 MB / 0.6353 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.5964, allocations: 0.9756 MB / 0.6362 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.5984, allocations: 1.844 MB / 0.638 GB, free: 8.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.5991, allocations: 458.2 kB / 0.6385 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.6012, allocations: 1.063 MB / 0.6395 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008628/0.6021, allocations: 0.6501 MB / 0.6401 GB, free: 6.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.6022, allocations: 60 kB / 0.6402 GB, free: 6.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.6036, allocations: 0.5735 MB / 0.6408 GB, free: 5.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.6038, allocations: 279.2 kB / 0.641 GB, free: 5.395 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.6043, allocations: 398.2 kB / 0.6414 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.6058, allocations: 1.289 MB / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6058, allocations: 0 / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6058, allocations: 0 / 0.6427 GB, free: 3.711 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6059, 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.002112/0.608, allocations: 1.095 MB / 0.6437 GB, free: 2.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.608, allocations: 12.03 kB / 0.6437 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.6088, allocations: 135.1 kB / 0.6439 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.6095, allocations: 0.5156 MB / 0.6444 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.6096, allocations: 107.3 kB / 0.6445 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.6097, allocations: 51.98 kB / 0.6445 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6109, allocations: 0.8097 MB / 0.6453 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.6109, allocations: 3.938 kB / 0.6453 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.611, allocations: 28 kB / 0.6453 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/0.6111, allocations: 40.97 kB / 0.6454 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.612, allocations: 0.6243 MB / 0.646 GB, free: 120 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.00489/0.6169, allocations: 3.969 MB / 0.6499 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.6176, allocations: 366.5 kB / 0.6502 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.6179, allocations: 169.3 kB / 0.6504 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6181, allocations: 93.36 kB / 0.6505 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.6181, allocations: 38.84 kB / 0.6505 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.544e-06/0.6181, allocations: 4 kB / 0.6505 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00565/0.6238, allocations: 1.662 MB / 0.6521 GB, free: 9.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.6239, allocations: 140.5 kB / 0.6523 GB, free: 9.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.6246, allocations: 0.6133 MB / 0.6529 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.6246, allocations: 33.7 kB / 0.6529 GB, free: 8.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.6249, allocations: 366.8 kB / 0.6533 GB, free: 8.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.625, allocations: 138 kB / 0.6534 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.6253, allocations: 162.5 kB / 0.6535 GB, free: 7.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6254, allocations: 370.8 kB / 0.6539 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.6258, allocations: 205.9 kB / 0.6541 GB, free: 7.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.6264, allocations: 0.5241 MB / 0.6546 GB, free: 6.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.6273, allocations: 0.7475 MB / 0.6553 GB, free: 5.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6273, allocations: 4 kB / 0.6553 GB, free: 5.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001396/0.6287, allocations: 0.888 MB / 0.6562 GB, free: 4.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6288, allocations: 8 kB / 0.6562 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6288, allocations: 12 kB / 0.6562 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.6302, allocations: 316.6 kB / 0.6565 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.6306, allocations: 119.8 kB / 0.6566 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.6317, allocations: 0.9403 MB / 0.6576 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.6322, allocations: 20 kB / 0.6576 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.6323, allocations: 75.92 kB / 0.6576 GB, free: 3.438 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.0003626/0.6326, allocations: 245.5 kB / 0.6579 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6328, allocations: 75.22 kB / 0.658 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.6345, allocations: 0.8609 MB / 0.6588 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.6345, allocations: 4 kB / 0.6588 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6345, allocations: 0 / 0.6588 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6345, allocations: 3.938 kB / 0.6588 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.6364, allocations: 1.469 MB / 0.6602 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6365, allocations: 0 / 0.6602 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6375, allocations: 207.8 kB / 0.6604 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/0.6376, allocations: 33.02 kB / 0.6605 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.6376, allocations: 20 kB / 0.6605 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.6397, allocations: 2.873 MB / 0.6633 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6397, allocations: 0 / 0.6633 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.6409, allocations: 0.8208 MB / 0.6641 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.6411, allocations: 188.3 kB / 0.6643 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.6412, allocations: 12.06 kB / 0.6643 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6416, allocations: 19.98 kB / 0.6643 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6417, allocations: 39.89 kB / 0.6643 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.6418, allocations: 43.98 kB / 0.6644 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000489/0.6423, allocations: 435 kB / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6423, allocations: 0 / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009129/0.6432, allocations: 252 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.0007531/0.644, allocations: 304.4 kB / 0.6653 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.6452, allocations: 0.6097 MB / 0.6659 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6452, allocations: 0 / 0.6659 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.6462, 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.001608/0.6478, allocations: 377.9 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.002071/0.6499, allocations: 1.338 MB / 0.668 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.6504, allocations: 0.9339 MB / 0.6689 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001189/0.6516, allocations: 458.4 kB / 0.6693 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.6519, allocations: 111.4 kB / 0.6695 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.652, allocations: 0 / 0.6695 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.0317/0.6837, allocations: 17.41 MB / 0.6864 GB, free: 5.539 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches