Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 179.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 97.86 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4035/0.4035, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.000331, allocations: 15.98 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3781, allocations: 61.89 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.949/6.327, allocations: 2.801 GB / 3.31 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/6.328, allocations: 99.73 kB / 3.31 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.904/8.232, allocations: 0.4994 GB / 3.81 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/8.232, allocations: 0 / 3.81 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.946e-05/8.232, allocations: 23.5 kB / 3.81 GB, free: 50.89 MB / 0.5261 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.006514/8.239, allocations: 1.839 MB / 3.812 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/8.239, allocations: 7.656 kB / 3.812 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/8.241, allocations: 328 kB / 3.812 GB, free: 50.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/8.242, allocations: 0.601 MB / 3.812 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/8.242, allocations: 116.7 kB / 3.813 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/8.243, allocations: 61.23 kB / 3.813 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/8.245, allocations: 1.213 MB / 3.814 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/8.245, allocations: 3.656 kB / 3.814 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/8.245, allocations: 34.88 kB / 3.814 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/8.245, allocations: 38.91 kB / 3.814 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/8.247, allocations: 1.051 MB / 3.815 GB, free: 49.52 MB / 0.5261 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.005295/8.253, allocations: 5.614 MB / 3.82 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/8.255, allocations: 0.8048 MB / 3.821 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02858/8.283, allocations: 15.72 MB / 3.836 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/8.283, allocations: 41.5 kB / 3.837 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.865e-06/8.283, allocations: 4.766 kB / 3.837 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.006323/8.29, allocations: 2.348 MB / 3.839 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/8.29, allocations: 165.9 kB / 3.839 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/8.29, allocations: 0.5324 MB / 3.839 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/8.29, allocations: 35.08 kB / 3.84 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/8.29, allocations: 389.6 kB / 3.84 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/8.291, allocations: 176.2 kB / 3.84 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/8.291, allocations: 15.25 kB / 3.84 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/8.291, allocations: 386.8 kB / 3.84 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/8.291, allocations: 289 kB / 3.841 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/8.292, allocations: 0.6062 MB / 3.841 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/8.293, allocations: 380.9 kB / 3.842 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/8.293, allocations: 3.125 kB / 3.842 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001546/8.294, allocations: 0.9836 MB / 3.843 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/8.294, allocations: 9.812 kB / 3.843 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/8.294, allocations: 7.844 kB / 3.843 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/8.294, allocations: 69.67 kB / 3.843 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/8.296, allocations: 311.4 kB / 3.843 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/8.297, allocations: 1.99 MB / 3.845 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/8.298, allocations: 90.81 kB / 3.845 GB, free: 32.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/8.298, allocations: 42.31 kB / 3.845 GB, free: 32.42 MB / 0.5261 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.0003871/8.298, allocations: 276.3 kB / 3.845 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/8.298, allocations: 67.25 kB / 3.845 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/8.301, allocations: 2.602 MB / 3.848 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/8.301, allocations: 35.61 kB / 3.848 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/8.301, allocations: 3.953 kB / 3.848 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/8.301, allocations: 3.609 kB / 3.848 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/8.305, allocations: 3.791 MB / 3.852 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/8.305, allocations: 3.875 kB / 3.852 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/8.306, allocations: 238.5 kB / 3.852 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/8.306, allocations: 100.6 kB / 3.852 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/8.306, allocations: 15.59 kB / 3.852 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/8.307, allocations: 2.002 MB / 3.854 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/8.307, allocations: 0 / 3.854 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/8.31, allocations: 2.383 MB / 3.856 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/8.31, allocations: 342.2 kB / 3.857 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/8.31, allocations: 12.28 kB / 3.857 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/8.311, allocations: 57.17 kB / 3.857 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/8.311, allocations: 53.22 kB / 3.857 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/8.311, allocations: 18.06 kB / 3.857 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000654/8.312, allocations: 0.5561 MB / 3.857 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/8.312, allocations: 0 / 3.857 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00482/8.317, allocations: 1.139 MB / 3.858 GB, free: 28.79 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: 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.005538/8.322, allocations: 1.558 MB / 3.86 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002143/8.324, allocations: 1.1 MB / 3.861 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/8.324, allocations: 3.25 kB / 3.861 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/8.326, allocations: 0.8052 MB / 3.862 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/8.327, allocations: 382.5 kB / 3.862 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/8.33, allocations: 3.027 MB / 3.865 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/8.331, allocations: 1.189 MB / 3.866 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008057/8.332, allocations: 433.5 kB / 3.867 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/8.332, allocations: 63.75 kB / 3.867 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of SimCode: time 6.42e-07/8.332, allocations: 0 / 3.867 GB, free: 26.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.0479/8.38, allocations: 40.6 MB / 3.906 GB, free: 24.61 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches