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.002053/0.002053, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.618/1.618, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009355/0.0009355, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2385/0.2385, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.504/6.636, allocations: 2.796 GB / 3.274 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/6.637, allocations: 97.25 kB / 3.274 GB, free: 46.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.158/8.795, allocations: 0.4947 GB / 3.769 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/8.795, allocations: 0 / 3.769 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001134/8.795, allocations: 21.88 kB / 3.769 GB, free: 55.06 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.01137/8.807, allocations: 1.802 MB / 3.771 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/8.807, allocations: 7.812 kB / 3.771 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/8.81, allocations: 329.8 kB / 3.771 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/8.812, allocations: 0.603 MB / 3.772 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/8.812, allocations: 105.4 kB / 3.772 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/8.813, allocations: 64.5 kB / 3.772 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/8.816, allocations: 1.158 MB / 3.773 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/8.816, allocations: 8.625 kB / 3.773 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/8.816, allocations: 31.98 kB / 3.773 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-05/8.816, allocations: 45.91 kB / 3.773 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/8.819, allocations: 0.8322 MB / 3.774 GB, free: 53.67 MB / 0.5105 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.008775/8.828, allocations: 5.503 MB / 3.779 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/8.829, allocations: 0.5733 MB / 3.78 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09093/8.92, allocations: 45.91 MB / 3.825 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/8.92, allocations: 41.44 kB / 3.825 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 3.367e-06/8.92, allocations: 4 kB / 3.825 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.006126/8.926, allocations: 1.945 MB / 3.827 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/8.926, allocations: 163.7 kB / 3.827 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/8.927, allocations: 0.5404 MB / 3.828 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/8.927, allocations: 34.89 kB / 3.828 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/8.928, allocations: 392.7 kB / 3.828 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/8.928, allocations: 166.6 kB / 3.828 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/8.928, allocations: 17.84 kB / 3.828 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001383/8.928, allocations: 382.5 kB / 3.828 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/8.928, allocations: 220.8 kB / 3.829 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/8.929, allocations: 0.5723 MB / 3.829 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/8.93, allocations: 324.4 kB / 3.83 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/8.93, allocations: 2.906 kB / 3.83 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001449/8.931, allocations: 0.8659 MB / 3.83 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/8.931, allocations: 11.03 kB / 3.83 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/8.931, allocations: 11.59 kB / 3.83 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/8.931, allocations: 59.14 kB / 3.83 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/8.933, allocations: 291.6 kB / 3.831 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/8.936, allocations: 1.984 MB / 3.833 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/8.937, allocations: 65.95 kB / 3.833 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/8.937, allocations: 40.31 kB / 3.833 GB, free: 34.64 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 () * 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.0005773/8.937, allocations: 268.5 kB / 3.833 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/8.938, allocations: 75.25 kB / 3.833 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/8.94, allocations: 2.222 MB / 3.835 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/8.94, allocations: 31.62 kB / 3.835 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/8.94, allocations: 3.906 kB / 3.835 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/8.94, allocations: 3.75 kB / 3.835 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/8.944, allocations: 3.281 MB / 3.839 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/8.944, allocations: 7.484 kB / 3.839 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000896/8.945, allocations: 191.2 kB / 3.839 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/8.945, allocations: 92.39 kB / 3.839 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/8.946, allocations: 11.12 kB / 3.839 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/8.947, allocations: 2.005 MB / 3.841 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/8.947, allocations: 0 / 3.841 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/8.949, allocations: 1.995 MB / 3.843 GB, free: 31.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/8.95, allocations: 282 kB / 3.843 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/8.95, allocations: 16.95 kB / 3.843 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/8.95, allocations: 60.16 kB / 3.843 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/8.95, allocations: 38.78 kB / 3.843 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/8.95, allocations: 26.28 kB / 3.843 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006581/8.951, allocations: 0.4984 MB / 3.844 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.024e-06/8.951, allocations: 0 / 3.844 GB, free: 31.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006928/8.958, allocations: 1.124 MB / 3.845 GB, free: 31.08 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 () * Number of clocked 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.01025/8.968, allocations: 1.552 MB / 3.846 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002402/8.971, allocations: 0.9223 MB / 3.847 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/8.971, allocations: 5.828 kB / 3.847 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/8.972, allocations: 0.665 MB / 3.848 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/8.975, allocations: 349.8 kB / 3.848 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/8.979, allocations: 2.725 MB / 3.851 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009326/8.98, allocations: 1.138 MB / 3.852 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00111/8.981, allocations: 440.2 kB / 3.852 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/8.981, allocations: 70.05 kB / 3.852 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/8.981, allocations: 0 / 3.852 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.0619/9.043, allocations: 39.72 MB / 3.891 GB, free: 26.35 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