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.001126/0.001126, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001387/0.001387, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.444/1.444, allocations: 205.1 MB / 224.4 MB, free: 12.28 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.001487/0.001487, allocations: 51.92 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 46.63 MB / 327.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03842/0.1465, allocations: 32.57 MB / 359.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.1654, allocations: 15.73 MB / 375.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.166, allocations: 11.94 kB / 375.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.1669, allocations: 262.4 kB / 375.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.1677, allocations: 365.9 kB / 376.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2566/0.4243, allocations: 5.767 MB / 382 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.4258, allocations: 0.9786 MB / 383 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.4261, allocations: 110 kB / 383.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.4318, allocations: 2.183 MB / 385.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.4323, allocations: 302.1 kB / 385.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.4323, allocations: 35.12 kB / 385.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007485/0.4398, allocations: 3.514 MB / 389.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.44, allocations: 105.6 kB / 389.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.4405, allocations: 218.6 kB / 389.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.4454, allocations: 2.355 MB / 391.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4454, allocations: 0 / 391.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4454, allocations: 4 kB / 391.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4455, allocations: 0 / 391.8 MB, free: 11.18 MB / 318.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.001916/0.4474, allocations: 0.8198 MB / 392.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4474, allocations: 12.17 kB / 392.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.4482, allocations: 82.91 kB / 392.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.4486, allocations: 304.7 kB / 393 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.4487, allocations: 24.25 kB / 393 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.4487, allocations: 35.31 kB / 393 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.4495, allocations: 448.4 kB / 393.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4496, allocations: 4.359 kB / 393.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.4496, allocations: 16.62 kB / 393.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4496, allocations: 8.375 kB / 393.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.4502, allocations: 315.8 kB / 393.8 MB, free: 10.27 MB / 318.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.002327/0.4525, allocations: 2.63 MB / 396.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.4531, allocations: 257.3 kB / 396.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4532, allocations: 104.1 kB / 396.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03131/0.4845, allocations: 15.48 MB / 412.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.4846, allocations: 37.09 kB / 412.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.4846, allocations: 0 / 412.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004268/0.4889, allocations: 1.308 MB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4889, allocations: 57.88 kB / 413.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4892, allocations: 268.7 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.4893, allocations: 30.3 kB / 414 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.4894, allocations: 199 kB / 414.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.4895, allocations: 108.4 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4896, allocations: 85.42 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4897, allocations: 341.9 kB / 414.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.4899, allocations: 94.59 kB / 414.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.4901, allocations: 221.8 kB / 415 MB, free: 11.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.4905, allocations: 351.4 kB / 415.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4905, allocations: 0 / 415.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006468/0.4912, allocations: 446.6 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4912, allocations: 7.781 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4912, allocations: 3.328 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/0.4942, allocations: 270.5 kB / 416 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.4945, allocations: 84.27 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.496, allocations: 1.971 MB / 418.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4962, allocations: 9.75 kB / 418.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4962, allocations: 21.28 kB / 418.1 MB, free: 9.484 MB / 334.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.0001768/0.4964, allocations: 165.1 kB / 418.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.4965, allocations: 34.44 kB / 418.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.4975, allocations: 0.9457 MB / 419.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.4975, allocations: 7.688 kB / 419.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4975, allocations: 4 kB / 419.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000918/0.4985, allocations: 1.115 MB / 420.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.5002, allocations: 1.59 MB / 422 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5002, allocations: 1.75 kB / 422 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.5004, allocations: 53.12 kB / 422 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.502, allocations: 293.4 kB / 422.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5021, allocations: 6.234 kB / 422.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004831/0.5025, allocations: 0.6748 MB / 423 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5026, allocations: 0.875 kB / 423 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.5036, allocations: 0.9498 MB / 424 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5037, allocations: 116.5 kB / 424.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.5038, allocations: 6.938 kB / 424.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5039, allocations: 10.69 kB / 424.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.504, allocations: 22.59 kB / 424.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.504, allocations: 11.62 kB / 424.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.5043, allocations: 240.3 kB / 424.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5043, allocations: 0 / 424.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003103/0.5074, allocations: 497.4 kB / 424.8 MB, free: 4.562 MB / 334.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.001748/0.5091, allocations: 0.5217 MB / 425.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.5101, allocations: 0.5368 MB / 425.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5101, allocations: 0 / 425.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.5106, allocations: 310 kB / 426.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5116, allocations: 194.2 kB / 426.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5131, allocations: 1.011 MB / 427.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5134, allocations: 0.8206 MB / 428.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00028/0.5137, allocations: 111.2 kB / 428.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.5138, allocations: 31.44 kB / 428.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5138, allocations: 0 / 428.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Templates: time 0.02606/0.5399, allocations: 18.87 MB / 447.2 MB, free: 14.4 MB / 366.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/jenkins/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/jenkins/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