Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001119/0.001119, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2035/0.2035, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09862, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4082/0.5069, allocations: 179.7 MB / 0.6629 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.517, allocations: 8.182 MB / 0.6709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.5176, allocations: 19.88 kB / 0.6709 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.5185, allocations: 318 kB / 0.6712 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.522, allocations: 1.501 MB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.5249, allocations: 1.156 MB / 0.6738 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002303/0.5272, allocations: 1.853 MB / 0.6756 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007656/0.528, allocations: 448.5 kB / 0.676 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.5305, allocations: 1.253 MB / 0.6773 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009172/0.5314, allocations: 0.654 MB / 0.6779 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.5316, allocations: 60 kB / 0.678 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.5333, allocations: 0.8359 MB / 0.6788 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.5336, allocations: 255.3 kB / 0.679 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.534, allocations: 402.2 kB / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.5359, allocations: 1.425 MB / 0.6808 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.536, allocations: 0 / 0.6808 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.536, allocations: 4 kB / 0.6808 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.536, allocations: 0 / 0.6808 GB, free: 4.688 MB / 0.5137 GB 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.002259/0.5383, allocations: 1.159 MB / 0.6819 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5383, allocations: 11.89 kB / 0.6819 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.5384, allocations: 98.52 kB / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.5393, allocations: 139.5 kB / 0.6822 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/0.5402, allocations: 0.5434 MB / 0.6827 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.5403, allocations: 100.4 kB / 0.6828 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.5404, allocations: 51.98 kB / 0.6829 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5417, allocations: 0.8097 MB / 0.6836 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5417, allocations: 3.984 kB / 0.6836 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.5418, allocations: 28.81 kB / 0.6837 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.5418, allocations: 36.98 kB / 0.6837 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.5429, allocations: 0.6127 MB / 0.6843 GB, free: 0.918 MB / 0.5137 GB 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.004548/0.5474, allocations: 3.993 MB / 0.6882 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.548, allocations: 363.5 kB / 0.6886 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.5483, allocations: 170.5 kB / 0.6887 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.5488, allocations: 357.5 kB / 0.6891 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5489, allocations: 42.84 kB / 0.6891 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.5489, allocations: 0 / 0.6891 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005439/0.5543, allocations: 1.687 MB / 0.6907 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.5544, allocations: 144.4 kB / 0.6909 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.5551, allocations: 0.6133 MB / 0.6915 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.5551, allocations: 33.7 kB / 0.6915 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.5554, allocations: 367.9 kB / 0.6919 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.5555, allocations: 154.7 kB / 0.692 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.5557, allocations: 154.6 kB / 0.6922 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5559, allocations: 378.8 kB / 0.6925 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.5562, allocations: 197.9 kB / 0.6927 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.5567, allocations: 0.5086 MB / 0.6932 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5578, allocations: 0.7602 MB / 0.6939 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5578, allocations: 0 / 0.6939 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001363/0.5591, allocations: 0.8842 MB / 0.6948 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5592, allocations: 8 kB / 0.6948 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5592, allocations: 12 kB / 0.6948 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.5606, allocations: 309.2 kB / 0.6951 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.561, allocations: 123.8 kB / 0.6952 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.562, allocations: 0.9309 MB / 0.6962 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.5625, allocations: 24 kB / 0.6962 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.5626, allocations: 71.92 kB / 0.6962 GB, free: 3.902 MB / 0.5294 GB 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.0003026/0.5629, allocations: 249.6 kB / 0.6965 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.563, allocations: 67.58 kB / 0.6965 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.5643, allocations: 0.6822 MB / 0.6972 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5643, allocations: 8 kB / 0.6972 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5643, allocations: 3.938 kB / 0.6972 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5643, allocations: 3.984 kB / 0.6972 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.5664, allocations: 1.603 MB / 0.6988 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5664, allocations: 7.984 kB / 0.6988 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.5674, allocations: 211.9 kB / 0.699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-05/0.5675, allocations: 28.78 kB / 0.699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.5676, allocations: 23.98 kB / 0.6991 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.5696, allocations: 2.865 MB / 0.7019 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5696, allocations: 3.984 kB / 0.7019 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.5708, allocations: 0.8091 MB / 0.7026 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.5711, allocations: 196.6 kB / 0.7028 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.5712, allocations: 12 kB / 0.7028 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.5715, allocations: 15.98 kB / 0.7029 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5717, allocations: 39.97 kB / 0.7029 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.5717, allocations: 51.91 kB / 0.7029 GB, free: 12.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004772/0.5722, allocations: 439 kB / 0.7034 GB, free: 12.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5722, allocations: 3.938 kB / 0.7034 GB, free: 12.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008622/0.5731, allocations: 295.6 kB / 0.7037 GB, free: 11.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002122/0.5752, allocations: 1.614 MB / 0.7052 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.5763, allocations: 0.555 MB / 0.7058 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5763, allocations: 7.938 kB / 0.7058 GB, free: 9.598 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/0.5772, allocations: 410.3 kB / 0.7062 GB, free: 9.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.5788, allocations: 370.1 kB / 0.7065 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.5867, allocations: 6.322 MB / 0.7127 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.5873, allocations: 0.9222 MB / 0.7136 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009005/0.5882, allocations: 265.9 kB / 0.7139 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.5887, allocations: 275.3 kB / 0.7141 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.5887, allocations: 0 / 0.7141 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/0.6401, allocations: 25.4 MB / 0.7389 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.95, allocations: 12.02 kB / 0.7389 GB, free: 7.184 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches