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.0007721/0.0007721, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008006/0.0008006, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8793/0.8793, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2495/0.2495, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.613e-06/1.613e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.632e-05, allocations: 4.25 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2734/0.2734, allocations: 153.8 MB / 0.5795 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.2782, allocations: 4.919 MB / 0.5843 GB, free: 5.871 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.2786, allocations: 27.75 kB / 0.5843 GB, free: 5.844 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2792, allocations: 313.8 kB / 0.5846 GB, free: 5.535 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.2814, allocations: 1.318 MB / 0.5859 GB, free: 4.215 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.2829, allocations: 1.01 MB / 0.5869 GB, free: 3.211 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2846, allocations: 1.883 MB / 0.5887 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.285, allocations: 396.5 kB / 0.5891 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.2866, allocations: 1.351 MB / 0.5904 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/0.2872, allocations: 0.6423 MB / 0.5911 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.2873, allocations: 64 kB / 0.5911 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.2882, allocations: 0.5498 MB / 0.5917 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.2884, allocations: 291.1 kB / 0.5919 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.2886, allocations: 283.3 kB / 0.5922 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.2899, allocations: 1.383 MB / 0.5936 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2899, allocations: 0 / 0.5936 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2899, allocations: 4 kB / 0.5936 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2899, allocations: 0 / 0.5936 GB, free: 12.37 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.001472/0.2914, allocations: 1.034 MB / 0.5946 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2914, allocations: 8.031 kB / 0.5946 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.2915, allocations: 110.5 kB / 0.5947 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/0.2922, allocations: 135.5 kB / 0.5948 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.2928, allocations: 477.3 kB / 0.5953 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.2929, allocations: 155.8 kB / 0.5954 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.2929, allocations: 48 kB / 0.5955 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.2939, allocations: 1.144 MB / 0.5966 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2939, allocations: 0 / 0.5966 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.2939, allocations: 24 kB / 0.5966 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.294, allocations: 44.92 kB / 0.5967 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.2947, allocations: 0.6166 MB / 0.5973 GB, free: 8.34 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.002631/0.2973, allocations: 3.301 MB / 0.6005 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.2977, allocations: 342.3 kB / 0.6008 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2979, allocations: 162.2 kB / 0.601 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.2979, allocations: 12.27 kB / 0.601 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.298, allocations: 38.84 kB / 0.601 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.298, allocations: 4 kB / 0.601 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003273/0.3012, allocations: 1.612 MB / 0.6026 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.3013, allocations: 136.5 kB / 0.6027 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.3018, allocations: 0.6326 MB / 0.6033 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3018, allocations: 33.7 kB / 0.6034 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.302, allocations: 367.9 kB / 0.6037 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.3021, allocations: 160.9 kB / 0.6039 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3022, allocations: 154.6 kB / 0.604 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3023, allocations: 374.8 kB / 0.6044 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.3025, allocations: 205.9 kB / 0.6046 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.3029, allocations: 0.588 MB / 0.6051 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.3035, allocations: 0.7486 MB / 0.6059 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3036, allocations: 8 kB / 0.6059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009273/0.3045, allocations: 0.8802 MB / 0.6067 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3045, allocations: 12.19 kB / 0.6068 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3045, allocations: 12 kB / 0.6068 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.3053, allocations: 306 kB / 0.6071 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3055, allocations: 123.8 kB / 0.6072 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.3062, allocations: 0.9381 MB / 0.6081 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3065, allocations: 24 kB / 0.6081 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.3065, allocations: 69.31 kB / 0.6082 GB, free: 12.57 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.0004486/0.307, allocations: 249.5 kB / 0.6084 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.307, allocations: 75.5 kB / 0.6085 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3081, allocations: 0.8651 MB / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3081, allocations: 4 kB / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3081, allocations: 0 / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3081, allocations: 0 / 0.6093 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.3093, allocations: 1.137 MB / 0.6105 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3093, allocations: 3.594 kB / 0.6105 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.3098, allocations: 215.7 kB / 0.6107 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.126e-05/0.3099, allocations: 24.84 kB / 0.6107 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.3099, allocations: 28.17 kB / 0.6107 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.3111, allocations: 2.656 MB / 0.6133 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3111, allocations: 4.312 kB / 0.6133 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.3119, allocations: 0.8259 MB / 0.6141 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3121, allocations: 115.5 kB / 0.6142 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.3121, allocations: 8 kB / 0.6142 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3123, allocations: 19.98 kB / 0.6143 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.3124, allocations: 43.88 kB / 0.6143 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3125, allocations: 55.8 kB / 0.6143 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003411/0.3128, allocations: 439 kB / 0.6148 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3128, allocations: 0 / 0.6148 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005914/0.3134, allocations: 255.9 kB / 0.615 GB, free: 5.223 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.001586/0.315, allocations: 1.55 MB / 0.6165 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.3157, allocations: 0.5314 MB / 0.617 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3157, allocations: 4 kB / 0.617 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.3162, allocations: 398.4 kB / 0.6174 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.3172, allocations: 374.5 kB / 0.6178 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.3231, allocations: 6.266 MB / 0.6239 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3233, allocations: 336.7 kB / 0.6242 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007023/0.324, allocations: 470.2 kB / 0.6247 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.3243, allocations: 280.4 kB / 0.6249 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.3244, allocations: 0 / 0.6249 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/0.5292, allocations: 25.68 MB / 0.65 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/9.026, allocations: 0 / 0.65 GB, free: 164.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.07803323958069]