Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 226.5 MB / 245.4 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.0008234/0.0008233, allocations: 100.7 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3434/0.3434, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.397, allocations: 62.95 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.551/6.948, allocations: 2.802 GB / 3.32 GB, free: 170 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/6.948, allocations: 100.7 kB / 3.32 GB, free: 170 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.779/8.727, allocations: 485.3 MB / 3.794 GB, free: 66.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/8.727, allocations: 3.125 kB / 3.794 GB, free: 66.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.637e-05/8.727, allocations: 20 kB / 3.794 GB, free: 66.64 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.008341/8.736, allocations: 1.838 MB / 3.796 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/8.736, allocations: 7.188 kB / 3.796 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/8.738, allocations: 331.3 kB / 3.796 GB, free: 65.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/8.74, allocations: 0.6044 MB / 3.797 GB, free: 65.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/8.74, allocations: 125.3 kB / 3.797 GB, free: 65.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/8.741, allocations: 58.19 kB / 3.797 GB, free: 65.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/8.744, allocations: 1.218 MB / 3.798 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/8.744, allocations: 7.906 kB / 3.798 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/8.744, allocations: 31.97 kB / 3.798 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/8.744, allocations: 44.73 kB / 3.798 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/8.747, allocations: 1.04 MB / 3.799 GB, free: 65.16 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.006572/8.753, allocations: 5.618 MB / 3.805 GB, free: 61.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/8.756, allocations: 0.8012 MB / 3.806 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007749/8.757, allocations: 296.1 kB / 3.806 GB, free: 61.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03155/8.788, allocations: 17.15 MB / 3.823 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/8.788, allocations: 43.88 kB / 3.823 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 4.127e-06/8.788, allocations: 0 / 3.823 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.007829/8.796, allocations: 2.364 MB / 3.825 GB, free: 49.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/8.796, allocations: 168.5 kB / 3.825 GB, free: 49.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/8.797, allocations: 0.6039 MB / 3.826 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.951e-05/8.798, allocations: 36.89 kB / 3.826 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/8.798, allocations: 395.4 kB / 3.826 GB, free: 49.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/8.798, allocations: 170.7 kB / 3.826 GB, free: 49.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/8.798, allocations: 14.03 kB / 3.826 GB, free: 49.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001752/8.798, allocations: 377.9 kB / 3.827 GB, free: 48.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/8.799, allocations: 293.7 kB / 3.827 GB, free: 48.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/8.8, allocations: 0.6201 MB / 3.828 GB, free: 48.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/8.802, allocations: 0.9139 MB / 3.829 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/8.802, allocations: 4.969 kB / 3.829 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00222/8.804, allocations: 0.9722 MB / 3.83 GB, free: 48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/8.804, allocations: 17.47 kB / 3.83 GB, free: 48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/8.804, allocations: 11.88 kB / 3.83 GB, free: 48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/8.804, allocations: 72.77 kB / 3.83 GB, free: 47.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/8.806, allocations: 309.6 kB / 3.83 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/8.807, allocations: 1.975 MB / 3.832 GB, free: 46.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/8.808, allocations: 91.64 kB / 3.832 GB, free: 46.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.89e-05/8.808, allocations: 44.38 kB / 3.832 GB, free: 46.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0005944/8.809, allocations: 274.3 kB / 3.832 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/8.809, allocations: 75.28 kB / 3.832 GB, free: 45.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/8.813, allocations: 2.602 MB / 3.835 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/8.813, allocations: 33.56 kB / 3.835 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/8.813, allocations: 11.52 kB / 3.835 GB, free: 44.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/8.813, allocations: 6.672 kB / 3.835 GB, free: 44.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005094/8.818, allocations: 3.792 MB / 3.839 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/8.818, allocations: 0 / 3.839 GB, free: 42.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/8.819, allocations: 243.9 kB / 3.839 GB, free: 42.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003901/8.819, allocations: 93.06 kB / 3.839 GB, free: 42.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/8.82, allocations: 15.47 kB / 3.839 GB, free: 42.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/8.821, allocations: 1.993 MB / 3.841 GB, free: 40.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/8.821, allocations: 5.688 kB / 3.841 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/8.824, allocations: 2.372 MB / 3.843 GB, free: 39.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/8.825, allocations: 337.9 kB / 3.844 GB, free: 39.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/8.825, allocations: 14.28 kB / 3.844 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/8.826, allocations: 60.27 kB / 3.844 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/8.826, allocations: 52.42 kB / 3.844 GB, free: 39.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/8.826, allocations: 16.69 kB / 3.844 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009484/8.827, allocations: 0.557 MB / 3.844 GB, free: 39.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/8.827, allocations: 0 / 3.844 GB, free: 39.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006287/8.833, allocations: 1.146 MB / 3.845 GB, free: 39 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007636/8.841, allocations: 1.564 MB / 3.847 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002648/8.844, allocations: 1.111 MB / 3.848 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.844, allocations: 0 / 3.848 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/8.845, allocations: 0.8131 MB / 3.849 GB, free: 38.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/8.847, allocations: 380.9 kB / 3.849 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/8.852, allocations: 3.043 MB / 3.852 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/8.853, allocations: 1.163 MB / 3.853 GB, free: 35.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001163/8.854, allocations: 437.9 kB / 3.854 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/8.854, allocations: 66.44 kB / 3.854 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/8.854, allocations: 0 / 3.854 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.06367/8.918, allocations: 43.02 MB / 3.896 GB, free: 18.89 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches