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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 96.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 172.5 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.24 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04465/0.1663, allocations: 39.41 MB / 0.4997 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2804/0.4468, allocations: 20.91 MB / 0.5201 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.4481, allocations: 23.81 kB / 0.5201 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.4497, allocations: 398.2 kB / 0.5205 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.4671, allocations: 4.17 MB / 0.5246 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009074/0.4762, allocations: 2.242 MB / 0.5268 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004194/0.4804, allocations: 2.83 MB / 0.5295 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.4813, allocations: 406.8 kB / 0.5299 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009097/0.4904, allocations: 4.037 MB / 0.5339 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009451/0.4999, allocations: 5.444 MB / 0.5392 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.5002, allocations: 39.16 kB / 0.5392 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.5155, allocations: 7.121 MB / 0.5462 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006119/0.5162, allocations: 241.3 kB / 0.5464 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008344/0.517, allocations: 440.3 kB / 0.5468 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.5316, allocations: 4.913 MB / 0.5516 GB, free: 14.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5316, allocations: 0 / 0.5516 GB, free: 14.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5316, allocations: 3.938 kB / 0.5516 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.5317, allocations: 4 kB / 0.5516 GB, free: 14.15 MB / 398.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.00499/0.5367, allocations: 1.464 MB / 0.5531 GB, free: 12.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5367, allocations: 15.97 kB / 0.5531 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5382, allocations: 219.8 kB / 0.5533 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.5391, allocations: 0.5388 MB / 0.5538 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5392, allocations: 105.3 kB / 0.5539 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.5394, allocations: 67.33 kB / 0.554 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.5415, allocations: 1.077 MB / 0.555 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.5416, allocations: 4 kB / 0.555 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.5417, allocations: 28 kB / 0.555 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.581e-05/0.5417, allocations: 44.92 kB / 0.5551 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5435, allocations: 0.8194 MB / 0.5559 GB, free: 9.609 MB / 398.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.006639/0.5502, allocations: 5.574 MB / 0.5613 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5517, allocations: 0.5311 MB / 0.5619 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.5522, allocations: 210.5 kB / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1033/0.6555, allocations: 47.88 MB / 0.6088 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.6556, allocations: 43.31 kB / 0.6088 GB, free: 13.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.325e-06/0.6556, allocations: 0 / 0.6088 GB, free: 13.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006743/0.6623, allocations: 2.147 MB / 0.6109 GB, free: 11.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6625, allocations: 191.9 kB / 0.6111 GB, free: 10.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/0.6633, allocations: 0.6367 MB / 0.6118 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.6634, allocations: 37.7 kB / 0.6118 GB, free: 10.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.6637, allocations: 397.3 kB / 0.6122 GB, free: 9.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.6638, allocations: 173.7 kB / 0.6123 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.6639, allocations: 69.69 kB / 0.6124 GB, free: 9.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.6641, allocations: 382.7 kB / 0.6128 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.6645, allocations: 229.9 kB / 0.613 GB, free: 9.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.6652, allocations: 0.5861 MB / 0.6136 GB, free: 8.309 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6664, allocations: 0.8638 MB / 0.6144 GB, free: 7.281 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.6664, allocations: 7.938 kB / 0.6144 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00162/0.6681, allocations: 0.8963 MB / 0.6153 GB, free: 6.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.6681, allocations: 12 kB / 0.6153 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.6682, allocations: 12 kB / 0.6153 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.6715, allocations: 268.5 kB / 0.6156 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6728, allocations: 291.5 kB / 0.6158 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.6747, allocations: 2.011 MB / 0.6178 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.6755, allocations: 56.05 kB / 0.6179 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.6756, allocations: 43.98 kB / 0.6179 GB, free: 3.531 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005277/0.6761, allocations: 285.9 kB / 0.6182 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.6763, allocations: 71.16 kB / 0.6182 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.6792, allocations: 2.021 MB / 0.6202 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.6793, allocations: 23.97 kB / 0.6202 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6793, allocations: 0 / 0.6202 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.6793, allocations: 8.047 kB / 0.6202 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.6835, allocations: 2.99 MB / 0.6232 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6835, allocations: 0 / 0.6232 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.6845, allocations: 183.8 kB / 0.6233 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.6864, allocations: 307.9 kB / 0.6236 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.6864, allocations: 19.94 kB / 0.6236 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.6885, allocations: 2.077 MB / 0.6257 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6885, allocations: 0 / 0.6257 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.6912, allocations: 1.951 MB / 0.6276 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/0.6917, allocations: 283.4 kB / 0.6279 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.6919, allocations: 12 kB / 0.6279 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.6924, allocations: 39.88 kB / 0.6279 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.6925, allocations: 36.33 kB / 0.6279 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.6926, allocations: 12 kB / 0.6279 GB, free: 8.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009124/0.6935, allocations: 0.5809 MB / 0.6285 GB, free: 8.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6935, allocations: 0 / 0.6285 GB, free: 8.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00479/0.6983, allocations: 1.085 MB / 0.6296 GB, free: 7.285 MB / 478.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005514/0.7038, allocations: 1.186 MB / 0.6307 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.7061, allocations: 0.9129 MB / 0.6316 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.7061, allocations: 8 kB / 0.6316 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.7074, allocations: 0.6514 MB / 0.6323 GB, free: 4.625 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.71, allocations: 389.3 kB / 0.6326 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.7136, allocations: 2.634 MB / 0.6352 GB, free: 1.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.7144, allocations: 1.093 MB / 0.6363 GB, free: 480 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008882/0.7153, allocations: 346 kB / 0.6366 GB, free: 132 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.7154, allocations: 67.42 kB / 0.6367 GB, free: 64 kB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7155, allocations: 0 / 0.6367 GB, free: 64 kB / 478.1 MB Notification: Performance of Templates: time 0.07402/0.7895, allocations: 44.55 MB / 0.6802 GB, free: 3.664 MB / 0.5138 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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