Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001676/0.001676, allocations: 109.4 kB / 18.4 MB, free: 4.688 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.001621/0.001621, allocations: 187.1 kB / 19.33 MB, free: 3.77 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.509/1.509, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001466/0.001466, allocations: 51.94 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09894, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2524/0.3514, allocations: 32.56 MB / 408.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.3707, allocations: 15.74 MB / 424.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.3712, allocations: 5 kB / 424.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.3722, allocations: 274.4 kB / 424.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008208/0.373, allocations: 353.3 kB / 424.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01927/0.3923, allocations: 5.786 MB / 430.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.394, allocations: 0.979 MB / 431.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.3944, allocations: 116.1 kB / 431.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.4, allocations: 2.187 MB / 433.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.4007, allocations: 294.9 kB / 434.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.4009, allocations: 36 kB / 434.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008012/0.4089, allocations: 3.613 MB / 437.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.4092, allocations: 99.73 kB / 437.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.4097, allocations: 219.1 kB / 438.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.4158, allocations: 2.358 MB / 440.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.4158, allocations: 4 kB / 440.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4158, allocations: 0 / 440.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4159, allocations: 0 / 440.5 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002026/0.4179, allocations: 0.8077 MB / 441.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4179, allocations: 19.88 kB / 441.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.4188, allocations: 84.42 kB / 441.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.4194, allocations: 307.6 kB / 441.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.4194, allocations: 25.03 kB / 441.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.4195, allocations: 36.56 kB / 441.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009075/0.4204, allocations: 450.1 kB / 442.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4204, allocations: 4 kB / 442.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4205, allocations: 16 kB / 442.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4205, allocations: 11.98 kB / 442.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.4212, allocations: 313.8 kB / 442.5 MB, free: 12.75 MB / 366.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.003166/0.4244, allocations: 2.622 MB / 445.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.425, allocations: 250.6 kB / 445.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4252, allocations: 108.7 kB / 445.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03481/0.46, allocations: 15.54 MB / 461 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4601, allocations: 38.5 kB / 461.1 MB, free: 8.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.953e-06/0.4601, allocations: 3.938 kB / 461.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004862/0.465, allocations: 1.299 MB / 462.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.465, allocations: 55.39 kB / 462.4 MB, free: 6.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4653, allocations: 270.5 kB / 462.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.4654, allocations: 33.7 kB / 462.7 MB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4655, allocations: 188.1 kB / 462.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.4656, allocations: 118.3 kB / 463 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.4658, allocations: 78.12 kB / 463.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4659, allocations: 334.8 kB / 463.4 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4661, allocations: 104.8 kB / 463.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.4663, allocations: 226.8 kB / 463.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.4669, allocations: 354.3 kB / 464.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4669, allocations: 0 / 464.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008043/0.4677, allocations: 442.9 kB / 464.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4677, allocations: 7.984 kB / 464.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4677, allocations: 7.938 kB / 464.5 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/0.471, allocations: 261.4 kB / 464.8 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.4713, allocations: 87.64 kB / 464.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.473, allocations: 1.978 MB / 466.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.4732, allocations: 12 kB / 466.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.4733, allocations: 19.98 kB / 466.9 MB, free: 1.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.4735, allocations: 161.7 kB / 467 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.4736, allocations: 31.72 kB / 467.1 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4747, allocations: 0.9435 MB / 468 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4747, allocations: 7.984 kB / 468 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4747, allocations: 0 / 468 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.4759, allocations: 1.122 MB / 469.1 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.4778, allocations: 1.58 MB / 470.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4778, allocations: 0 / 470.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.478, allocations: 55.91 kB / 470.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.4797, allocations: 280 kB / 471.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.4797, allocations: 15.98 kB / 471.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005198/0.4802, allocations: 0.6667 MB / 471.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4803, allocations: 0 / 471.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4814, allocations: 0.9576 MB / 472.7 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4815, allocations: 112.6 kB / 472.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.4816, allocations: 19.83 kB / 472.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4817, allocations: 4 kB / 472.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.4818, allocations: 15.98 kB / 472.8 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4818, allocations: 11.98 kB / 472.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.4821, allocations: 239.1 kB / 473.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4821, allocations: 0 / 473.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001439/0.4835, allocations: 0.496 MB / 473.6 MB, free: 10.94 MB / 398.1 MB 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.002225/0.4858, allocations: 0.5208 MB / 474.1 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4868, allocations: 0.5227 MB / 474.6 MB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4868, allocations: 0 / 474.6 MB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.4873, allocations: 302.2 kB / 474.9 MB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4885, allocations: 196.2 kB / 475.1 MB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.4902, allocations: 1.026 MB / 476.1 MB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4907, allocations: 0.8282 MB / 477 MB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.4908, allocations: 39.38 kB / 477 MB, free: 7.441 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4908, allocations: 0 / 477 MB, free: 7.441 MB / 398.1 MB Notification: Performance of Templates: time 0.02381/0.5146, allocations: 15.17 MB / 492.2 MB, free: 8.25 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches