Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.338/1.338, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009819/0.0009815, allocations: 103.5 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3414/0.3414, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 459.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3457, allocations: 61.89 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.397/6.743, allocations: 2.799 GB / 3.308 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/6.743, allocations: 104.5 kB / 3.309 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.758/8.501, allocations: 0.4972 GB / 3.806 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.764e-06/8.501, allocations: 0 / 3.806 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000121/8.501, allocations: 19.12 kB / 3.806 GB, free: 52.89 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.009267/8.51, allocations: 1.779 MB / 3.808 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/8.51, allocations: 7.281 kB / 3.808 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/8.512, allocations: 232.8 kB / 3.808 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/8.514, allocations: 0.5839 MB / 3.808 GB, free: 51.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/8.514, allocations: 106.8 kB / 3.808 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/8.514, allocations: 63.62 kB / 3.808 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/8.517, allocations: 1.066 MB / 3.81 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/8.517, allocations: 7.875 kB / 3.81 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/8.517, allocations: 23.84 kB / 3.81 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.381e-05/8.517, allocations: 46.23 kB / 3.81 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/8.519, allocations: 0.8085 MB / 3.81 GB, free: 50.51 MB / 0.5261 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.006254/8.526, allocations: 5.552 MB / 3.816 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/8.527, allocations: 0.5318 MB / 3.816 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07753/8.604, allocations: 47.19 MB / 3.862 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.568e-05/8.604, allocations: 46.5 kB / 3.862 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 2.625e-06/8.604, allocations: 0 / 3.862 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.005944/8.61, allocations: 2.107 MB / 3.865 GB, free: 25.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/8.61, allocations: 187.9 kB / 3.865 GB, free: 24.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007287/8.611, allocations: 0.5565 MB / 3.865 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/8.611, allocations: 33.7 kB / 3.865 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/8.611, allocations: 399.2 kB / 3.866 GB, free: 24.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/8.612, allocations: 172.8 kB / 3.866 GB, free: 23.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/8.612, allocations: 12 kB / 3.866 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002089/8.612, allocations: 388.3 kB / 3.866 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/8.612, allocations: 229.1 kB / 3.866 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/8.613, allocations: 0.5818 MB / 3.867 GB, free: 22.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/8.613, allocations: 340.5 kB / 3.867 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/8.613, allocations: 4 kB / 3.867 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001243/8.614, allocations: 0.8863 MB / 3.868 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/8.614, allocations: 12 kB / 3.868 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/8.614, allocations: 12 kB / 3.868 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/8.618, allocations: 270.4 kB / 3.868 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/8.619, allocations: 282.8 kB / 3.869 GB, free: 21.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/8.621, allocations: 2.026 MB / 3.871 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007997/8.622, allocations: 66.94 kB / 3.871 GB, free: 18.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/8.622, allocations: 36 kB / 3.871 GB, free: 18.86 MB / 0.5417 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.0004708/8.623, allocations: 271.1 kB / 3.871 GB, free: 18.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/8.623, allocations: 71.16 kB / 3.871 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/8.625, allocations: 2.027 MB / 3.873 GB, free: 16.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/8.625, allocations: 23.27 kB / 3.873 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/8.625, allocations: 0 / 3.873 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/8.625, allocations: 3.75 kB / 3.873 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/8.628, allocations: 2.992 MB / 3.876 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/8.628, allocations: 7.656 kB / 3.876 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/8.629, allocations: 186.4 kB / 3.876 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/8.63, allocations: 304.6 kB / 3.877 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/8.63, allocations: 12 kB / 3.877 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/8.632, allocations: 2.087 MB / 3.879 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/8.632, allocations: 0 / 3.879 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/8.634, allocations: 1.957 MB / 3.88 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/8.635, allocations: 291.9 kB / 3.881 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/8.635, allocations: 12 kB / 3.881 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/8.635, allocations: 35.89 kB / 3.881 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/8.636, allocations: 31.64 kB / 3.881 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/8.636, allocations: 19.75 kB / 3.881 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008456/8.636, allocations: 0.5634 MB / 3.881 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.636, allocations: 0 / 3.881 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00641/8.643, allocations: 1.134 MB / 3.883 GB, free: 7.68 MB / 0.5417 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.008176/8.651, allocations: 1.565 MB / 3.884 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002218/8.653, allocations: 0.9132 MB / 3.885 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/8.653, allocations: 7.875 kB / 3.885 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/8.655, allocations: 0.6279 MB / 3.886 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/8.656, allocations: 370.5 kB / 3.886 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/8.66, allocations: 2.562 MB / 3.888 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/8.661, allocations: 1.121 MB / 3.89 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008983/8.662, allocations: 352.6 kB / 3.89 GB, free: 348 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/8.662, allocations: 63.44 kB / 3.89 GB, free: 284 kB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/8.662, allocations: 0 / 3.89 GB, free: 284 kB / 0.5417 GB Notification: Performance of Templates: time 0.3808/9.043, allocations: 39.58 MB / 3.929 GB, free: 73.21 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches