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.001061/0.001061, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001219/0.001219, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.465/1.465, allocations: 205.1 MB / 224.5 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.001969/0.001969, allocations: 51.92 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.12, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2349/0.355, allocations: 32.56 MB / 407.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.3763, allocations: 15.74 MB / 423.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006007/0.3771, allocations: 8.406 kB / 423.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3783, allocations: 271.1 kB / 423.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009626/0.3792, allocations: 358.4 kB / 424.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02063/0.3999, allocations: 5.785 MB / 429.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.4015, allocations: 0.9903 MB / 430.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.4018, allocations: 110.9 kB / 431 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.4068, allocations: 2.206 MB / 433.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.4073, allocations: 314.8 kB / 433.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.4073, allocations: 40 kB / 433.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.4194, allocations: 6.064 MB / 439.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.4197, allocations: 107.7 kB / 439.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.4202, allocations: 227.1 kB / 439.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.4308, allocations: 3.774 MB / 443.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4309, allocations: 0 / 443.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4309, allocations: 0 / 443.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4309, allocations: 0 / 443.7 MB, free: 11.02 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.003189/0.4341, allocations: 1.022 MB / 444.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4341, allocations: 11.89 kB / 444.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4355, allocations: 149.2 kB / 444.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.4361, allocations: 327.6 kB / 445.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.4362, allocations: 29.03 kB / 445.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.4363, allocations: 32.56 kB / 445.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.4378, allocations: 0.5462 MB / 445.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.4378, allocations: 7.984 kB / 445.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.4378, allocations: 16 kB / 445.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4379, allocations: 8 kB / 445.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4394, allocations: 0.5016 MB / 446.4 MB, free: 8.258 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.003226/0.4426, allocations: 2.618 MB / 449 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.4443, allocations: 434.4 kB / 449.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.4447, allocations: 173.4 kB / 449.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008329/0.4456, allocations: 0.556 MB / 450.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4456, allocations: 34.56 kB / 450.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.4456, allocations: 0 / 450.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00492/0.4506, allocations: 1.501 MB / 451.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4506, allocations: 55.34 kB / 451.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.4509, allocations: 248.9 kB / 452 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.451, allocations: 33.7 kB / 452 MB, free: 2.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4511, allocations: 184.2 kB / 452.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.4512, allocations: 122.2 kB / 452.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.4513, allocations: 78.06 kB / 452.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4515, allocations: 346.7 kB / 452.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.4519, allocations: 136.8 kB / 452.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.4523, allocations: 239.4 kB / 453.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.4532, allocations: 398.7 kB / 453.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4532, allocations: 0 / 453.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001234/0.4544, allocations: 0.5033 MB / 454 MB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4545, allocations: 7.938 kB / 454 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4545, allocations: 4 kB / 454 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.455, allocations: 106.8 kB / 454.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.4554, allocations: 91.88 kB / 454.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.4573, allocations: 2.503 MB / 456.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.4577, allocations: 28.02 kB / 456.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.4577, allocations: 19.98 kB / 456.7 MB, free: 13.11 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.0002079/0.4579, allocations: 161.9 kB / 456.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.458, allocations: 35.59 kB / 456.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.46, allocations: 1.313 MB / 458.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.4601, allocations: 15.98 kB / 458.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4601, allocations: 0 / 458.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.4619, allocations: 1.432 MB / 459.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.4647, allocations: 2.094 MB / 461.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.4647, allocations: 0 / 461.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.4652, allocations: 98.09 kB / 461.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.4655, allocations: 68.73 kB / 461.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.4656, allocations: 12 kB / 461.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004157/0.466, allocations: 0.5913 MB / 462.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.466, allocations: 4.031 kB / 462.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.4679, allocations: 1.28 MB / 463.8 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.468, allocations: 128.4 kB / 463.9 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.4681, allocations: 19.78 kB / 464 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.4684, allocations: 23.97 kB / 464 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.4685, allocations: 35.95 kB / 464 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4685, allocations: 12.06 kB / 464 MB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.4688, allocations: 239 kB / 464.3 MB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4688, allocations: 4 kB / 464.3 MB, free: 5.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002937/0.4717, allocations: 0.8551 MB / 465.1 MB, free: 4.441 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.003616/0.4754, allocations: 0.9772 MB / 466.1 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.4769, allocations: 0.6428 MB / 466.7 MB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4769, allocations: 4 kB / 466.7 MB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.4776, allocations: 408.7 kB / 467.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4788, allocations: 199.3 kB / 467.3 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4808, allocations: 1.258 MB / 468.6 MB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4813, allocations: 0.8727 MB / 469.5 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.4817, allocations: 147.7 kB / 469.6 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.4818, allocations: 39.38 kB / 469.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4818, allocations: 0 / 469.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of Templates: time 0.04866/0.5304, allocations: 35.85 MB / 0.4937 GB, free: 11.93 MB / 430.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/jenkins/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/jenkins/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