Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.0008556/0.0008556, allocations: 91.61 kB / 21.43 MB, free: 3.121 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.003481/0.003481, allocations: 160.4 kB / 24.7 MB, free: 9.426 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.841/0.841, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.707e-05, allocations: 2.281 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.1563/0.1563, allocations: 29.64 MB / 328.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1696, allocations: 13.98 MB / 342.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.1703, allocations: 8.219 kB / 342.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008623/0.1712, allocations: 242.6 kB / 342.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007162/0.1719, allocations: 384.3 kB / 342.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.1853, allocations: 5.792 MB / 348.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1865, allocations: 0.9928 MB / 349.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1867, allocations: 81.17 kB / 349.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.1904, allocations: 2.318 MB / 351.9 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.1908, allocations: 263.2 kB / 352.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.1908, allocations: 36 kB / 352.2 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.196, allocations: 3.507 MB / 355.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.1962, allocations: 107.6 kB / 355.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.1964, allocations: 167.7 kB / 356 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.2009, allocations: 2.931 MB / 358.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2009, allocations: 4 kB / 358.9 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2009, allocations: 0 / 358.9 MB, free: 2.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2009, allocations: 0 / 358.9 MB, free: 2.32 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001274/0.2022, allocations: 0.7614 MB / 359.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2022, allocations: 11.98 kB / 359.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.2023, allocations: 70.72 kB / 359.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.2027, allocations: 84.66 kB / 359.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.2032, allocations: 241.2 kB / 360.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2032, allocations: 21.03 kB / 360.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2032, allocations: 36.38 kB / 360.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.2039, allocations: 0.5876 MB / 360.7 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2039, allocations: 11.88 kB / 360.7 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.2039, allocations: 12 kB / 360.7 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2039, allocations: 8 kB / 360.8 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.2043, allocations: 314.2 kB / 361.1 MB, free: 32 kB / 314.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.001953/0.2063, allocations: 1.9 MB / 363 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.2067, allocations: 250.4 kB / 363.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2068, allocations: 96.83 kB / 363.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01557/0.2224, allocations: 8.342 MB / 371.6 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.2224, allocations: 42.06 kB / 371.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.2224, allocations: 0 / 371.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.002969/0.2254, allocations: 1.151 MB / 372.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2254, allocations: 55.41 kB / 372.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.2257, allocations: 277.7 kB / 373.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2258, allocations: 37.7 kB / 373.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.2259, allocations: 196.4 kB / 373.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.2259, allocations: 111.1 kB / 373.5 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.226, allocations: 82.14 kB / 373.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.2261, allocations: 334.8 kB / 373.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2262, allocations: 101 kB / 374 MB, free: 2.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2264, allocations: 227.5 kB / 374.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.2267, allocations: 354.4 kB / 374.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2267, allocations: 4 kB / 374.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004985/0.2272, allocations: 435.1 kB / 375 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2272, allocations: 8 kB / 375 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2272, allocations: 8.031 kB / 375 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.2288, allocations: 265.3 kB / 375.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.229, allocations: 83.84 kB / 375.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2302, allocations: 1.871 MB / 377.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2303, allocations: 12.88 kB / 377.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2304, allocations: 20 kB / 377.3 MB, free: 15.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.2305, allocations: 161.7 kB / 377.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.2306, allocations: 31.75 kB / 377.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.2314, allocations: 0.983 MB / 378.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2314, allocations: 12.05 kB / 378.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2314, allocations: 0 / 378.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006981/0.2321, allocations: 1.157 MB / 379.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.2337, allocations: 1.501 MB / 381.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2337, allocations: 1.938 kB / 381.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2338, allocations: 55.91 kB / 381.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008534/0.2346, allocations: 288.4 kB / 381.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.2347, allocations: 15.98 kB / 381.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003972/0.2351, allocations: 0.6694 MB / 382.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2351, allocations: 4.062 kB / 382.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.2359, allocations: 0.9776 MB / 383.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.236, allocations: 39.69 kB / 383.1 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.236, allocations: 15.88 kB / 383.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2362, allocations: 15.92 kB / 383.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.2362, allocations: 15.97 kB / 383.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2362, allocations: 15.98 kB / 383.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2364, allocations: 235.1 kB / 383.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2364, allocations: 0 / 383.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2377, allocations: 0.4955 MB / 383.9 MB, free: 8.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002481/0.2402, allocations: 2.007 MB / 385.9 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.2409, allocations: 0.5111 MB / 386.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2409, allocations: 4 kB / 386.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.2412, allocations: 288.2 kB / 386.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.2418, allocations: 188.8 kB / 386.9 MB, free: 5.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.246, allocations: 3.916 MB / 390.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2462, allocations: 221.3 kB / 391 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.2464, allocations: 115 kB / 391.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.2466, allocations: 144.5 kB / 391.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2466, allocations: 4 kB / 391.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.295, allocations: 24.47 MB / 415.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.781, allocations: 11.81 kB / 415.8 MB, free: 8.285 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.513896846212447]