Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 87.86 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1801/0.1801, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.283e-05, allocations: 4.203 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.927/6.043, allocations: 2.8 GB / 3.302 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/6.043, allocations: 95.8 kB / 3.302 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.901/7.944, allocations: 0.4982 GB / 3.801 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/7.944, allocations: 2.078 kB / 3.801 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.907e-05/7.944, allocations: 23.62 kB / 3.801 GB, free: 57.07 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.006807/7.951, allocations: 1.71 MB / 3.802 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/7.951, allocations: 11.56 kB / 3.802 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/7.953, allocations: 324.1 kB / 3.803 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/7.954, allocations: 0.6038 MB / 3.803 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.993e-05/7.954, allocations: 113.1 kB / 3.803 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/7.955, allocations: 57.94 kB / 3.803 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/7.957, allocations: 1.203 MB / 3.804 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/7.957, allocations: 10.09 kB / 3.804 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/7.957, allocations: 27.34 kB / 3.805 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/7.957, allocations: 43.3 kB / 3.805 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/7.959, allocations: 0.8435 MB / 3.805 GB, free: 55.82 MB / 0.5261 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.006048/7.965, allocations: 5.518 MB / 3.811 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/7.966, allocations: 0.6028 MB / 3.811 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/7.966, allocations: 217.8 kB / 3.812 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07983/8.046, allocations: 46.08 MB / 3.857 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/8.046, allocations: 40.75 kB / 3.857 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/8.046, allocations: 4 kB / 3.857 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.00539/8.052, allocations: 1.84 MB / 3.858 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/8.052, allocations: 166.1 kB / 3.859 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/8.053, allocations: 0.5414 MB / 3.859 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/8.053, allocations: 36.42 kB / 3.859 GB, free: 24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/8.053, allocations: 386.2 kB / 3.859 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/8.053, allocations: 175.5 kB / 3.86 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/8.053, allocations: 13.44 kB / 3.86 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001122/8.053, allocations: 376.8 kB / 3.86 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/8.054, allocations: 213.8 kB / 3.86 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/8.054, allocations: 0.557 MB / 3.861 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/8.055, allocations: 325.3 kB / 3.861 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/8.055, allocations: 4 kB / 3.861 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001269/8.056, allocations: 0.8548 MB / 3.862 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/8.056, allocations: 12.64 kB / 3.862 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/8.056, allocations: 11.09 kB / 3.862 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/8.056, allocations: 62.38 kB / 3.862 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/8.057, allocations: 280.7 kB / 3.862 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/8.058, allocations: 1.976 MB / 3.864 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/8.059, allocations: 59.89 kB / 3.864 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/8.059, allocations: 43.91 kB / 3.864 GB, free: 20.97 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 () * 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.0001942/8.059, allocations: 165.6 kB / 3.864 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/8.06, allocations: 69.5 kB / 3.865 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/8.062, allocations: 2.217 MB / 3.867 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/8.062, allocations: 27.17 kB / 3.867 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/8.062, allocations: 2.188 kB / 3.867 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/8.062, allocations: 6.75 kB / 3.867 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/8.065, allocations: 3.278 MB / 3.87 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/8.065, allocations: 3.906 kB / 3.87 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/8.066, allocations: 183 kB / 3.87 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/8.067, allocations: 94.78 kB / 3.87 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/8.067, allocations: 10.47 kB / 3.87 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/8.069, allocations: 1.997 MB / 3.872 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.069, allocations: 2.422 kB / 3.872 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/8.071, allocations: 1.983 MB / 3.874 GB, free: 33.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/8.072, allocations: 282.6 kB / 3.874 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/8.072, allocations: 17.23 kB / 3.874 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/8.073, allocations: 59.94 kB / 3.874 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/8.073, allocations: 29.3 kB / 3.874 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/8.073, allocations: 22.5 kB / 3.874 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007231/8.074, allocations: 0.4981 MB / 3.875 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.1e-07/8.074, allocations: 6.953 kB / 3.875 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006001/8.08, allocations: 1.129 MB / 3.876 GB, free: 33.39 MB / 0.5417 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.01014/8.09, allocations: 1.549 MB / 3.878 GB, free: 33.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002557/8.093, allocations: 0.9273 MB / 3.878 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/8.093, allocations: 2.297 kB / 3.878 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/8.094, allocations: 0.657 MB / 3.879 GB, free: 33.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/8.096, allocations: 365.9 kB / 3.879 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/8.099, allocations: 1.71 MB / 3.881 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/8.1, allocations: 1.136 MB / 3.882 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001115/8.101, allocations: 452.2 kB / 3.883 GB, free: 31.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/8.102, allocations: 60.78 kB / 3.883 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.874e-06/8.102, allocations: 1.781 kB / 3.883 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.05418/8.156, allocations: 41.65 MB / 3.923 GB, free: 29.55 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches