Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009115/0.0009116, allocations: 182.5 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.205/1.205, 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.0008013/0.0008013, allocations: 93.55 kB / 267.1 MB, free: 9.273 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.3253/0.3253, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.667e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09918, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/5.797, allocations: 2.794 GB / 3.267 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/5.797, allocations: 99.08 kB / 3.267 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.757/7.554, allocations: 0.4911 GB / 3.758 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.234e-06/7.554, allocations: 0 / 3.758 GB, free: 49.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.52e-05/7.554, allocations: 22.64 kB / 3.758 GB, free: 49.39 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.005405/7.559, allocations: 1.696 MB / 3.76 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/7.56, allocations: 9.344 kB / 3.76 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/7.561, allocations: 229 kB / 3.76 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/7.562, allocations: 0.578 MB / 3.76 GB, free: 48.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.443e-05/7.562, allocations: 113.4 kB / 3.76 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/7.562, allocations: 61.7 kB / 3.761 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/7.564, allocations: 1.081 MB / 3.762 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/7.564, allocations: 6.875 kB / 3.762 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/7.564, allocations: 30.48 kB / 3.762 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/7.564, allocations: 53.8 kB / 3.762 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/7.565, allocations: 0.8163 MB / 3.762 GB, free: 48.05 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.004303/7.57, allocations: 5.547 MB / 3.768 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/7.571, allocations: 0.5578 MB / 3.768 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/7.571, allocations: 205.6 kB / 3.769 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07716/7.648, allocations: 47.35 MB / 3.815 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/7.648, allocations: 41.88 kB / 3.815 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.565e-06/7.648, allocations: 0 / 3.815 GB, free: 31.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.005276/7.653, allocations: 2.008 MB / 3.817 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/7.653, allocations: 187 kB / 3.817 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/7.654, allocations: 0.5616 MB / 3.818 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/7.654, allocations: 33.8 kB / 3.818 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/7.654, allocations: 398.2 kB / 3.818 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/7.654, allocations: 163.2 kB / 3.818 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/7.655, allocations: 13.88 kB / 3.818 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001565/7.655, allocations: 384.7 kB / 3.819 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/7.655, allocations: 218.9 kB / 3.819 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/7.655, allocations: 0.5802 MB / 3.819 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/7.656, allocations: 340.2 kB / 3.82 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/7.656, allocations: 3.969 kB / 3.82 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001041/7.657, allocations: 0.8777 MB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/7.657, allocations: 11.81 kB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/7.657, allocations: 11.91 kB / 3.821 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/7.66, allocations: 268.6 kB / 3.821 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/7.662, allocations: 285.7 kB / 3.821 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/7.663, allocations: 2.011 MB / 3.823 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/7.664, allocations: 63.97 kB / 3.823 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/7.664, allocations: 42.91 kB / 3.823 GB, free: 27.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/7.664, allocations: 172.7 kB / 3.823 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/7.664, allocations: 76.45 kB / 3.823 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/7.666, allocations: 2.011 MB / 3.825 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/7.666, allocations: 19.48 kB / 3.825 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/7.666, allocations: 6.156 kB / 3.825 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/7.666, allocations: 3.609 kB / 3.825 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/7.668, allocations: 2.993 MB / 3.828 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/7.668, allocations: 0 / 3.828 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/7.669, allocations: 188 kB / 3.828 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/7.671, allocations: 290.9 kB / 3.829 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/7.671, allocations: 20.72 kB / 3.829 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/7.672, allocations: 2.073 MB / 3.831 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/7.672, allocations: 0 / 3.831 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/7.674, allocations: 1.947 MB / 3.833 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/7.674, allocations: 286.9 kB / 3.833 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/7.674, allocations: 16.56 kB / 3.833 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/7.675, allocations: 36.39 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/7.675, allocations: 29.17 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/7.675, allocations: 23.47 kB / 3.833 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005996/7.675, allocations: 0.5603 MB / 3.834 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/7.675, allocations: 0 / 3.834 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004614/7.68, allocations: 1.129 MB / 3.835 GB, free: 23.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004988/7.685, allocations: 1.566 MB / 3.836 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001771/7.687, allocations: 0.8971 MB / 3.837 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/7.687, allocations: 0 / 3.837 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/7.688, allocations: 0.6145 MB / 3.838 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/7.689, allocations: 386.3 kB / 3.838 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/7.691, allocations: 1.61 MB / 3.84 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/7.692, allocations: 1.117 MB / 3.841 GB, free: 22.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006368/7.693, allocations: 348.1 kB / 3.841 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/7.693, allocations: 68.47 kB / 3.841 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/7.693, allocations: 0 / 3.841 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.04603/7.739, allocations: 41.53 MB / 3.882 GB, free: 19.65 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches