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.001123/0.001123, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001251/0.001252, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2068/0.2068, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1961/0.5625, allocations: 174.4 MB / 0.6887 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008784/0.5713, allocations: 5.33 MB / 0.6939 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5724, allocations: 19.88 kB / 0.6939 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.5739, allocations: 318 kB / 0.6942 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.5783, allocations: 1.267 MB / 0.6955 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.5812, allocations: 0.958 MB / 0.6964 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.5837, allocations: 1.848 MB / 0.6982 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009464/0.5846, allocations: 461.3 kB / 0.6987 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.5874, allocations: 1.086 MB / 0.6997 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5886, allocations: 0.6578 MB / 0.7004 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.5888, allocations: 64 kB / 0.7004 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.5903, allocations: 0.6203 MB / 0.701 GB, free: 464 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.5907, allocations: 267.3 kB / 0.7013 GB, free: 196 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.5914, allocations: 394.2 kB / 0.7017 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.5938, allocations: 1.312 MB / 0.7029 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5938, allocations: 0 / 0.7029 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5938, allocations: 0 / 0.7029 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.616e-05/0.5939, allocations: 0 / 0.7029 GB, free: 14.49 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.002626/0.5965, allocations: 1.128 MB / 0.704 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5966, allocations: 8.031 kB / 0.7041 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.5967, allocations: 98.52 kB / 0.7042 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.5976, allocations: 135.5 kB / 0.7043 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.5986, allocations: 0.5435 MB / 0.7048 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.5987, allocations: 96.41 kB / 0.7049 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.5988, allocations: 51.98 kB / 0.705 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6001, allocations: 0.8174 MB / 0.7058 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6001, allocations: 4 kB / 0.7058 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.6002, allocations: 20 kB / 0.7058 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.6002, allocations: 44.92 kB / 0.7058 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6013, allocations: 0.6243 MB / 0.7064 GB, free: 10.73 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.00446/0.6058, allocations: 3.962 MB / 0.7103 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.6064, allocations: 355.6 kB / 0.7106 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.6067, allocations: 177.3 kB / 0.7108 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.6068, allocations: 93.36 kB / 0.7109 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6068, allocations: 38.84 kB / 0.7109 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.6068, allocations: 0 / 0.7109 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005613/0.6125, allocations: 1.681 MB / 0.7126 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.6126, allocations: 136.5 kB / 0.7127 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.6132, allocations: 0.6134 MB / 0.7133 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.6133, allocations: 37.7 kB / 0.7133 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.6135, allocations: 367.8 kB / 0.7137 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.6137, allocations: 146.8 kB / 0.7138 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.6139, allocations: 158.6 kB / 0.714 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.614, allocations: 378.8 kB / 0.7143 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.6144, allocations: 205.9 kB / 0.7145 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.6149, allocations: 0.5125 MB / 0.715 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.6159, allocations: 0.759 MB / 0.7158 GB, free: 448 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6159, allocations: 4 kB / 0.7158 GB, free: 444 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2504/0.8663, allocations: 0.8737 MB / 0.7166 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.8664, allocations: 9.125 kB / 0.7166 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.8664, allocations: 14.25 kB / 0.7167 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.8681, allocations: 312.3 kB / 0.717 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.8687, allocations: 122.4 kB / 0.7171 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.87, allocations: 0.9316 MB / 0.718 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.8707, allocations: 28.08 kB / 0.718 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.8709, allocations: 68.2 kB / 0.7181 GB, free: 188.8 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.000499/0.8714, allocations: 250.6 kB / 0.7183 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.8717, allocations: 74.31 kB / 0.7184 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.8736, allocations: 0.86 MB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8737, allocations: 5.422 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.8737, allocations: 0 / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.8737, allocations: 4.141 kB / 0.7192 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.8763, allocations: 1.463 MB / 0.7207 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.8763, allocations: 2.891 kB / 0.7207 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8774, allocations: 215.1 kB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.8776, allocations: 24.06 kB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.8776, allocations: 28.09 kB / 0.7209 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.8794, allocations: 2.874 MB / 0.7237 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8794, allocations: 1.094 kB / 0.7237 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.881, allocations: 0.8433 MB / 0.7245 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.8814, allocations: 190.6 kB / 0.7247 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.8816, allocations: 10.11 kB / 0.7247 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.8821, allocations: 14.66 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.8823, allocations: 46.27 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.722e-05/0.8824, allocations: 43.89 kB / 0.7248 GB, free: 184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006866/0.883, allocations: 436.9 kB / 0.7253 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8831, allocations: 0 / 0.7253 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001198/0.8843, allocations: 253.4 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.002424/0.8867, allocations: 1.557 MB / 0.727 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.8881, allocations: 0.5478 MB / 0.7276 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.8882, allocations: 1.75 kB / 0.7276 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.8893, allocations: 420.5 kB / 0.728 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.002034/0.8913, allocations: 376.2 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.01045/0.9018, allocations: 6.345 MB / 0.7345 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.9024, allocations: 0.933 MB / 0.7354 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001306/0.9037, allocations: 460.7 kB / 0.7359 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/0.9043, allocations: 284.1 kB / 0.7361 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.9043, allocations: 1.438 kB / 0.7361 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.9575, allocations: 24.38 MB / 0.7599 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.76, allocations: 21.17 kB / 0.76 GB, free: 156.3 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