Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 183.7 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.231/1.231, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0007818/0.0007818, allocations: 89.55 kB / 267.1 MB, free: 9.262 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.2892/0.2892, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.754e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09093, allocations: 58.84 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.465/5.555, allocations: 2.796 GB / 3.268 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.556, allocations: 95.56 kB / 3.268 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.75/7.306, allocations: 0.4934 GB / 3.762 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.482e-06/7.306, allocations: 0.7812 kB / 3.762 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.226e-05/7.306, allocations: 20.84 kB / 3.762 GB, free: 55.7 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.005858/7.312, allocations: 1.72 MB / 3.764 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/7.312, allocations: 11.09 kB / 3.764 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/7.314, allocations: 316.1 kB / 3.764 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/7.315, allocations: 0.6088 MB / 3.764 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/7.315, allocations: 114.3 kB / 3.765 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/7.315, allocations: 61.84 kB / 3.765 GB, free: 54.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/7.317, allocations: 1.193 MB / 3.766 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/7.317, allocations: 5.812 kB / 3.766 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/7.317, allocations: 30.72 kB / 3.766 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/7.317, allocations: 42.75 kB / 3.766 GB, free: 54.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/7.319, allocations: 0.8539 MB / 3.767 GB, free: 54.43 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.004637/7.323, allocations: 5.494 MB / 3.772 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/7.324, allocations: 0.6033 MB / 3.773 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/7.325, allocations: 224.3 kB / 3.773 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07635/7.401, allocations: 46.08 MB / 3.818 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/7.401, allocations: 45.38 kB / 3.818 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/7.401, allocations: 1.859 kB / 3.818 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.005788/7.407, allocations: 1.839 MB / 3.82 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/7.407, allocations: 163.5 kB / 3.82 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/7.409, allocations: 0.5433 MB / 3.82 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/7.409, allocations: 35.83 kB / 3.82 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/7.409, allocations: 386 kB / 3.821 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/7.41, allocations: 174.1 kB / 3.821 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/7.41, allocations: 15.44 kB / 3.821 GB, free: 38.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001896/7.41, allocations: 384.9 kB / 3.821 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/7.41, allocations: 212.7 kB / 3.822 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/7.411, allocations: 0.5584 MB / 3.822 GB, free: 37.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/7.411, allocations: 326.4 kB / 3.822 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/7.411, allocations: 4.594 kB / 3.822 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001547/7.413, allocations: 0.8508 MB / 3.823 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/7.413, allocations: 9.594 kB / 3.823 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/7.413, allocations: 11.47 kB / 3.823 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/7.413, allocations: 62.77 kB / 3.823 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/7.414, allocations: 286.5 kB / 3.824 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/7.416, allocations: 1.973 MB / 3.826 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/7.417, allocations: 64.52 kB / 3.826 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/7.417, allocations: 36.53 kB / 3.826 GB, free: 35.72 MB / 0.5261 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 () * 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.0002095/7.417, allocations: 167.4 kB / 3.826 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/7.417, allocations: 79.03 kB / 3.826 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/7.42, allocations: 2.212 MB / 3.828 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/7.42, allocations: 32.41 kB / 3.828 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/7.42, allocations: 1.125 kB / 3.828 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/7.42, allocations: 3.375 kB / 3.828 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/7.423, allocations: 3.275 MB / 3.831 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/7.423, allocations: 0 / 3.831 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/7.424, allocations: 196.9 kB / 3.831 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/7.424, allocations: 85.91 kB / 3.832 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/7.425, allocations: 10.94 kB / 3.832 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/7.426, allocations: 1.992 MB / 3.834 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/7.426, allocations: 0 / 3.834 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/7.428, allocations: 1.983 MB / 3.835 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/7.428, allocations: 286.5 kB / 3.836 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/7.428, allocations: 14.97 kB / 3.836 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/7.429, allocations: 58.69 kB / 3.836 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/7.429, allocations: 33.16 kB / 3.836 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/7.429, allocations: 25.45 kB / 3.836 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006013/7.43, allocations: 0.4965 MB / 3.836 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/7.43, allocations: 1.219 kB / 3.836 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005289/7.435, allocations: 1.132 MB / 3.837 GB, free: 32.15 MB / 0.5261 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 () * 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.008253/7.443, allocations: 1.555 MB / 3.839 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002076/7.446, allocations: 0.9205 MB / 3.84 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/7.446, allocations: 0 / 3.84 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/7.447, allocations: 0.6631 MB / 3.84 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/7.449, allocations: 351.9 kB / 3.841 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/7.452, allocations: 1.71 MB / 3.843 GB, free: 31.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/7.453, allocations: 1.139 MB / 3.844 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001056/7.454, allocations: 445.8 kB / 3.844 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/7.454, allocations: 64.09 kB / 3.844 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/7.454, allocations: 0 / 3.844 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.05831/7.513, allocations: 41.64 MB / 3.885 GB, free: 28.24 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches