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.0008134/0.0008134, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003679/0.003679, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.842/0.842, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.382e-06/1.382e-06, allocations: 0 / 298.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.045e-05, allocations: 10.16 kB / 298.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1402/0.1402, allocations: 29.64 MB / 328.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.1519, allocations: 13.98 MB / 342.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1522, allocations: 8.875 kB / 342.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.1528, allocations: 247.2 kB / 342.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.1533, allocations: 378.5 kB / 342.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.1664, allocations: 5.798 MB / 348.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1676, allocations: 1.028 MB / 349.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1678, allocations: 77.17 kB / 349.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.1712, allocations: 2.337 MB / 352 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.1716, allocations: 271.2 kB / 352.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1716, allocations: 40 kB / 352.3 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007939/0.1796, allocations: 5.834 MB / 358.1 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1797, allocations: 123.6 kB / 358.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1798, allocations: 171.7 kB / 358.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.1863, allocations: 4.779 MB / 363.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1863, allocations: 2.25 kB / 363.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1863, allocations: 0 / 363.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1863, allocations: 0 / 363.2 MB, free: 14.09 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.001444/0.1877, allocations: 0.9433 MB / 364.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1878, allocations: 11.98 kB / 364.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.1878, allocations: 70.72 kB / 364.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.1885, allocations: 148.6 kB / 364.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.1889, allocations: 265.1 kB / 364.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1889, allocations: 29.02 kB / 364.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1889, allocations: 32.38 kB / 364.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.1897, allocations: 0.7418 MB / 365.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1897, allocations: 3.938 kB / 365.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.1898, allocations: 16 kB / 365.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1898, allocations: 8 kB / 365.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.1902, allocations: 330.2 kB / 365.8 MB, free: 11.36 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.001691/0.1919, allocations: 1.719 MB / 367.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.1922, allocations: 262.5 kB / 367.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1923, allocations: 101.3 kB / 367.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/0.2208, allocations: 16.85 MB / 384.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.2208, allocations: 42.5 kB / 384.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.525e-06/0.2208, allocations: 0 / 384.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.002163/0.223, allocations: 1.053 MB / 385.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.223, allocations: 63.34 kB / 385.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2232, allocations: 261.8 kB / 386.1 MB, free: 6.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2232, allocations: 33.7 kB / 386.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.2233, allocations: 188.4 kB / 386.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.2234, allocations: 119 kB / 386.4 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.2235, allocations: 74.16 kB / 386.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.2236, allocations: 338.8 kB / 386.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.2237, allocations: 92.97 kB / 386.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.2238, allocations: 215.5 kB / 387.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.2241, allocations: 346.3 kB / 387.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2241, allocations: 0 / 387.5 MB, free: 5.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004517/0.2246, allocations: 419.2 kB / 387.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2246, allocations: 8 kB / 387.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2246, allocations: 4 kB / 387.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.2248, allocations: 61.62 kB / 388 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.225, allocations: 87.89 kB / 388 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.2264, allocations: 2.418 MB / 390.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2265, allocations: 15.94 kB / 390.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.2265, allocations: 20.88 kB / 390.5 MB, free: 2.125 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.0001467/0.2267, allocations: 157.7 kB / 390.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2267, allocations: 39.73 kB / 390.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.2274, allocations: 0.895 MB / 391.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2274, allocations: 12.17 kB / 391.6 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2274, allocations: 0 / 391.6 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005997/0.228, allocations: 1.082 MB / 392.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2291, allocations: 1.398 MB / 394.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2291, allocations: 0 / 394.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2292, allocations: 47.97 kB / 394.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.2294, allocations: 80.69 kB / 394.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2294, allocations: 22.55 kB / 394.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002417/0.2296, allocations: 0.5875 MB / 394.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2297, allocations: 0 / 394.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.2303, allocations: 0.8437 MB / 395.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.2303, allocations: 39.72 kB / 395.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.2304, allocations: 15.89 kB / 395.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2305, allocations: 27.95 kB / 395.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.2305, allocations: 19.97 kB / 395.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2306, allocations: 20.14 kB / 395.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.2307, allocations: 239 kB / 396 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2307, allocations: 0 / 396 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001987/0.2327, allocations: 0.8618 MB / 396.9 MB, free: 11.53 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.003555/0.2363, allocations: 2.376 MB / 399.2 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.2369, allocations: 471.5 kB / 399.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2369, allocations: 0 / 399.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.2372, allocations: 241.3 kB / 399.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.2378, allocations: 200.2 kB / 400.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.2419, allocations: 3.939 MB / 404.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2421, allocations: 217.7 kB / 404.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.2424, allocations: 183 kB / 404.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2425, allocations: 144.5 kB / 404.6 MB, free: 3.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.2425, allocations: 0 / 404.6 MB, free: 3.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05887/0.3014, allocations: 40.94 MB / 445.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.261, allocations: 7.797 kB / 445.6 MB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.06360799446702]