Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001081, allocations: 108.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.001124/0.001124, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.294/1.294, 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.00135/0.00135, allocations: 51.94 kB / 329.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08907, allocations: 46.63 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.188/0.2771, allocations: 32.56 MB / 408.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.2945, allocations: 15.73 MB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2948, allocations: 9.156 kB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.2956, allocations: 270.6 kB / 424.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.2962, allocations: 357.7 kB / 424.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01667/0.3129, allocations: 5.782 MB / 430.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.3142, allocations: 1.003 MB / 431.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3144, allocations: 115.9 kB / 431.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.3196, allocations: 2.204 MB / 433.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.32, allocations: 306.8 kB / 434.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.3201, allocations: 40 kB / 434.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.3311, allocations: 6.076 MB / 440.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3313, allocations: 115.6 kB / 440.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.3316, allocations: 227.2 kB / 440.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.3374, allocations: 3.785 MB / 444.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3374, allocations: 0 / 444.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3375, allocations: 0 / 444.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3375, allocations: 0 / 444.4 MB, free: 10.94 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.001641/0.3391, allocations: 0.9949 MB / 445.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3392, allocations: 12.03 kB / 445.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.3404, allocations: 152.3 kB / 445.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.3408, allocations: 323.7 kB / 445.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3409, allocations: 28.97 kB / 445.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3409, allocations: 32.56 kB / 446 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3421, allocations: 0.5175 MB / 446.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3421, allocations: 0 / 446.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.3422, allocations: 16 kB / 446.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3422, allocations: 8 kB / 446.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.3428, allocations: 329.9 kB / 446.8 MB, free: 8.426 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.002657/0.3455, allocations: 2.549 MB / 449.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.3461, allocations: 274.7 kB / 449.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3462, allocations: 113.3 kB / 449.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06243/0.4087, allocations: 31.03 MB / 480.8 MB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.4087, allocations: 42.56 kB / 480.8 MB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.554e-06/0.4088, allocations: 0 / 480.8 MB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.00329/0.4121, allocations: 1.199 MB / 482 MB, free: 1.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4121, allocations: 55.41 kB / 482.1 MB, free: 1.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.4124, allocations: 250.6 kB / 482.3 MB, free: 1.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.4124, allocations: 37.64 kB / 482.4 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4125, allocations: 192.1 kB / 482.6 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.4126, allocations: 110.4 kB / 482.7 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4127, allocations: 78.05 kB / 482.7 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4128, allocations: 334.8 kB / 483.1 MB, free: 248 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.413, allocations: 92.84 kB / 483.2 MB, free: 156 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4132, allocations: 214.9 kB / 483.4 MB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.4136, allocations: 338.3 kB / 483.7 MB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4137, allocations: 7.875 kB / 483.7 MB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006778/0.4143, allocations: 414.7 kB / 484.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4144, allocations: 8 kB / 484.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4144, allocations: 4 kB / 484.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.4147, allocations: 62.19 kB / 484.2 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.415, allocations: 95.77 kB / 484.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.4166, allocations: 2.521 MB / 486.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.4168, allocations: 16.16 kB / 486.8 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.4168, allocations: 23.98 kB / 486.8 MB, free: 12.16 MB / 414.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.417, allocations: 161.7 kB / 487 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.4171, allocations: 35.61 kB / 487 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009842/0.4181, allocations: 0.8655 MB / 487.9 MB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008717/0.4189, allocations: 1.036 MB / 488.9 MB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.419, allocations: 4 kB / 488.9 MB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.419, allocations: 112.5 kB / 489 MB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.4191, allocations: 11.94 kB / 489.1 MB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4194, allocations: 27.91 kB / 489.1 MB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.4195, allocations: 19.97 kB / 489.1 MB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008509/0.4203, allocations: 0.5743 MB / 489.7 MB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008688/0.4212, allocations: 0.8404 MB / 490.5 MB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002298/0.4214, allocations: 213.6 kB / 490.7 MB, free: 8.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.4217, allocations: 235.1 kB / 491 MB, free: 7.879 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.4217, allocations: 0 / 491 MB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004925/0.4266, allocations: 1.437 MB / 492.4 MB, free: 6.422 MB / 414.1 MB Notification: Performance of SimCode: time 0.001635/0.4283, allocations: 1.325 MB / 493.7 MB, free: 5.059 MB / 414.1 MB Notification: Performance of Templates: time 0.04554/0.4738, allocations: 37.43 MB / 0.5187 GB, free: 15.57 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches