Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009426, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 175.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3615/0.3615, allocations: 43.54 MB / 314.5 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.000541, allocations: 12 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 58.86 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2806/0.4185, allocations: 33.11 MB / 475.9 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.4367, allocations: 17.21 MB / 493.1 MB, free: 19.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.4381, allocations: 21.84 kB / 493.1 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.4394, allocations: 393.8 kB / 493.5 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01374/0.4532, allocations: 3.998 MB / 497.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006701/0.4599, allocations: 2.103 MB / 499.6 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.4622, allocations: 1.152 MB / 0.489 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.463, allocations: 409.7 kB / 0.4894 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.475, allocations: 6.281 MB / 0.4955 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01723/0.4923, allocations: 8.762 MB / 0.5041 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.4926, allocations: 34.88 kB / 0.5041 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/0.5087, allocations: 7.027 MB / 0.511 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.5092, allocations: 219.4 kB / 0.5112 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.5096, allocations: 185.3 kB / 0.5114 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007449/0.5171, allocations: 3.371 MB / 0.5147 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5171, allocations: 0 / 0.5147 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5171, allocations: 0 / 0.5147 GB, free: 6.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.5171, allocations: 0 / 0.5147 GB, free: 6.699 MB / 382.1 MB 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.003968/0.5211, allocations: 1.469 MB / 0.5161 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5211, allocations: 12.02 kB / 0.5161 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.5225, allocations: 218.8 kB / 0.5163 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.5233, allocations: 0.5238 MB / 0.5168 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5234, allocations: 117.2 kB / 0.5169 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.5235, allocations: 59.95 kB / 0.517 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.525, allocations: 1.064 MB / 0.518 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5251, allocations: 0 / 0.518 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.5251, allocations: 28 kB / 0.5181 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/0.5252, allocations: 52.91 kB / 0.5181 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.5265, allocations: 0.8116 MB / 0.5189 GB, free: 2.145 MB / 382.1 MB 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.005187/0.5317, allocations: 5.555 MB / 0.5243 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.5328, allocations: 0.5379 MB / 0.5249 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09385/0.6267, allocations: 47.88 MB / 0.5716 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.6268, allocations: 42.56 kB / 0.5716 GB, free: 6.133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.6268, allocations: 0 / 0.5716 GB, free: 6.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006055/0.6329, allocations: 2.133 MB / 0.5737 GB, free: 3.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.633, allocations: 187.9 kB / 0.5739 GB, free: 3.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.6337, allocations: 0.6328 MB / 0.5745 GB, free: 3.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.6338, allocations: 37.7 kB / 0.5746 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.634, allocations: 399.2 kB / 0.5749 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.6342, allocations: 165.7 kB / 0.5751 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.6342, allocations: 19.94 kB / 0.5751 GB, free: 2.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6344, allocations: 374.8 kB / 0.5755 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.6347, allocations: 229.9 kB / 0.5757 GB, free: 1.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.6355, allocations: 0.5867 MB / 0.5763 GB, free: 1.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.6359, allocations: 343.7 kB / 0.5766 GB, free: 0.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6359, allocations: 7.938 kB / 0.5766 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001331/0.6373, allocations: 0.8803 MB / 0.5775 GB, free: 15.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.6373, allocations: 15.95 kB / 0.5775 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6373, allocations: 12 kB / 0.5775 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.6404, allocations: 273 kB / 0.5778 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6416, allocations: 287.5 kB / 0.578 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.6433, allocations: 2.022 MB / 0.58 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.644, allocations: 61.22 kB / 0.5801 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.644, allocations: 40 kB / 0.5801 GB, free: 12.99 MB / 462.1 MB 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],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.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.0004673/0.6445, allocations: 277.4 kB / 0.5804 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6447, allocations: 71.16 kB / 0.5804 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.647, allocations: 2.026 MB / 0.5824 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.647, allocations: 27.95 kB / 0.5824 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.647, allocations: 0 / 0.5824 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.647, allocations: 4 kB / 0.5824 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.6506, allocations: 2.998 MB / 0.5854 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6507, allocations: 0 / 0.5854 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.6516, allocations: 191.8 kB / 0.5856 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.6533, allocations: 307.9 kB / 0.5858 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.6533, allocations: 12 kB / 0.5859 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.655, allocations: 2.081 MB / 0.5879 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.655, allocations: 0 / 0.5879 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.6572, allocations: 1.971 MB / 0.5898 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.6577, allocations: 283.4 kB / 0.5901 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6578, allocations: 12.88 kB / 0.5901 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.6582, allocations: 31.95 kB / 0.5901 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.6583, allocations: 32.39 kB / 0.5902 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.6584, allocations: 19.98 kB / 0.5902 GB, free: 2.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007412/0.6591, allocations: 0.5615 MB / 0.5907 GB, free: 1.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6591, allocations: 0 / 0.5907 GB, free: 1.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003629/0.6628, allocations: 1.105 MB / 0.5918 GB, free: 0.6992 MB / 462.1 MB 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.004131/0.6669, allocations: 1.203 MB / 0.593 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.6689, allocations: 0.9091 MB / 0.5939 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6689, allocations: 0 / 0.5939 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.67, allocations: 0.636 MB / 0.5945 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.6721, allocations: 380.2 kB / 0.5948 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.6753, allocations: 2.574 MB / 0.5974 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.6759, allocations: 1.113 MB / 0.5984 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008906/0.6768, allocations: 342.2 kB / 0.5988 GB, free: 9.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.677, allocations: 63.44 kB / 0.5988 GB, free: 9.441 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.677, allocations: 4 kB / 0.5988 GB, free: 9.438 MB / 478.1 MB Notification: Performance of Templates: time 0.2657/0.9427, allocations: 44.69 MB / 0.6425 GB, free: 164.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches