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.001267/0.001267, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001295/0.001296, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.337/1.337, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2195/0.2195, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 62.95 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4293/0.5566, allocations: 174.4 MB / 0.6292 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008411/0.565, allocations: 5.339 MB / 0.6344 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5661, allocations: 23.88 kB / 0.6344 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5675, allocations: 314 kB / 0.6347 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.5722, allocations: 1.239 MB / 0.6359 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.5753, allocations: 0.9765 MB / 0.6369 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.5781, allocations: 1.848 MB / 0.6387 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.5792, allocations: 455 kB / 0.6391 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.5821, allocations: 1.059 MB / 0.6402 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.5836, allocations: 0.6501 MB / 0.6408 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003203/0.584, allocations: 64 kB / 0.6409 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.5858, allocations: 0.5813 MB / 0.6414 GB, free: 5.648 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004905/0.5863, allocations: 267.3 kB / 0.6417 GB, free: 5.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.5872, allocations: 394.2 kB / 0.6421 GB, free: 5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.5897, allocations: 1.289 MB / 0.6433 GB, free: 3.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5897, allocations: 4 kB / 0.6433 GB, free: 3.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5897, allocations: 4 kB / 0.6433 GB, free: 3.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.5897, allocations: 0 / 0.6433 GB, free: 3.699 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.002441/0.5922, allocations: 1.095 MB / 0.6444 GB, free: 2.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5922, allocations: 8.031 kB / 0.6444 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/0.5931, allocations: 139.1 kB / 0.6445 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.5938, allocations: 0.5117 MB / 0.645 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5939, allocations: 100.4 kB / 0.6451 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.594, allocations: 48 kB / 0.6452 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5953, allocations: 0.8136 MB / 0.646 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5953, allocations: 7.938 kB / 0.646 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.5954, allocations: 31.42 kB / 0.646 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.5955, allocations: 36.98 kB / 0.646 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5965, allocations: 0.6321 MB / 0.6467 GB, free: 108 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.004666/0.6012, allocations: 3.973 MB / 0.6505 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.6018, allocations: 355.6 kB / 0.6509 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.6021, allocations: 173.3 kB / 0.651 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.6022, allocations: 89.38 kB / 0.6511 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.6023, allocations: 42.83 kB / 0.6512 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/0.6023, allocations: 0 / 0.6512 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005878/0.6082, allocations: 1.662 MB / 0.6528 GB, free: 9.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.6083, allocations: 136.5 kB / 0.6529 GB, free: 9.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.609, allocations: 0.6055 MB / 0.6535 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6091, allocations: 41.7 kB / 0.6536 GB, free: 8.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.6094, allocations: 370.8 kB / 0.6539 GB, free: 8.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.6095, allocations: 142 kB / 0.654 GB, free: 8.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.6098, allocations: 158.5 kB / 0.6542 GB, free: 7.965 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.61, allocations: 374.8 kB / 0.6546 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.6104, allocations: 205.8 kB / 0.6548 GB, free: 7.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.611, allocations: 0.5171 MB / 0.6553 GB, free: 6.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.612, allocations: 0.7475 MB / 0.656 GB, free: 5.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.612, allocations: 4 kB / 0.656 GB, free: 5.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001447/0.6134, allocations: 0.8949 MB / 0.6569 GB, free: 4.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6135, allocations: 8 kB / 0.6569 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.6135, allocations: 12.84 kB / 0.6569 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.6149, allocations: 312.6 kB / 0.6572 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.6153, allocations: 123.9 kB / 0.6573 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.6165, allocations: 0.9371 MB / 0.6582 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.617, allocations: 31.92 kB / 0.6582 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/0.6171, allocations: 67.98 kB / 0.6583 GB, free: 3.422 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.0003502/0.6175, allocations: 245.5 kB / 0.6585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6176, allocations: 71.16 kB / 0.6586 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.6194, allocations: 0.8648 MB / 0.6595 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6194, allocations: 4 kB / 0.6595 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6194, allocations: 0 / 0.6595 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6195, allocations: 7.984 kB / 0.6595 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.6217, allocations: 1.457 MB / 0.6609 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6217, allocations: 8.031 kB / 0.6609 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6228, allocations: 203.8 kB / 0.6611 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.881e-05/0.6229, allocations: 24.78 kB / 0.6611 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.6229, allocations: 23.98 kB / 0.6611 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.6251, allocations: 2.881 MB / 0.664 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6251, allocations: 0 / 0.664 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6263, allocations: 0.8208 MB / 0.6648 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.6266, allocations: 184.3 kB / 0.6649 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6267, allocations: 8 kB / 0.6649 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.6272, allocations: 20 kB / 0.665 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6273, allocations: 43.95 kB / 0.665 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.6274, allocations: 51.97 kB / 0.6651 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005576/0.6279, allocations: 435 kB / 0.6655 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6279, allocations: 0 / 0.6655 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001029/0.629, allocations: 252 kB / 0.6657 GB, free: 11.36 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.0009121/0.6299, allocations: 302 kB / 0.666 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.6312, allocations: 0.6015 MB / 0.6666 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6312, allocations: 0.5 kB / 0.6666 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.6322, allocations: 414.2 kB / 0.667 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.00173/0.634, allocations: 374.8 kB / 0.6673 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.6365, allocations: 1.387 MB / 0.6687 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.6371, allocations: 0.9261 MB / 0.6696 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.6375, allocations: 127.4 kB / 0.6697 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.6375, allocations: 0 / 0.6697 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.02669/0.6642, allocations: 16.45 MB / 0.6858 GB, free: 6.773 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