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_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 102.1 kB / 18.4 MB, free: 4.66 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.0028/0.0028, allocations: 190.4 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.265/4.265, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.002213/0.002213, allocations: 55.88 kB / 329.3 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2734, allocations: 46.61 MB / 375.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.7273/1.001, allocations: 32.57 MB / 408.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04675/1.048, allocations: 15.74 MB / 424.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.049, allocations: 4.5 kB / 424.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002098/1.051, allocations: 270.6 kB / 424.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/1.054, allocations: 361.1 kB / 424.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05413/1.108, allocations: 5.788 MB / 430.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003479/1.112, allocations: 0.9906 MB / 431.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/1.112, allocations: 108.5 kB / 431.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009346/1.121, allocations: 2.203 MB / 433.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/1.123, allocations: 306.8 kB / 434.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/1.123, allocations: 40 kB / 434.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02552/1.148, allocations: 6.076 MB / 440.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004241/1.149, allocations: 107.7 kB / 440.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007252/1.15, allocations: 227.2 kB / 440.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/1.171, allocations: 3.774 MB / 444.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/1.171, allocations: 0 / 444.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.679e-06/1.171, allocations: 0 / 444.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/1.171, allocations: 0 / 444.4 MB, free: 11.18 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.004928/1.176, allocations: 1.018 MB / 445.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001029/1.176, allocations: 15.89 kB / 445.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.178, allocations: 144.3 kB / 445.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.179, allocations: 339.6 kB / 445.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/1.179, allocations: 29.03 kB / 445.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/1.18, allocations: 28.56 kB / 446 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/1.182, allocations: 0.5463 MB / 446.5 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/1.182, allocations: 0 / 446.5 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/1.182, allocations: 16 kB / 446.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/1.182, allocations: 12 kB / 446.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.185, allocations: 0.5055 MB / 447 MB, free: 8.418 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.005187/1.19, allocations: 2.604 MB / 449.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.192, allocations: 442.3 kB / 450.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/1.193, allocations: 165.6 kB / 450.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.194, allocations: 0.5602 MB / 450.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.195, allocations: 39.44 kB / 450.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 4.108e-06/1.195, allocations: 0 / 450.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.007237/1.202, allocations: 1.495 MB / 452.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.202, allocations: 63.33 kB / 452.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/1.202, allocations: 244.9 kB / 452.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/1.202, allocations: 33.7 kB / 452.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/1.203, allocations: 192.1 kB / 452.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/1.203, allocations: 118.3 kB / 453 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/1.203, allocations: 74.12 kB / 453 MB, free: 1.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002781/1.203, allocations: 338.8 kB / 453.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/1.204, allocations: 136.8 kB / 453.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/1.205, allocations: 243.3 kB / 453.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.206, allocations: 394.9 kB / 454.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.206, allocations: 4 kB / 454.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002209/1.209, allocations: 0.5033 MB / 454.6 MB, free: 236 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/1.209, allocations: 8 kB / 454.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.209, allocations: 4 kB / 454.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008119/1.209, allocations: 114.7 kB / 454.8 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/1.21, allocations: 91.75 kB / 454.8 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/1.214, allocations: 2.499 MB / 457.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/1.214, allocations: 27.97 kB / 457.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/1.214, allocations: 20 kB / 457.4 MB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004698/1.215, allocations: 165.9 kB / 457.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.215, allocations: 27.66 kB / 457.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007875/1.223, allocations: 1.317 MB / 458.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/1.223, allocations: 19.97 kB / 458.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.223, allocations: 0 / 458.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003127/1.226, allocations: 1.425 MB / 460.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005031/1.231, allocations: 2.101 MB / 462.4 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.231, allocations: 4 kB / 462.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/1.232, allocations: 91.86 kB / 462.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/1.232, allocations: 64.8 kB / 462.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/1.233, allocations: 15.98 kB / 462.6 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000791/1.233, allocations: 0.599 MB / 463.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.233, allocations: 7.922 kB / 463.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007408/1.241, allocations: 1.272 MB / 464.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/1.241, allocations: 128.4 kB / 464.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.241, allocations: 23.77 kB / 464.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/1.242, allocations: 24.67 kB / 464.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.242, allocations: 40.02 kB / 464.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/1.242, allocations: 11.98 kB / 464.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004491/1.242, allocations: 239 kB / 464.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.243, allocations: 0 / 464.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005358/1.248, allocations: 0.8551 MB / 465.8 MB, free: 4.598 MB / 382.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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009486/1.257, allocations: 0.9621 MB / 466.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006794/1.264, allocations: 0.6506 MB / 467.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.264, allocations: 0 / 467.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.266, allocations: 412.7 kB / 467.8 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.268, allocations: 195.5 kB / 468 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/1.272, allocations: 1.303 MB / 469.3 MB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.273, allocations: 0.8727 MB / 470.2 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.273, allocations: 35.44 kB / 470.2 MB, free: 108 kB / 382.1 MB Notification: Performance of SimCode: time 3.236e-06/1.273, allocations: 0 / 470.2 MB, free: 108 kB / 382.1 MB Notification: Performance of Templates: time 0.06945/1.343, allocations: 24.62 MB / 494.8 MB, free: 7.441 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches