Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001503/0.001503, allocations: 181.5 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 1.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001065/0.001065, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.276/0.276, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.077e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.993/8.108, allocations: 2.796 GB / 3.268 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/8.109, allocations: 96.84 kB / 3.268 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.795/10.9, allocations: 0.4934 GB / 3.762 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/10.9, allocations: 0 / 3.762 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.734e-05/10.9, allocations: 19.94 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.007691/10.91, allocations: 1.715 MB / 3.764 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/10.91, allocations: 7.438 kB / 3.764 GB, free: 54.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/10.92, allocations: 326.1 kB / 3.764 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/10.92, allocations: 0.5998 MB / 3.764 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/10.92, allocations: 104.6 kB / 3.765 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/10.92, allocations: 61.22 kB / 3.765 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/10.92, allocations: 1.203 MB / 3.766 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/10.92, allocations: 6.312 kB / 3.766 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/10.92, allocations: 29.66 kB / 3.766 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/10.92, allocations: 45.56 kB / 3.766 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/10.92, allocations: 0.8468 MB / 3.767 GB, free: 54.19 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.008245/10.93, allocations: 5.505 MB / 3.772 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/10.93, allocations: 0.6003 MB / 3.773 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/10.93, allocations: 222.6 kB / 3.773 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1444/11.08, allocations: 46.09 MB / 3.818 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/11.08, allocations: 40.5 kB / 3.818 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 3.106e-06/11.08, allocations: 0 / 3.818 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.007192/11.09, allocations: 1.831 MB / 3.82 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/11.09, allocations: 174 kB / 3.82 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/11.09, allocations: 0.5339 MB / 3.82 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/11.09, allocations: 37.27 kB / 3.82 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/11.09, allocations: 418 kB / 3.821 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/11.09, allocations: 177.2 kB / 3.821 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/11.09, allocations: 14.94 kB / 3.821 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/11.09, allocations: 344.5 kB / 3.821 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/11.09, allocations: 212.1 kB / 3.822 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007682/11.09, allocations: 0.5573 MB / 3.822 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/11.09, allocations: 327.3 kB / 3.822 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/11.09, allocations: 0 / 3.822 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001891/11.09, allocations: 0.8137 MB / 3.823 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/11.09, allocations: 11.53 kB / 3.823 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/11.09, allocations: 16.44 kB / 3.823 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/11.09, allocations: 65.92 kB / 3.823 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/11.09, allocations: 284.3 kB / 3.824 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/11.1, allocations: 1.975 MB / 3.825 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/11.1, allocations: 58.58 kB / 3.826 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/11.1, allocations: 38.97 kB / 3.826 GB, free: 19.07 MB / 0.5105 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.0002852/11.1, allocations: 171.9 kB / 3.826 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/11.1, allocations: 77.66 kB / 3.826 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/11.1, allocations: 2.212 MB / 3.828 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/11.1, allocations: 29.77 kB / 3.828 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.1, allocations: 0 / 3.828 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/11.1, allocations: 3.562 kB / 3.828 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/11.11, allocations: 3.275 MB / 3.831 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/11.11, allocations: 3.969 kB / 3.831 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/11.11, allocations: 194.6 kB / 3.831 GB, free: 34.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/11.11, allocations: 85.05 kB / 3.831 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/11.11, allocations: 14.27 kB / 3.831 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/11.11, allocations: 1.995 MB / 3.833 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/11.11, allocations: 0 / 3.833 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/11.11, allocations: 1.982 MB / 3.835 GB, free: 31.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/11.12, allocations: 284 kB / 3.836 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/11.12, allocations: 12.81 kB / 3.836 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/11.12, allocations: 64.39 kB / 3.836 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/11.12, allocations: 37.48 kB / 3.836 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/11.12, allocations: 26.39 kB / 3.836 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009446/11.12, allocations: 0.4915 MB / 3.836 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/11.12, allocations: 0 / 3.836 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005868/11.12, allocations: 1.131 MB / 3.837 GB, free: 31.5 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.0103/11.13, allocations: 1.54 MB / 3.839 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003734/11.14, allocations: 0.9108 MB / 3.84 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/11.14, allocations: 5.047 kB / 3.84 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/11.14, allocations: 0.6581 MB / 3.84 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/11.15, allocations: 361.5 kB / 3.841 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/11.15, allocations: 1.765 MB / 3.842 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/11.15, allocations: 1.133 MB / 3.844 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/11.15, allocations: 68.88 kB / 3.844 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/11.15, allocations: 0 / 3.844 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.08764/11.24, allocations: 40.46 MB / 3.883 GB, free: 26.71 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches