Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.001198/0.001198, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004406/0.004406, allocations: 162.8 kB / 24.69 MB, free: 9.402 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.798/0.798, allocations: 158.6 MB / 186.5 MB, free: 3.02 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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.618e-06/1.132e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1414/0.1414, allocations: 29.64 MB / 328.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1532, allocations: 13.98 MB / 342.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.1535, allocations: 4.938 kB / 342.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.1542, allocations: 249.7 kB / 342.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006269/0.1548, allocations: 381.1 kB / 342.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01354/0.1683, allocations: 5.801 MB / 348.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1696, allocations: 1.012 MB / 349.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1698, allocations: 81.16 kB / 349.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.1737, allocations: 2.337 MB / 352 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1741, allocations: 279.1 kB / 352.2 MB, free: 9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.1742, allocations: 40 kB / 352.3 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008352/0.1825, allocations: 5.831 MB / 358.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.1827, allocations: 123.6 kB / 358.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.183, allocations: 171.7 kB / 358.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.1915, allocations: 4.783 MB / 363.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1915, allocations: 0 / 363.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1915, allocations: 0 / 363.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1915, allocations: 3.938 kB / 363.2 MB, free: 14.04 MB / 330.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.001698/0.1932, allocations: 0.9317 MB / 364.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1933, allocations: 15.98 kB / 364.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.1933, allocations: 66.72 kB / 364.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.194, allocations: 156.6 kB / 364.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1944, allocations: 261.1 kB / 364.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1945, allocations: 25.03 kB / 364.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.1945, allocations: 28.38 kB / 364.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.1953, allocations: 0.7456 MB / 365.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1953, allocations: 4.969 kB / 365.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.1954, allocations: 16 kB / 365.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1954, allocations: 11.94 kB / 365.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.1958, allocations: 322.3 kB / 365.8 MB, free: 11.32 MB / 330.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.001791/0.1976, allocations: 1.728 MB / 367.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.198, allocations: 254.6 kB / 367.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1981, allocations: 117.2 kB / 367.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02946/0.2275, allocations: 16.85 MB / 384.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.2276, allocations: 42.5 kB / 384.7 MB, free: 8.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.2276, allocations: 0 / 384.7 MB, free: 8.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.002188/0.2298, allocations: 1.046 MB / 385.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2298, allocations: 59.34 kB / 385.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.23, allocations: 261.9 kB / 386.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.23, allocations: 37.64 kB / 386.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.2301, allocations: 196.4 kB / 386.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.2302, allocations: 111 kB / 386.4 MB, free: 6.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.2303, allocations: 78.14 kB / 386.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.2304, allocations: 342.8 kB / 386.8 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2305, allocations: 92.95 kB / 386.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2306, allocations: 215.5 kB / 387.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.2309, allocations: 338.3 kB / 387.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2309, allocations: 4 kB / 387.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004526/0.2314, allocations: 418.7 kB / 387.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2314, allocations: 4 kB / 387.9 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2314, allocations: 4 kB / 387.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.2316, allocations: 62.19 kB / 387.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2318, allocations: 95.83 kB / 388 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.233, allocations: 2.41 MB / 390.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2331, allocations: 15.94 kB / 390.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2331, allocations: 20.88 kB / 390.5 MB, free: 2.086 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.2333, allocations: 166 kB / 390.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2334, allocations: 31.81 kB / 390.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.2343, allocations: 0.9028 MB / 391.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2343, allocations: 8 kB / 391.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2343, allocations: 0 / 391.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006027/0.2349, allocations: 1.074 MB / 392.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2361, allocations: 1.401 MB / 394.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2361, allocations: 0 / 394.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2362, allocations: 59.91 kB / 394.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.2364, allocations: 76.69 kB / 394.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2365, allocations: 8.875 kB / 394.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002533/0.2367, allocations: 0.5953 MB / 394.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2367, allocations: 0 / 394.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.2374, allocations: 0.8438 MB / 395.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.2375, allocations: 31.86 kB / 395.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2375, allocations: 23.89 kB / 395.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.2377, allocations: 23.97 kB / 395.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.2377, allocations: 21.95 kB / 395.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2377, allocations: 12 kB / 395.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.2379, allocations: 246.9 kB / 396 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2379, allocations: 0 / 396 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002135/0.2401, allocations: 0.8618 MB / 396.9 MB, free: 11.49 MB / 362.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.h) * 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004553/0.2446, allocations: 2.381 MB / 399.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.2454, allocations: 480.4 kB / 399.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2454, allocations: 0 / 399.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.2456, allocations: 244.3 kB / 400 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.2464, allocations: 176.4 kB / 400.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.251, allocations: 3.945 MB / 404.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2512, allocations: 225.7 kB / 404.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.2515, allocations: 175 kB / 404.5 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2517, allocations: 144.5 kB / 404.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of SimCode: time 1.684e-06/0.2517, allocations: 0 / 404.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05876/0.3104, allocations: 40.95 MB / 445.5 MB, free: 10.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/9.849, allocations: 7.922 kB / 445.6 MB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_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_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.648252114653587]