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.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.0008033/0.0008033, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008282/0.0008282, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8583/0.8583, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2115/0.2115, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.57e-05, allocations: 2.281 kB / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2694/0.2694, allocations: 153.8 MB / 0.5795 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.275, allocations: 4.919 MB / 0.5843 GB, free: 5.855 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.2756, allocations: 27.75 kB / 0.5843 GB, free: 5.828 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.2764, allocations: 309.9 kB / 0.5846 GB, free: 5.523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.2789, allocations: 1.314 MB / 0.5859 GB, free: 4.203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.2807, allocations: 1.008 MB / 0.5869 GB, free: 3.203 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.2823, allocations: 1.887 MB / 0.5887 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/0.2829, allocations: 392.5 kB / 0.5891 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2848, allocations: 1.351 MB / 0.5904 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006986/0.2855, allocations: 0.6506 MB / 0.5911 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.2855, allocations: 60 kB / 0.5911 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.2863, allocations: 0.5537 MB / 0.5917 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.2865, allocations: 283.1 kB / 0.5919 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.2867, allocations: 291.3 kB / 0.5922 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.2879, allocations: 1.379 MB / 0.5936 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2879, allocations: 3.938 kB / 0.5936 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2879, allocations: 0 / 0.5936 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.288, allocations: 4 kB / 0.5936 GB, free: 12.35 MB / 0.4948 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.001662/0.2896, allocations: 1.034 MB / 0.5946 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2897, allocations: 12.03 kB / 0.5946 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.2898, allocations: 96.02 kB / 0.5947 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.2902, allocations: 139.5 kB / 0.5948 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.2908, allocations: 481.4 kB / 0.5953 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.2909, allocations: 151.8 kB / 0.5954 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.291, allocations: 55.92 kB / 0.5955 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.2919, allocations: 1.136 MB / 0.5966 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2919, allocations: 8 kB / 0.5966 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.2919, allocations: 27.98 kB / 0.5966 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.292, allocations: 40.92 kB / 0.5967 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.2929, allocations: 0.6088 MB / 0.5972 GB, free: 8.328 MB / 0.4948 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.00254/0.2954, allocations: 3.305 MB / 0.6005 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.2958, allocations: 340.8 kB / 0.6008 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2959, allocations: 157.3 kB / 0.601 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.296, allocations: 20.22 kB / 0.601 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.296, allocations: 45.17 kB / 0.601 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.296, allocations: 0 / 0.601 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00294/0.299, allocations: 1.601 MB / 0.6026 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.299, allocations: 136.5 kB / 0.6027 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.2995, allocations: 0.6365 MB / 0.6033 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.2995, allocations: 37.7 kB / 0.6034 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2997, allocations: 371.9 kB / 0.6037 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.2998, allocations: 146.8 kB / 0.6039 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.3001, allocations: 158.5 kB / 0.604 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3002, allocations: 374.8 kB / 0.6044 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.3004, allocations: 205.9 kB / 0.6046 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.3008, allocations: 0.5841 MB / 0.6051 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.3014, allocations: 0.7526 MB / 0.6059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3015, allocations: 4 kB / 0.6059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009106/0.3024, allocations: 0.8842 MB / 0.6067 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3024, allocations: 8 kB / 0.6067 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3024, allocations: 12 kB / 0.6068 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/0.3031, allocations: 315.6 kB / 0.6071 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3033, allocations: 123.8 kB / 0.6072 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/0.304, allocations: 0.9302 MB / 0.6081 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3042, allocations: 28 kB / 0.6081 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.3043, allocations: 77.38 kB / 0.6082 GB, free: 12.55 MB / 0.5105 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.0002081/0.3045, allocations: 244.2 kB / 0.6084 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3046, allocations: 75.52 kB / 0.6085 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009596/0.3055, allocations: 0.86 MB / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3055, allocations: 4 kB / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3056, allocations: 3.984 kB / 0.6093 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3056, allocations: 8 kB / 0.6093 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3067, allocations: 1.133 MB / 0.6105 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3067, allocations: 6.438 kB / 0.6105 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.3073, allocations: 211.7 kB / 0.6107 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-05/0.3073, allocations: 29.03 kB / 0.6107 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3073, allocations: 16 kB / 0.6107 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3089, allocations: 2.668 MB / 0.6133 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3089, allocations: 4.031 kB / 0.6133 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.3097, allocations: 0.8239 MB / 0.6141 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3098, allocations: 111.5 kB / 0.6142 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.3099, allocations: 12 kB / 0.6142 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3101, allocations: 15.98 kB / 0.6142 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.3101, allocations: 43.88 kB / 0.6143 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.3102, allocations: 47.92 kB / 0.6143 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000344/0.3105, allocations: 451.1 kB / 0.6148 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 0.6148 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005552/0.3111, allocations: 251.8 kB / 0.615 GB, free: 5.215 MB / 0.5105 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.001387/0.3125, allocations: 1.55 MB / 0.6165 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006967/0.3132, allocations: 0.5309 MB / 0.617 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3132, allocations: 0 / 0.617 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.3137, allocations: 403.2 kB / 0.6174 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3148, allocations: 384.3 kB / 0.6178 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.3202, allocations: 6.266 MB / 0.6239 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.3204, allocations: 328.7 kB / 0.6242 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007585/0.3212, allocations: 467 kB / 0.6247 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.3215, allocations: 284.4 kB / 0.6249 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/0.3215, allocations: 0 / 0.6249 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.237/0.5585, allocations: 25.68 MB / 0.65 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.335, allocations: 6.438 kB / 0.65 GB, free: 69.72 MB / 0.5261 GB " [Timeout remaining time 651] (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.000201919 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.34507404640317]