Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 197.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009311/0.0009309, allocations: 91.44 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3793/0.3793, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003108, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3608, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.729/7.09, allocations: 2.802 GB / 3.32 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/7.091, allocations: 103.1 kB / 3.32 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.773/8.864, allocations: 485.4 MB / 3.794 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.355e-06/8.864, allocations: 0 / 3.794 GB, free: 66.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001021/8.864, allocations: 20.38 kB / 3.794 GB, free: 66.69 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.008165/8.872, allocations: 1.793 MB / 3.796 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/8.872, allocations: 10.88 kB / 3.796 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/8.875, allocations: 327.2 kB / 3.796 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/8.877, allocations: 0.6161 MB / 3.797 GB, free: 65.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/8.877, allocations: 112.3 kB / 3.797 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/8.877, allocations: 59.69 kB / 3.797 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/8.88, allocations: 1.166 MB / 3.798 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/8.88, allocations: 8.766 kB / 3.798 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/8.88, allocations: 37.95 kB / 3.798 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-05/8.88, allocations: 41.06 kB / 3.798 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/8.882, allocations: 0.8327 MB / 3.799 GB, free: 65.19 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.006384/8.889, allocations: 5.49 MB / 3.805 GB, free: 61.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/8.89, allocations: 0.5685 MB / 3.805 GB, free: 61.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/8.89, allocations: 229.3 kB / 3.805 GB, free: 61.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08739/8.977, allocations: 51.06 MB / 3.855 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/8.978, allocations: 43.38 kB / 3.855 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.937e-06/8.978, allocations: 0 / 3.855 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.005725/8.983, allocations: 1.943 MB / 3.857 GB, free: 27.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/8.983, allocations: 158.2 kB / 3.857 GB, free: 27.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/8.985, allocations: 0.6129 MB / 3.858 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/8.985, allocations: 32.3 kB / 3.858 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/8.985, allocations: 400.3 kB / 3.858 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/8.985, allocations: 169.6 kB / 3.858 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/8.985, allocations: 17.94 kB / 3.859 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001236/8.985, allocations: 388.2 kB / 3.859 GB, free: 26.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/8.986, allocations: 221.5 kB / 3.859 GB, free: 26.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/8.986, allocations: 0.5677 MB / 3.86 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/8.987, allocations: 0.8382 MB / 3.86 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/8.987, allocations: 3.625 kB / 3.86 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001398/8.989, allocations: 0.8608 MB / 3.861 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/8.989, allocations: 12 kB / 3.861 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/8.989, allocations: 11.22 kB / 3.861 GB, free: 25.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/8.989, allocations: 68.14 kB / 3.861 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/8.99, allocations: 277.8 kB / 3.862 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/8.991, allocations: 1.979 MB / 3.864 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/8.992, allocations: 61.42 kB / 3.864 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/8.992, allocations: 39.12 kB / 3.864 GB, free: 23.64 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.0004672/8.993, allocations: 285.8 kB / 3.864 GB, free: 23.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/8.993, allocations: 72.28 kB / 3.864 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/8.995, allocations: 2.223 MB / 3.866 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/8.995, allocations: 28.81 kB / 3.866 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/8.995, allocations: 0 / 3.866 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/8.995, allocations: 3.938 kB / 3.866 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/8.999, allocations: 3.287 MB / 3.869 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/8.999, allocations: 4.031 kB / 3.869 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/9, allocations: 192.7 kB / 3.87 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/9, allocations: 95.28 kB / 3.87 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/9, allocations: 10.16 kB / 3.87 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/9.001, allocations: 1.995 MB / 3.872 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/9.001, allocations: 0 / 3.872 GB, free: 18.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/9.003, allocations: 1.987 MB / 3.874 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/9.004, allocations: 288.9 kB / 3.874 GB, free: 17.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/9.004, allocations: 11.97 kB / 3.874 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/9.005, allocations: 58.5 kB / 3.874 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/9.005, allocations: 31.19 kB / 3.874 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/9.005, allocations: 21 kB / 3.874 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007949/9.006, allocations: 0.5053 MB / 3.875 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/9.006, allocations: 0 / 3.875 GB, free: 17.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00639/9.012, allocations: 1.143 MB / 3.876 GB, free: 16.99 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.009803/9.022, allocations: 1.557 MB / 3.877 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002119/9.024, allocations: 0.9371 MB / 3.878 GB, free: 16.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/9.024, allocations: 3.969 kB / 3.878 GB, free: 16.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/9.025, allocations: 0.6671 MB / 3.879 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/9.028, allocations: 369.4 kB / 3.879 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/9.033, allocations: 2.714 MB / 3.882 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/9.034, allocations: 1.118 MB / 3.883 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001152/9.035, allocations: 451.1 kB / 3.883 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/9.035, allocations: 65.2 kB / 3.883 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/9.035, allocations: 0 / 3.883 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.06988/9.105, allocations: 42.19 MB / 3.924 GB, free: 0.9219 MB / 0.5574 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches