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.002375/0.002375, allocations: 176.3 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.0008498/0.0008498, allocations: 96.33 kB / 281.6 MB, free: 5.258 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.2304/0.2304, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.894e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.695/7.85, allocations: 2.798 GB / 3.293 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/7.851, allocations: 93.62 kB / 3.293 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.764/9.615, allocations: 0.4909 GB / 3.784 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/9.615, allocations: 0 / 3.784 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001365/9.615, allocations: 21.86 kB / 3.784 GB, free: 34.04 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.008277/9.623, allocations: 1.689 MB / 3.786 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/9.623, allocations: 15.92 kB / 3.786 GB, free: 32.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/9.625, allocations: 242.6 kB / 3.786 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/9.627, allocations: 0.586 MB / 3.786 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/9.627, allocations: 92.7 kB / 3.786 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/9.627, allocations: 32 kB / 3.786 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/9.628, allocations: 0.6234 MB / 3.787 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/9.629, allocations: 0.8687 MB / 3.788 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/9.629, allocations: 11.75 kB / 3.788 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/9.629, allocations: 4 kB / 3.788 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/9.63, allocations: 49.22 kB / 3.788 GB, free: 29.67 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.4659/10.1, allocations: 67.79 MB / 3.854 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/10.1, allocations: 337.6 kB / 3.855 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/10.1, allocations: 152.3 kB / 3.855 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08584/10.18, allocations: 47.36 MB / 3.901 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/10.18, allocations: 40.92 kB / 3.901 GB, free: 23.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/10.18, allocations: 0 / 3.901 GB, free: 23.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.005165/10.19, allocations: 1.597 MB / 3.903 GB, free: 23.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/10.19, allocations: 133.2 kB / 3.903 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/10.19, allocations: 497.8 kB / 3.903 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/10.19, allocations: 32.55 kB / 3.903 GB, free: 23.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/10.19, allocations: 432.9 kB / 3.904 GB, free: 22.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/10.19, allocations: 130.2 kB / 3.904 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/10.19, allocations: 3.844 kB / 3.904 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001562/10.19, allocations: 374.2 kB / 3.904 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/10.19, allocations: 206.1 kB / 3.904 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/10.19, allocations: 0.5518 MB / 3.905 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/10.19, allocations: 424.1 kB / 3.905 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/10.19, allocations: 3.938 kB / 3.905 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001868/10.19, allocations: 0.8781 MB / 3.906 GB, free: 22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/10.19, allocations: 14.72 kB / 3.906 GB, free: 22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/10.19, allocations: 10.59 kB / 3.906 GB, free: 22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/10.19, allocations: 75.39 kB / 3.906 GB, free: 22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/10.19, allocations: 282.8 kB / 3.906 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/10.2, allocations: 2.068 MB / 3.908 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/10.2, allocations: 41.56 kB / 3.908 GB, free: 36.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/10.2, allocations: 49.47 kB / 3.909 GB, free: 36.2 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 () * 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.000197/10.2, allocations: 145.2 kB / 3.909 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/10.2, allocations: 68.08 kB / 3.909 GB, free: 36.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/10.2, allocations: 1.495 MB / 3.91 GB, free: 35.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/10.2, allocations: 16.33 kB / 3.91 GB, free: 35.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/10.2, allocations: 2.734 kB / 3.91 GB, free: 35.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/10.2, allocations: 7.422 kB / 3.91 GB, free: 35.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/10.2, allocations: 2.356 MB / 3.913 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/10.2, allocations: 0 / 3.913 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/10.2, allocations: 174.7 kB / 3.913 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/10.2, allocations: 116.9 kB / 3.913 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/10.2, allocations: 3.375 kB / 3.913 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/10.21, allocations: 2.08 MB / 3.915 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/10.21, allocations: 3.984 kB / 3.915 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/10.21, allocations: 1.521 MB / 3.916 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/10.21, allocations: 207.7 kB / 3.917 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/10.21, allocations: 0 / 3.917 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/10.21, allocations: 23.69 kB / 3.917 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/10.21, allocations: 26.12 kB / 3.917 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/10.21, allocations: 17.45 kB / 3.917 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003895/10.21, allocations: 352.6 kB / 3.917 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/10.21, allocations: 0 / 3.917 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005187/10.21, allocations: 1.091 MB / 3.918 GB, free: 33.22 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.009441/10.22, allocations: 1.646 MB / 3.92 GB, free: 33.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002001/10.23, allocations: 0.799 MB / 3.92 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/10.23, allocations: 0 / 3.92 GB, free: 33.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/10.23, allocations: 0.5534 MB / 3.921 GB, free: 33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/10.23, allocations: 265.5 kB / 3.921 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/10.23, allocations: 1.375 MB / 3.923 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/10.23, allocations: 1.059 MB / 3.924 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009589/10.23, allocations: 424.6 kB / 3.924 GB, free: 31.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/10.23, allocations: 60.88 kB / 3.924 GB, free: 31.89 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/10.23, allocations: 0 / 3.924 GB, free: 31.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.04524/10.28, allocations: 32.62 MB / 3.956 GB, free: 29.83 MB / 0.5573 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