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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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.001609/0.001609, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001214/0.001214, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.221/0.221, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2111/0.5683, allocations: 174.4 MB / 0.6887 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007829/0.5762, allocations: 5.338 MB / 0.6939 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.5769, allocations: 19.88 kB / 0.694 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000976/0.578, allocations: 314 kB / 0.6943 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.5813, allocations: 1.243 MB / 0.6955 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.5839, allocations: 0.9619 MB / 0.6964 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002416/0.5863, allocations: 1.852 MB / 0.6982 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.587, allocations: 457.3 kB / 0.6987 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.589, allocations: 1.067 MB / 0.6997 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.59, allocations: 0.6578 MB / 0.7003 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.5902, allocations: 60 kB / 0.7004 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.5917, allocations: 0.6203 MB / 0.701 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.592, allocations: 263.3 kB / 0.7013 GB, free: 280 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004933/0.5925, allocations: 398.2 kB / 0.7016 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.5944, allocations: 1.308 MB / 0.7029 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5944, allocations: 0 / 0.7029 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.257e-06/0.5944, allocations: 0 / 0.7029 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.5944, allocations: 3.938 kB / 0.7029 GB, free: 14.57 MB / 0.5606 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.002339/0.5968, allocations: 1.125 MB / 0.704 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.5968, allocations: 12.03 kB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.597, allocations: 98.5 kB / 0.7041 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.5978, allocations: 135.5 kB / 0.7042 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.5987, allocations: 0.5357 MB / 0.7048 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.5988, allocations: 112.4 kB / 0.7049 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.5989, allocations: 44 kB / 0.7049 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.6002, allocations: 0.8174 MB / 0.7057 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6003, allocations: 0 / 0.7057 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.6003, allocations: 28 kB / 0.7057 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.6004, allocations: 40.92 kB / 0.7058 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6015, allocations: 0.6243 MB / 0.7064 GB, free: 10.81 MB / 0.5606 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.004655/0.6062, allocations: 3.958 MB / 0.7103 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.6068, allocations: 359.5 kB / 0.7106 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.6071, allocations: 173.3 kB / 0.7108 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.6073, allocations: 97.34 kB / 0.7109 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6073, allocations: 42.84 kB / 0.7109 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/0.6073, allocations: 0 / 0.7109 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005583/0.6129, allocations: 1.673 MB / 0.7125 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.613, allocations: 140.5 kB / 0.7127 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.6138, allocations: 0.6134 MB / 0.7133 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.6138, allocations: 33.7 kB / 0.7133 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.6142, allocations: 371.8 kB / 0.7137 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6143, allocations: 150.7 kB / 0.7138 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.6145, allocations: 158.6 kB / 0.7139 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.6148, allocations: 374.8 kB / 0.7143 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.6151, allocations: 201.9 kB / 0.7145 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.6158, allocations: 0.5163 MB / 0.715 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.6169, allocations: 0.7552 MB / 0.7157 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6169, allocations: 8 kB / 0.7157 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2161/0.833, allocations: 0.8743 MB / 0.7166 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.8331, allocations: 9.25 kB / 0.7166 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.8331, allocations: 10.12 kB / 0.7166 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.8346, allocations: 314.2 kB / 0.7169 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.835, allocations: 127 kB / 0.717 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009416/0.836, allocations: 0.9285 MB / 0.7179 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.8365, allocations: 31.98 kB / 0.718 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.8366, allocations: 70.5 kB / 0.718 GB, free: 188.9 MB / 0.5606 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.0003227/0.8369, allocations: 246.5 kB / 0.7183 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.8371, allocations: 70.2 kB / 0.7183 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.8386, allocations: 0.865 MB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8386, allocations: 3.281 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8386, allocations: 1 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.8386, allocations: 2.25 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.8404, allocations: 1.459 MB / 0.7206 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8404, allocations: 3.906 kB / 0.7206 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.8414, allocations: 210.9 kB / 0.7208 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.134e-05/0.8415, allocations: 24.38 kB / 0.7208 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.8416, allocations: 24.11 kB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.843, allocations: 2.879 MB / 0.7237 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.843, allocations: 1.781 kB / 0.7237 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.8442, allocations: 0.8332 MB / 0.7245 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.8444, allocations: 201.6 kB / 0.7247 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.8445, allocations: 12.27 kB / 0.7247 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.8449, allocations: 15.7 kB / 0.7247 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.845, allocations: 40.91 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.8451, allocations: 44.2 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000576/0.8457, allocations: 441.5 kB / 0.7252 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8457, allocations: 0 / 0.7252 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009884/0.8467, allocations: 256.2 kB / 0.7255 GB, free: 183.8 MB / 0.5606 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.002042/0.8487, allocations: 1.553 MB / 0.727 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.85, allocations: 0.5482 MB / 0.7275 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.85, allocations: 1.25 kB / 0.7275 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.8509, allocations: 421.8 kB / 0.7279 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.8525, allocations: 369.5 kB / 0.7283 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.8598, allocations: 6.353 MB / 0.7345 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.8601, allocations: 0.9289 MB / 0.7354 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009803/0.8611, allocations: 465.5 kB / 0.7358 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.8615, allocations: 284.5 kB / 0.7361 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.8615, allocations: 0 / 0.7361 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.9111, allocations: 24.38 MB / 0.7599 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.2, allocations: 7.359 kB / 0.7599 GB, free: 156.4 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > 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.csv","/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