Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007844, allocations: 89.88 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.316/0.316, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.526e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/5.757, allocations: 2.796 GB / 3.268 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.758, allocations: 95.73 kB / 3.268 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/7.231, allocations: 0.4933 GB / 3.762 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/7.231, allocations: 0 / 3.762 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.724e-05/7.232, allocations: 20 kB / 3.762 GB, free: 14.46 MB / 0.5105 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.005535/7.237, allocations: 1.757 MB / 3.764 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/7.237, allocations: 12.03 kB / 3.764 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/7.239, allocations: 325.7 kB / 3.764 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/7.24, allocations: 0.5959 MB / 3.764 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-05/7.24, allocations: 126 kB / 3.765 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/7.24, allocations: 63.3 kB / 3.765 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/7.242, allocations: 1.201 MB / 3.766 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/7.242, allocations: 0 / 3.766 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/7.242, allocations: 31.95 kB / 3.766 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/7.242, allocations: 49.22 kB / 3.766 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/7.244, allocations: 0.9885 MB / 3.767 GB, free: 9.168 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00446/7.248, allocations: 5.615 MB / 3.772 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/7.25, allocations: 0.7359 MB / 3.773 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/7.25, allocations: 257.6 kB / 3.773 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2922/7.542, allocations: 15.76 MB / 3.789 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/7.542, allocations: 38.94 kB / 3.789 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/7.542, allocations: 3 kB / 3.789 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.005783/7.548, allocations: 2.031 MB / 3.791 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/7.548, allocations: 160.6 kB / 3.791 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/7.549, allocations: 0.5303 MB / 3.791 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/7.549, allocations: 35.08 kB / 3.791 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/7.549, allocations: 393 kB / 3.792 GB, free: 39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/7.549, allocations: 173.2 kB / 3.792 GB, free: 38.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/7.549, allocations: 13.31 kB / 3.792 GB, free: 38.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/7.55, allocations: 375.5 kB / 3.792 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/7.55, allocations: 241.2 kB / 3.793 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/7.55, allocations: 0.5627 MB / 3.793 GB, free: 38.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/7.551, allocations: 327.3 kB / 3.793 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/7.551, allocations: 3.25 kB / 3.793 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001121/7.552, allocations: 0.8858 MB / 3.794 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/7.552, allocations: 11.22 kB / 3.794 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/7.552, allocations: 9.406 kB / 3.794 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/7.552, allocations: 66.98 kB / 3.794 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/7.553, allocations: 306.8 kB / 3.795 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/7.554, allocations: 1.984 MB / 3.797 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/7.555, allocations: 87.42 kB / 3.797 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/7.555, allocations: 42.97 kB / 3.797 GB, free: 36.27 MB / 0.5105 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 () * 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.000145/7.555, allocations: 166.9 kB / 3.797 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/7.555, allocations: 70.34 kB / 3.797 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/7.558, allocations: 2.565 MB / 3.799 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/7.558, allocations: 35.95 kB / 3.799 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/7.558, allocations: 0.8125 kB / 3.799 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/7.558, allocations: 3 kB / 3.799 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/7.561, allocations: 3.76 MB / 3.803 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/7.561, allocations: 0 / 3.803 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/7.562, allocations: 243.9 kB / 3.803 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/7.562, allocations: 85.5 kB / 3.803 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/7.562, allocations: 19.62 kB / 3.803 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008811/7.563, allocations: 1.993 MB / 3.805 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/7.563, allocations: 0 / 3.805 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/7.565, allocations: 2.244 MB / 3.808 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/7.565, allocations: 329.7 kB / 3.808 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/7.565, allocations: 11.06 kB / 3.808 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/7.566, allocations: 63.88 kB / 3.808 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/7.566, allocations: 48.62 kB / 3.808 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/7.566, allocations: 25.8 kB / 3.808 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005814/7.567, allocations: 0.5446 MB / 3.809 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/7.567, allocations: 0 / 3.809 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004736/7.571, allocations: 1.134 MB / 3.81 GB, free: 32.91 MB / 0.5105 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 () * 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.005787/7.577, allocations: 1.556 MB / 3.811 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002049/7.579, allocations: 1.012 MB / 3.812 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/7.579, allocations: 0 / 3.812 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/7.58, allocations: 0.7636 MB / 3.813 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/7.582, allocations: 378.3 kB / 3.813 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/7.585, allocations: 1.904 MB / 3.815 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/7.585, allocations: 1.185 MB / 3.816 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007932/7.586, allocations: 436 kB / 3.817 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/7.586, allocations: 75.44 kB / 3.817 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/7.586, allocations: 0 / 3.817 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.05334/7.639, allocations: 42.34 MB / 3.858 GB, free: 30.32 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches