Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 200.7 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000851/0.000851, allocations: 103.3 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.422/0.422, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4035, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.427/6.83, allocations: 2.8 GB / 3.319 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/6.831, allocations: 98.39 kB / 3.319 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.922/8.753, allocations: 482.9 MB / 3.79 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.595e-06/8.753, allocations: 0 / 3.79 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001268/8.753, allocations: 24.94 kB / 3.79 GB, free: 66.32 MB / 0.5417 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.008598/8.762, allocations: 1.775 MB / 3.792 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/8.762, allocations: 12.88 kB / 3.792 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/8.764, allocations: 230.1 kB / 3.792 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/8.766, allocations: 0.5986 MB / 3.793 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/8.766, allocations: 107.8 kB / 3.793 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/8.766, allocations: 60.33 kB / 3.793 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/8.769, allocations: 1.077 MB / 3.794 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/8.769, allocations: 9.188 kB / 3.794 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/8.769, allocations: 31.62 kB / 3.794 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/8.769, allocations: 44.98 kB / 3.794 GB, free: 64.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/8.771, allocations: 0.8052 MB / 3.795 GB, free: 64.84 MB / 0.5417 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.006133/8.777, allocations: 5.549 MB / 3.8 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/8.778, allocations: 0.5289 MB / 3.801 GB, free: 60.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/8.779, allocations: 205.6 kB / 3.801 GB, free: 60.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0855/8.864, allocations: 52.32 MB / 3.852 GB, free: 26.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/8.864, allocations: 36.94 kB / 3.852 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 3.135e-06/8.864, allocations: 4 kB / 3.852 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.006787/8.871, allocations: 2.101 MB / 3.854 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/8.871, allocations: 193.4 kB / 3.854 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/8.872, allocations: 0.6348 MB / 3.855 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/8.872, allocations: 32.02 kB / 3.855 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/8.873, allocations: 400.1 kB / 3.855 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/8.873, allocations: 170 kB / 3.856 GB, free: 25.19 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/8.873, allocations: 13.69 kB / 3.856 GB, free: 25.19 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001263/8.873, allocations: 387.8 kB / 3.856 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/8.873, allocations: 219.7 kB / 3.856 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/8.874, allocations: 0.5894 MB / 3.857 GB, free: 24.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/8.875, allocations: 0.8611 MB / 3.858 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/8.875, allocations: 7.531 kB / 3.858 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001425/8.876, allocations: 0.89 MB / 3.859 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/8.876, allocations: 11.62 kB / 3.859 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/8.876, allocations: 11.44 kB / 3.859 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/8.88, allocations: 263 kB / 3.859 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/8.881, allocations: 283 kB / 3.859 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/8.884, allocations: 2.024 MB / 3.861 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/8.885, allocations: 61.28 kB / 3.861 GB, free: 37.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/8.885, allocations: 45.11 kB / 3.861 GB, free: 37.99 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005509/8.885, allocations: 277.4 kB / 3.861 GB, free: 37.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/8.886, allocations: 71.09 kB / 3.861 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/8.888, allocations: 2.026 MB / 3.863 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/8.888, allocations: 22.88 kB / 3.863 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/8.888, allocations: 0 / 3.863 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/8.888, allocations: 7.969 kB / 3.863 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/8.892, allocations: 2.996 MB / 3.866 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/8.892, allocations: 0 / 3.866 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000845/8.893, allocations: 186.6 kB / 3.867 GB, free: 35.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/8.894, allocations: 301.8 kB / 3.867 GB, free: 35.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/8.894, allocations: 22.17 kB / 3.867 GB, free: 35.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/8.896, allocations: 2.081 MB / 3.869 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/8.896, allocations: 0 / 3.869 GB, free: 33.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/8.898, allocations: 1.945 MB / 3.871 GB, free: 32.56 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/8.899, allocations: 284.9 kB / 3.871 GB, free: 32.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/8.899, allocations: 11.88 kB / 3.871 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/8.9, allocations: 28.56 kB / 3.871 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/8.9, allocations: 32.78 kB / 3.871 GB, free: 32.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/8.9, allocations: 23.28 kB / 3.871 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00088/8.901, allocations: 0.5654 MB / 3.872 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/8.901, allocations: 0 / 3.872 GB, free: 32.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006027/8.907, allocations: 1.151 MB / 3.873 GB, free: 31.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0102/8.917, allocations: 1.571 MB / 3.874 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002382/8.919, allocations: 0.9218 MB / 3.875 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/8.919, allocations: 4.125 kB / 3.875 GB, free: 31.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/8.921, allocations: 0.6302 MB / 3.876 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/8.924, allocations: 376 kB / 3.876 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/8.929, allocations: 2.579 MB / 3.879 GB, free: 29.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/8.93, allocations: 1.097 MB / 3.88 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001069/8.931, allocations: 349.4 kB / 3.88 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/8.931, allocations: 60.38 kB / 3.88 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/8.931, allocations: 0 / 3.88 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.06782/8.999, allocations: 41.99 MB / 3.921 GB, free: 4.781 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches