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.001415/0.001415, 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.001811/0.001811, 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.355/1.355, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.1986/0.1986, allocations: 44.18 MB / 336.9 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.19 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 60.82 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4253/0.531, allocations: 172.6 MB / 0.6269 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007898/0.539, allocations: 5.412 MB / 0.6322 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009805/0.54, allocations: 27.81 kB / 0.6322 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.5412, allocations: 282.5 kB / 0.6325 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.5454, allocations: 1.15 MB / 0.6336 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.5486, allocations: 0.8927 MB / 0.6345 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.5512, allocations: 1.848 MB / 0.6363 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009203/0.5522, allocations: 465.4 kB / 0.6367 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.555, allocations: 1.051 MB / 0.6378 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.5565, allocations: 0.7008 MB / 0.6384 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.5567, allocations: 60 kB / 0.6385 GB, free: 8.562 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.5583, allocations: 0.589 MB / 0.6391 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.5588, allocations: 271.3 kB / 0.6393 GB, free: 7.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.5595, allocations: 398.2 kB / 0.6397 GB, free: 7.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.561, allocations: 0.9745 MB / 0.6407 GB, free: 6.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.561, allocations: 0 / 0.6407 GB, free: 6.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.561, allocations: 0 / 0.6407 GB, free: 6.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.5611, allocations: 0 / 0.6407 GB, free: 6.34 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.002871/0.5639, allocations: 1.106 MB / 0.6417 GB, free: 5.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.564, allocations: 8.031 kB / 0.6418 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.5649, allocations: 143 kB / 0.6419 GB, free: 5.031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.5658, allocations: 0.5002 MB / 0.6424 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.5659, allocations: 100.4 kB / 0.6425 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.566, allocations: 51.91 kB / 0.6425 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5674, allocations: 0.8252 MB / 0.6433 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5674, allocations: 0 / 0.6433 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.5675, allocations: 27.98 kB / 0.6434 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.5676, allocations: 36.98 kB / 0.6434 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.5687, allocations: 0.6282 MB / 0.644 GB, free: 2.738 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.004969/0.5737, allocations: 3.958 MB / 0.6479 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.5743, allocations: 355.6 kB / 0.6482 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.5746, allocations: 169.3 kB / 0.6484 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.5747, allocations: 89.38 kB / 0.6485 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.5748, allocations: 42.78 kB / 0.6485 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 4.028e-06/0.5748, allocations: 7.984 kB / 0.6485 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005771/0.5806, allocations: 1.667 MB / 0.6501 GB, free: 12.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.5807, allocations: 140.5 kB / 0.6503 GB, free: 11.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.5814, allocations: 0.6171 MB / 0.6509 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.5815, allocations: 33.7 kB / 0.6509 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.5818, allocations: 366.8 kB / 0.6513 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5819, allocations: 145.9 kB / 0.6514 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.5822, allocations: 158.6 kB / 0.6515 GB, free: 10.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5824, allocations: 370.8 kB / 0.6519 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.5828, allocations: 206.8 kB / 0.6521 GB, free: 10.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.5834, allocations: 0.5164 MB / 0.6526 GB, free: 9.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.5844, allocations: 0.7523 MB / 0.6533 GB, free: 8.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.5844, allocations: 4 kB / 0.6533 GB, free: 8.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00152/0.5859, allocations: 0.888 MB / 0.6542 GB, free: 7.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.586, allocations: 10.66 kB / 0.6542 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.586, allocations: 12 kB / 0.6542 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.5874, allocations: 308.6 kB / 0.6545 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.5879, allocations: 123.8 kB / 0.6546 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.5894, allocations: 0.9364 MB / 0.6556 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.59, allocations: 43.95 kB / 0.6556 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5901, allocations: 67.98 kB / 0.6557 GB, free: 6.055 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.0004054/0.5905, allocations: 254 kB / 0.6559 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5907, allocations: 63.25 kB / 0.656 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.5926, allocations: 0.874 MB / 0.6568 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5926, allocations: 4 kB / 0.6568 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5926, allocations: 0 / 0.6568 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5927, allocations: 0 / 0.6568 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.5948, allocations: 1.461 MB / 0.6582 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5948, allocations: 4 kB / 0.6583 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.5958, allocations: 207.9 kB / 0.6584 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.801e-05/0.5959, allocations: 24.84 kB / 0.6585 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.596, allocations: 20 kB / 0.6585 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.5982, allocations: 2.885 MB / 0.6613 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5982, allocations: 4.031 kB / 0.6613 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5994, allocations: 0.8208 MB / 0.6621 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.5998, allocations: 188.2 kB / 0.6623 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.5999, allocations: 8 kB / 0.6623 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.6004, allocations: 27.98 kB / 0.6623 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.6005, allocations: 47.89 kB / 0.6624 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.6006, allocations: 43.98 kB / 0.6624 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005236/0.6011, allocations: 443 kB / 0.6628 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6011, allocations: 0 / 0.6628 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009513/0.6021, allocations: 259.9 kB / 0.6631 GB, free: 13.96 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.0008586/0.6029, allocations: 286 kB / 0.6634 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.6043, allocations: 0.602 MB / 0.6639 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.6043, allocations: 4 kB / 0.664 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.6053, allocations: 406.3 kB / 0.6643 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6071, allocations: 371.4 kB / 0.6647 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.6096, allocations: 1.588 MB / 0.6662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.6102, allocations: 0.93 MB / 0.6672 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.6106, allocations: 135.3 kB / 0.6673 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.6106, allocations: 0 / 0.6673 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.02418/0.6348, allocations: 16.47 MB / 0.6834 GB, free: 9.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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