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.001126/0.001126, allocations: 109 kB / 17.33 MB, free: 6 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.001021/0.001021, allocations: 193.3 kB / 18.25 MB, free: 5.086 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 / 241.9 MB, free: 13.71 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.2157/0.2157, allocations: 44.19 MB / 336.2 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 65.11 kB / 407.9 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1225, allocations: 60.83 MB / 468.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4387/0.5613, allocations: 172.6 MB / 0.6263 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.5696, allocations: 5.412 MB / 0.6316 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.5708, allocations: 27.75 kB / 0.6316 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.5721, allocations: 274.5 kB / 0.6318 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.5763, allocations: 1.147 MB / 0.633 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.5792, allocations: 0.8948 MB / 0.6338 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.582, allocations: 1.852 MB / 0.6356 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009667/0.583, allocations: 459.5 kB / 0.6361 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.5861, allocations: 1.063 MB / 0.6371 GB, free: 9.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.5877, allocations: 0.693 MB / 0.6378 GB, free: 8.551 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.588, allocations: 60 kB / 0.6379 GB, free: 8.492 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.59, allocations: 0.5852 MB / 0.6384 GB, free: 7.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.5905, allocations: 275.2 kB / 0.6387 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.5912, allocations: 402.2 kB / 0.6391 GB, free: 7.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.5936, allocations: 1.297 MB / 0.6403 GB, free: 5.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5936, allocations: 4 kB / 0.6403 GB, free: 5.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5936, allocations: 0 / 0.6403 GB, free: 5.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.5936, allocations: 0 / 0.6403 GB, free: 5.938 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.003071/0.5967, allocations: 1.103 MB / 0.6414 GB, free: 4.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5968, allocations: 8.031 kB / 0.6414 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.5978, allocations: 143 kB / 0.6416 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.5988, allocations: 0.5002 MB / 0.6421 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.5989, allocations: 100.4 kB / 0.6421 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.599, allocations: 59.83 kB / 0.6422 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6006, allocations: 0.8213 MB / 0.643 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.6006, allocations: 4 kB / 0.643 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6007, allocations: 24 kB / 0.643 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.916e-05/0.6008, allocations: 40.97 kB / 0.6431 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.6021, allocations: 0.6282 MB / 0.6437 GB, free: 2.336 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.005224/0.6073, allocations: 3.958 MB / 0.6476 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.6079, allocations: 359.5 kB / 0.6479 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.6082, allocations: 173.3 kB / 0.6481 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.6084, allocations: 97.36 kB / 0.6482 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.6084, allocations: 42.78 kB / 0.6482 GB, free: 13.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.6084, allocations: 0 / 0.6482 GB, free: 13.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006185/0.6146, allocations: 1.654 MB / 0.6498 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.6147, allocations: 140.5 kB / 0.6499 GB, free: 11.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.6155, allocations: 0.6132 MB / 0.6505 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.6156, allocations: 37.7 kB / 0.6506 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.6159, allocations: 370.8 kB / 0.6509 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.6161, allocations: 142 kB / 0.6511 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.6163, allocations: 154.5 kB / 0.6512 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6165, allocations: 374.8 kB / 0.6516 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.6169, allocations: 205.9 kB / 0.6518 GB, free: 9.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.6175, allocations: 0.5086 MB / 0.6523 GB, free: 8.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.6185, allocations: 0.7563 MB / 0.653 GB, free: 8.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.6185, allocations: 4 kB / 0.653 GB, free: 8.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001575/0.6201, allocations: 0.8875 MB / 0.6539 GB, free: 7.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6201, allocations: 11.94 kB / 0.6539 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.6201, allocations: 12 kB / 0.6539 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.6216, allocations: 319.6 kB / 0.6542 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.622, allocations: 119.8 kB / 0.6543 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.6232, allocations: 0.9309 MB / 0.6552 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.6238, allocations: 43.95 kB / 0.6553 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.624, allocations: 71.98 kB / 0.6553 GB, free: 5.652 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.0005124/0.6245, allocations: 242 kB / 0.6556 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.6247, allocations: 67.25 kB / 0.6556 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.6267, allocations: 0.8752 MB / 0.6565 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6267, allocations: 4 kB / 0.6565 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6268, allocations: 3.984 kB / 0.6565 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6268, allocations: 0 / 0.6565 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.629, allocations: 1.461 MB / 0.6579 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.6291, allocations: 0 / 0.6579 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6301, allocations: 211.8 kB / 0.6581 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.6303, allocations: 21.03 kB / 0.6581 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.6303, allocations: 27.98 kB / 0.6582 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.6326, allocations: 2.881 MB / 0.661 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6326, allocations: 0 / 0.661 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.6341, allocations: 0.8208 MB / 0.6618 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.6344, allocations: 188.2 kB / 0.662 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.6346, allocations: 12 kB / 0.662 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.6351, allocations: 28.05 kB / 0.662 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6353, allocations: 43.83 kB / 0.662 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.6353, allocations: 43.98 kB / 0.6621 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006195/0.636, allocations: 439 kB / 0.6625 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.636, allocations: 0 / 0.6625 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001062/0.637, allocations: 263.9 kB / 0.6628 GB, free: 13.56 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.0009487/0.638, allocations: 289.9 kB / 0.663 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.6395, allocations: 0.6058 MB / 0.6636 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.6395, allocations: 8 kB / 0.6636 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6406, allocations: 407.3 kB / 0.664 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6423, allocations: 375.1 kB / 0.6644 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.645, allocations: 1.551 MB / 0.6659 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.6457, allocations: 0.93 MB / 0.6668 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001314/0.647, allocations: 462.4 kB / 0.6672 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.6474, allocations: 111.4 kB / 0.6673 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of SimCode: time 1.031e-06/0.6474, allocations: 0 / 0.6673 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.03152/0.6789, allocations: 17.34 MB / 0.6843 GB, free: 7.613 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