Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007799/0.0007799, allocations: 105.9 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2897/0.2897, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2859, allocations: 62.94 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/6.227, allocations: 2.802 GB / 3.318 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/6.227, allocations: 101.4 kB / 3.318 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.585/7.813, allocations: 485.4 MB / 3.792 GB, free: 66.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.955e-06/7.813, allocations: 0 / 3.792 GB, free: 66.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001058/7.813, allocations: 25.05 kB / 3.792 GB, free: 66.39 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007325/7.82, allocations: 1.788 MB / 3.794 GB, free: 65.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/7.82, allocations: 9.406 kB / 3.794 GB, free: 65.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/7.823, allocations: 328.1 kB / 3.794 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/7.825, allocations: 0.6152 MB / 3.795 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/7.825, allocations: 107.5 kB / 3.795 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/7.825, allocations: 60.08 kB / 3.795 GB, free: 65.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/7.827, allocations: 1.17 MB / 3.796 GB, free: 64.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/7.828, allocations: 6.656 kB / 3.796 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/7.828, allocations: 31.53 kB / 3.796 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/7.828, allocations: 50.61 kB / 3.796 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/7.829, allocations: 0.8233 MB / 3.797 GB, free: 64.9 MB / 0.5417 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.005124/7.834, allocations: 5.501 MB / 3.803 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/7.835, allocations: 0.5764 MB / 3.803 GB, free: 61.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/7.836, allocations: 220.3 kB / 3.803 GB, free: 61.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0826/7.918, allocations: 51.05 MB / 3.853 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/7.918, allocations: 42.84 kB / 3.853 GB, free: 28.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/7.918, allocations: 4 kB / 3.853 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.005397/7.924, allocations: 1.945 MB / 3.855 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/7.924, allocations: 167.8 kB / 3.855 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/7.925, allocations: 0.613 MB / 3.856 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/7.925, allocations: 34.11 kB / 3.856 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/7.925, allocations: 395.7 kB / 3.856 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/7.925, allocations: 161.4 kB / 3.857 GB, free: 26.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/7.925, allocations: 15.59 kB / 3.857 GB, free: 26.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001138/7.925, allocations: 386.1 kB / 3.857 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/7.926, allocations: 221.9 kB / 3.857 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/7.926, allocations: 0.5646 MB / 3.858 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/7.927, allocations: 0.8331 MB / 3.859 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/7.927, allocations: 2.938 kB / 3.859 GB, free: 25.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001366/7.929, allocations: 0.865 MB / 3.859 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/7.929, allocations: 13.66 kB / 3.859 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/7.929, allocations: 9.625 kB / 3.859 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/7.929, allocations: 70.33 kB / 3.859 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/7.93, allocations: 280.1 kB / 3.86 GB, free: 25.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/7.932, allocations: 1.975 MB / 3.862 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/7.933, allocations: 62.11 kB / 3.862 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/7.933, allocations: 36.72 kB / 3.862 GB, free: 23.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006407/7.933, allocations: 290.2 kB / 3.862 GB, free: 23.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/7.934, allocations: 72.5 kB / 3.862 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/7.936, allocations: 2.221 MB / 3.864 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/7.936, allocations: 30.28 kB / 3.864 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/7.936, allocations: 0 / 3.864 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/7.936, allocations: 7.219 kB / 3.864 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/7.94, allocations: 3.287 MB / 3.867 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/7.94, allocations: 0 / 3.867 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/7.941, allocations: 195.1 kB / 3.868 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/7.941, allocations: 90.33 kB / 3.868 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/7.941, allocations: 14.59 kB / 3.868 GB, free: 20.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/7.942, allocations: 1.999 MB / 3.87 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/7.942, allocations: 0 / 3.87 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/7.944, allocations: 1.987 MB / 3.872 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/7.945, allocations: 287.2 kB / 3.872 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/7.945, allocations: 11.28 kB / 3.872 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/7.946, allocations: 54.97 kB / 3.872 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/7.946, allocations: 29.3 kB / 3.872 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/7.946, allocations: 32.14 kB / 3.872 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006575/7.946, allocations: 0.5031 MB / 3.873 GB, free: 16.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.42e-07/7.946, allocations: 7.219 kB / 3.873 GB, free: 16.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00538/7.952, allocations: 1.143 MB / 3.874 GB, free: 16.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008368/7.96, allocations: 1.556 MB / 3.875 GB, free: 16.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002075/7.962, allocations: 0.9233 MB / 3.876 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/7.962, allocations: 0 / 3.876 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/7.963, allocations: 0.6611 MB / 3.877 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/7.966, allocations: 374.5 kB / 3.877 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/7.969, allocations: 2.752 MB / 3.88 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/7.971, allocations: 1.11 MB / 3.881 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/7.971, allocations: 70.39 kB / 3.881 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/7.971, allocations: 0 / 3.881 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.05633/8.027, allocations: 38.67 MB / 3.919 GB, free: 4.27 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches