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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 213.5 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 44.25 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003362/0.003362, allocations: 70.72 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.151, allocations: 61.04 MB / 0.5162 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3979/0.5489, allocations: 155.7 MB / 0.6682 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.5596, allocations: 7.536 MB / 0.6755 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.5602, allocations: 31.75 kB / 0.6756 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008669/0.5611, allocations: 298 kB / 0.6759 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.5647, allocations: 1.518 MB / 0.6773 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.5676, allocations: 1.173 MB / 0.6785 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.5698, allocations: 1.872 MB / 0.6803 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.5704, allocations: 389.6 kB / 0.6807 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.5729, allocations: 1.273 MB / 0.6819 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.574, allocations: 0.6812 MB / 0.6826 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.5741, allocations: 60 kB / 0.6827 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.5757, allocations: 0.7489 MB / 0.6834 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.5759, allocations: 267.2 kB / 0.6836 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.5763, allocations: 334.6 kB / 0.684 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.5782, allocations: 1.429 MB / 0.6854 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5782, allocations: 0 / 0.6854 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5782, allocations: 0 / 0.6854 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.5782, allocations: 0 / 0.6854 GB, free: 4.895 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.002246/0.5804, allocations: 1.08 MB / 0.6864 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5805, allocations: 8.031 kB / 0.6864 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.5806, allocations: 98.5 kB / 0.6865 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.5814, allocations: 139.5 kB / 0.6866 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.5824, allocations: 481.4 kB / 0.6871 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5825, allocations: 163.8 kB / 0.6873 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.5826, allocations: 44 kB / 0.6873 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5841, allocations: 1.165 MB / 0.6884 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5841, allocations: 7.938 kB / 0.6884 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.5842, allocations: 24 kB / 0.6885 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.5843, allocations: 36.98 kB / 0.6885 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.5853, allocations: 0.6166 MB / 0.6891 GB, free: 0.793 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.004529/0.5899, allocations: 3.343 MB / 0.6924 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.5904, allocations: 331.6 kB / 0.6927 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.5907, allocations: 162 kB / 0.6928 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.5911, allocations: 126.1 kB / 0.693 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5911, allocations: 42.47 kB / 0.693 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.5911, allocations: 0 / 0.693 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005536/0.5967, allocations: 1.601 MB / 0.6946 GB, free: 11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/0.5967, allocations: 140.5 kB / 0.6947 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.5975, allocations: 0.6288 MB / 0.6953 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.5976, allocations: 33.64 kB / 0.6953 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.5979, allocations: 375.8 kB / 0.6957 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.598, allocations: 150.7 kB / 0.6958 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.5982, allocations: 158.6 kB / 0.696 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5984, allocations: 374.8 kB / 0.6964 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.5988, allocations: 205.9 kB / 0.6966 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.5995, allocations: 0.5877 MB / 0.6971 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.6005, allocations: 0.7484 MB / 0.6979 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6005, allocations: 4 kB / 0.6979 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001487/0.602, allocations: 0.8721 MB / 0.6987 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.602, allocations: 12 kB / 0.6987 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.602, allocations: 8 kB / 0.6987 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.6034, allocations: 327.5 kB / 0.699 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.6037, allocations: 119.8 kB / 0.6992 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6049, allocations: 0.9386 MB / 0.7001 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.6053, allocations: 20 kB / 0.7001 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.6054, allocations: 71.98 kB / 0.7002 GB, free: 4.867 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.0003492/0.6058, allocations: 237.5 kB / 0.7004 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.6059, allocations: 71.58 kB / 0.7005 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.6073, allocations: 0.6887 MB / 0.7011 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6074, allocations: 4 kB / 0.7011 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6074, allocations: 0 / 0.7011 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6074, allocations: 0 / 0.7011 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.6095, allocations: 1.215 MB / 0.7023 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6095, allocations: 4.125 kB / 0.7023 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6106, allocations: 215.8 kB / 0.7025 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.478e-05/0.6107, allocations: 24.84 kB / 0.7026 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.6107, allocations: 27.92 kB / 0.7026 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.6131, allocations: 2.658 MB / 0.7052 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6131, allocations: 3.938 kB / 0.7052 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6144, allocations: 0.8095 MB / 0.706 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.6147, allocations: 123.6 kB / 0.7061 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.6148, allocations: 19.92 kB / 0.7061 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.6152, allocations: 15.94 kB / 0.7061 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.6153, allocations: 39.94 kB / 0.7062 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.6153, allocations: 43.92 kB / 0.7062 GB, free: 14.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000557/0.6159, allocations: 443 kB / 0.7066 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6159, allocations: 0 / 0.7066 GB, free: 13.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009165/0.6168, allocations: 295.6 kB / 0.7069 GB, free: 13.61 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.002346/0.6191, allocations: 1.609 MB / 0.7085 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.6203, allocations: 0.5305 MB / 0.709 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6203, allocations: 0 / 0.709 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.6213, allocations: 411.8 kB / 0.7094 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6229, allocations: 368.5 kB / 0.7097 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.6316, allocations: 6.314 MB / 0.7159 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.6319, allocations: 332.7 kB / 0.7162 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008092/0.6327, allocations: 254 kB / 0.7165 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.6332, allocations: 279.3 kB / 0.7167 GB, free: 3.074 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6332, allocations: 0 / 0.7167 GB, free: 3.074 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06513/0.6983, allocations: 26.75 MB / 0.7429 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.65, allocations: 3.859 kB / 0.7429 GB, free: 8.293 MB / 0.5762 GB " [Timeout remaining time 645] (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.000201919 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.6497314972803]