Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001157/0.001157, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.0008629/0.0008629, allocations: 169.9 kB / 23.31 MB, free: 1.211 MB / 18.57 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 0.7973/0.7973, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] 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.1265/0.1265, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 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.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.198e-05, allocations: 6.078 kB / 407.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02932/0.02934, allocations: 39.54 MB / 446.6 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004056/0.0334, allocations: 4.062 MB / 450.7 MB, free: 6.363 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.03389, allocations: 27.75 kB / 450.7 MB, free: 6.336 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.03465, allocations: 309.8 kB / 451 MB, free: 6.031 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.03602, allocations: 0.9086 MB / 451.9 MB, free: 5.117 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.03755, allocations: 0.9463 MB / 452.9 MB, free: 4.168 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.03912, allocations: 1.828 MB / 454.7 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.03959, allocations: 393.6 kB / 455.1 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2256/0.2652, allocations: 44.49 MB / 499.6 MB, free: 50.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009884/0.2751, allocations: 7.893 MB / 0.4956 GB, free: 47.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.2754, allocations: 60.31 kB / 0.4956 GB, free: 47.97 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.29, allocations: 10.58 MB / 0.506 GB, free: 44.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.2906, allocations: 281.2 kB / 0.5062 GB, free: 44.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.291, allocations: 281.2 kB / 0.5065 GB, free: 44.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2924, allocations: 1.125 MB / 0.5076 GB, free: 44.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2924, allocations: 0 / 0.5076 GB, free: 44.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2924, allocations: 0 / 0.5076 GB, free: 44.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2924, allocations: 0 / 0.5076 GB, free: 44.21 MB / 442.7 MB 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.001416/0.2938, allocations: 0.9951 MB / 0.5086 GB, free: 43.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2939, allocations: 9.625 kB / 0.5086 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.2939, allocations: 101.1 kB / 0.5087 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.2941, allocations: 88.59 kB / 0.5087 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.2947, allocations: 0.5018 MB / 0.5092 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.2948, allocations: 155 kB / 0.5094 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.2948, allocations: 51.5 kB / 0.5094 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.2956, allocations: 1.1 MB / 0.5105 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2957, allocations: 1.375 kB / 0.5105 GB, free: 42.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.2957, allocations: 21.84 kB / 0.5105 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.2958, allocations: 39.83 kB / 0.5106 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.2964, allocations: 0.6521 MB / 0.5112 GB, free: 42.04 MB / 442.7 MB 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.002369/0.2988, allocations: 3.413 MB / 0.5145 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.2993, allocations: 393.7 kB / 0.5149 GB, free: 39.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.2995, allocations: 196.9 kB / 0.5151 GB, free: 39.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2996, allocations: 53.52 kB / 0.5152 GB, free: 39.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2997, allocations: 37.83 kB / 0.5152 GB, free: 39.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.2997, allocations: 0 / 0.5152 GB, free: 39.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.00188/0.3015, allocations: 1.462 MB / 0.5166 GB, free: 38.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3016, allocations: 141.2 kB / 0.5168 GB, free: 38.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.302, allocations: 0.5859 MB / 0.5173 GB, free: 38.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.302, allocations: 32.92 kB / 0.5174 GB, free: 38.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3021, allocations: 362.4 kB / 0.5177 GB, free: 37.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.3022, allocations: 169.8 kB / 0.5179 GB, free: 37.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3023, allocations: 138.2 kB / 0.518 GB, free: 37.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.3024, allocations: 372.9 kB / 0.5184 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.3026, allocations: 224.8 kB / 0.5186 GB, free: 37.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.3029, allocations: 0.5928 MB / 0.5191 GB, free: 36.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.3034, allocations: 0.7753 MB / 0.5199 GB, free: 36.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3034, allocations: 6.219 kB / 0.5199 GB, free: 36.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009627/0.3044, allocations: 0.9416 MB / 0.5208 GB, free: 35.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3044, allocations: 8.125 kB / 0.5208 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3044, allocations: 11.84 kB / 0.5208 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.305, allocations: 264 kB / 0.5211 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3052, allocations: 124.5 kB / 0.5212 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005082/0.3057, allocations: 0.8646 MB / 0.5221 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.306, allocations: 29.55 kB / 0.5221 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.306, allocations: 41.75 kB / 0.5221 GB, free: 34.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.3062, allocations: 240.9 kB / 0.5224 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.3063, allocations: 76.36 kB / 0.5224 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.307, allocations: 0.7126 MB / 0.5231 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3071, allocations: 5.75 kB / 0.5231 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3071, allocations: 9.781 kB / 0.5231 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3071, allocations: 0 / 0.5231 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3082, allocations: 1.296 MB / 0.5244 GB, free: 33.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3082, allocations: 2.219 kB / 0.5244 GB, free: 33.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.3087, allocations: 195.1 kB / 0.5246 GB, free: 33.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.3088, allocations: 56.64 kB / 0.5246 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.3088, allocations: 20.56 kB / 0.5247 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.3098, allocations: 2.766 MB / 0.5274 GB, free: 31.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3098, allocations: 2.938 kB / 0.5274 GB, free: 31.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.3106, allocations: 1.015 MB / 0.5284 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.3108, allocations: 119.8 kB / 0.5285 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.3109, allocations: 18.33 kB / 0.5285 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3111, allocations: 16.98 kB / 0.5285 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.3111, allocations: 45 kB / 0.5286 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3112, allocations: 19.19 kB / 0.5286 GB, free: 30.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.3115, allocations: 418.4 kB / 0.529 GB, free: 30.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3115, allocations: 0 / 0.529 GB, free: 30.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005826/0.3121, allocations: 207.9 kB / 0.5292 GB, free: 30.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.3133, allocations: 1.68 MB / 0.5308 GB, free: 29.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.314, allocations: 0.5879 MB / 0.5314 GB, free: 28.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.314, allocations: 3.594 kB / 0.5314 GB, free: 28.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.3146, allocations: 474.9 kB / 0.5318 GB, free: 28.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.3156, allocations: 364.1 kB / 0.5322 GB, free: 28.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.3215, allocations: 6.472 MB / 0.5385 GB, free: 24.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.3217, allocations: 343 kB / 0.5388 GB, free: 24.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005719/0.3223, allocations: 212.8 kB / 0.539 GB, free: 24.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3225, allocations: 230.9 kB / 0.5393 GB, free: 23.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3225, allocations: 0 / 0.5393 GB, free: 23.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.3603, allocations: 23.72 MB / 0.5624 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.964, allocations: 16 kB / 0.5624 GB, free: 0.6367 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_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_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 10.977499040775001]