Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002229/0.002228, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001091/0.001091, allocations: 89.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2756/0.2756, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.86e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.303/8.424, allocations: 2.796 GB / 3.268 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/8.424, allocations: 96.97 kB / 3.268 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.81/11.23, allocations: 0.4933 GB / 3.762 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/11.23, allocations: 3.219 kB / 3.762 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.664e-05/11.23, allocations: 16.77 kB / 3.762 GB, free: 55.52 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.009063/11.24, allocations: 1.757 MB / 3.764 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/11.24, allocations: 10.16 kB / 3.764 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/11.25, allocations: 328.5 kB / 3.764 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/11.25, allocations: 0.5855 MB / 3.764 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/11.25, allocations: 123.9 kB / 3.765 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/11.25, allocations: 64.39 kB / 3.765 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/11.25, allocations: 1.2 MB / 3.766 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/11.25, allocations: 8.375 kB / 3.766 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/11.25, allocations: 30.69 kB / 3.766 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/11.25, allocations: 44.28 kB / 3.766 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/11.26, allocations: 0.9915 MB / 3.767 GB, free: 54.2 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.009651/11.27, allocations: 5.619 MB / 3.772 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/11.27, allocations: 0.7368 MB / 3.773 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/11.27, allocations: 255 kB / 3.773 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05103/11.32, allocations: 15.77 MB / 3.789 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/11.32, allocations: 45.14 kB / 3.789 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.046e-06/11.32, allocations: 0 / 3.789 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.007997/11.33, allocations: 2.018 MB / 3.791 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/11.33, allocations: 160.7 kB / 3.791 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/11.33, allocations: 0.538 MB / 3.791 GB, free: 40.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/11.33, allocations: 36.3 kB / 3.791 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/11.33, allocations: 419.6 kB / 3.792 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/11.33, allocations: 173.8 kB / 3.792 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/11.33, allocations: 15.44 kB / 3.792 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/11.33, allocations: 341.7 kB / 3.792 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/11.33, allocations: 236.4 kB / 3.793 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/11.33, allocations: 0.5549 MB / 3.793 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/11.33, allocations: 336.4 kB / 3.793 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/11.33, allocations: 3.812 kB / 3.793 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002015/11.34, allocations: 0.8442 MB / 3.794 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/11.34, allocations: 6.938 kB / 3.794 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/11.34, allocations: 11 kB / 3.794 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/11.34, allocations: 66.44 kB / 3.794 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/11.34, allocations: 310.5 kB / 3.795 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/11.34, allocations: 1.983 MB / 3.797 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/11.34, allocations: 91.05 kB / 3.797 GB, free: 37.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/11.34, allocations: 44.55 kB / 3.797 GB, free: 37.03 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.0002619/11.34, allocations: 157.4 kB / 3.797 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/11.34, allocations: 77.98 kB / 3.797 GB, free: 36.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/11.35, allocations: 2.564 MB / 3.799 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/11.35, allocations: 37.12 kB / 3.799 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.35, allocations: 0 / 3.799 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/11.35, allocations: 8.797 kB / 3.799 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/11.35, allocations: 3.763 MB / 3.803 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/11.35, allocations: 1.859 kB / 3.803 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/11.36, allocations: 240.2 kB / 3.803 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/11.36, allocations: 81.12 kB / 3.803 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.127e-05/11.36, allocations: 16.33 kB / 3.803 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/11.36, allocations: 1.998 MB / 3.805 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/11.36, allocations: 0 / 3.805 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/11.36, allocations: 2.237 MB / 3.808 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007363/11.36, allocations: 326.7 kB / 3.808 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/11.36, allocations: 22.09 kB / 3.808 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/11.36, allocations: 60.75 kB / 3.808 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/11.36, allocations: 50.36 kB / 3.808 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/11.36, allocations: 22.38 kB / 3.808 GB, free: 33.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001101/11.36, allocations: 0.5421 MB / 3.809 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.244e-06/11.36, allocations: 0 / 3.809 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006001/11.37, allocations: 1.148 MB / 3.81 GB, free: 33.4 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.01014/11.38, allocations: 1.531 MB / 3.811 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003136/11.38, allocations: 1.011 MB / 3.812 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/11.38, allocations: 0 / 3.812 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/11.39, allocations: 0.7477 MB / 3.813 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/11.39, allocations: 372.2 kB / 3.813 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/11.39, allocations: 1.955 MB / 3.815 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/11.39, allocations: 1.184 MB / 3.816 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/11.39, allocations: 75.33 kB / 3.816 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/11.39, allocations: 2.656 kB / 3.816 GB, free: 31.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.08059/11.48, allocations: 41.99 MB / 3.857 GB, free: 29.18 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches