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.001185/0.001185, allocations: 101.5 kB / 18.39 MB, free: 4.648 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.001236/0.001236, allocations: 187 kB / 19.33 MB, free: 3.727 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.51/1.51, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001325/0.001325, allocations: 51.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09596, 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.2406/0.3366, allocations: 32.56 MB / 408.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.355, allocations: 15.74 MB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004242/0.3556, allocations: 11.5 kB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.3565, allocations: 272.5 kB / 424.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008364/0.3573, allocations: 356.8 kB / 424.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02074/0.3781, allocations: 5.78 MB / 430.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.3798, allocations: 0.9794 MB / 431.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.38, allocations: 108.6 kB / 431.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006133/0.3862, allocations: 2.185 MB / 433.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.3867, allocations: 294.8 kB / 434.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.3868, allocations: 36 kB / 434.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007784/0.3946, allocations: 3.617 MB / 437.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.3948, allocations: 99.66 kB / 437.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.3952, allocations: 219.2 kB / 438.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.3994, allocations: 2.358 MB / 440.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3994, allocations: 0 / 440.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3994, allocations: 0 / 440.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3994, allocations: 0 / 440.4 MB, free: 14.95 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.001488/0.4009, allocations: 0.8116 MB / 441.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.401, allocations: 15.89 kB / 441.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/0.4018, allocations: 92.42 kB / 441.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.4022, allocations: 307.6 kB / 441.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4023, allocations: 21.03 kB / 441.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.4023, allocations: 32.56 kB / 441.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.4032, allocations: 454.1 kB / 442.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.4032, allocations: 3.938 kB / 442.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.4032, allocations: 12 kB / 442.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4033, allocations: 16 kB / 442.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.4039, allocations: 313.9 kB / 442.5 MB, free: 12.77 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.002632/0.4065, allocations: 2.624 MB / 445.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.407, allocations: 246.5 kB / 445.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4072, allocations: 108.8 kB / 445.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03179/0.439, allocations: 15.54 MB / 461 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.4391, allocations: 38.56 kB / 461 MB, free: 8.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.404e-06/0.4391, allocations: 3.938 kB / 461.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004501/0.4436, allocations: 1.307 MB / 462.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4437, allocations: 55.41 kB / 462.4 MB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.444, allocations: 274.5 kB / 462.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.4441, allocations: 29.7 kB / 462.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4442, allocations: 196 kB / 462.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.4443, allocations: 106.4 kB / 463 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4444, allocations: 74.12 kB / 463.1 MB, free: 6.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4445, allocations: 338.8 kB / 463.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4447, allocations: 104.8 kB / 463.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.445, allocations: 226.8 kB / 463.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.4454, allocations: 354.4 kB / 464.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4455, allocations: 0 / 464.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007503/0.4462, allocations: 442.5 kB / 464.5 MB, free: 4.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4463, allocations: 11.94 kB / 464.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4463, allocations: 4.5 kB / 464.5 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.4494, allocations: 269.3 kB / 464.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.4497, allocations: 79.91 kB / 464.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.4515, allocations: 1.986 MB / 466.9 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.4517, allocations: 8 kB / 466.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.4518, allocations: 16 kB / 466.9 MB, free: 1.91 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.0002223/0.452, allocations: 157.8 kB / 467 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/0.4521, allocations: 31.66 kB / 467.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.4533, allocations: 0.9435 MB / 468 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.4533, allocations: 16.05 kB / 468 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4533, allocations: 0 / 468 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.4544, allocations: 1.117 MB / 469.1 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.4564, allocations: 1.584 MB / 470.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4564, allocations: 0 / 470.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.4566, allocations: 47.92 kB / 470.8 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.4583, allocations: 291.9 kB / 471.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.4583, allocations: 8 kB / 471.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005578/0.4589, allocations: 0.6732 MB / 471.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4589, allocations: 0 / 471.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.46, allocations: 0.9459 MB / 472.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4602, allocations: 116.8 kB / 472.8 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.4602, allocations: 19.84 kB / 472.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4604, allocations: 8 kB / 472.8 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4605, allocations: 19.91 kB / 472.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.4605, allocations: 12 kB / 472.9 MB, free: 11.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.4608, allocations: 239 kB / 473.1 MB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4608, allocations: 0 / 473.1 MB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001709/0.4625, allocations: 499.8 kB / 473.6 MB, free: 10.96 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.002404/0.4649, allocations: 0.5088 MB / 474.1 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.466, allocations: 0.5295 MB / 474.6 MB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.466, allocations: 1 kB / 474.6 MB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.4664, allocations: 302.2 kB / 474.9 MB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4675, allocations: 199.3 kB / 475.1 MB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.4692, allocations: 1.034 MB / 476.1 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4696, allocations: 0.8204 MB / 477 MB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.4697, allocations: 39.36 kB / 477 MB, free: 7.461 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4698, allocations: 4 kB / 477 MB, free: 7.457 MB / 398.1 MB Notification: Performance of Templates: time 0.02349/0.4933, allocations: 15.13 MB / 492.1 MB, free: 8.309 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