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.00123/0.00123, allocations: 95.95 kB / 16.93 MB, free: 5.984 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.001459/0.001459, allocations: 178.2 kB / 17.82 MB, free: 5.652 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.402/1.402, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004858/0.0004858, allocations: 15.28 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02822/0.1335, allocations: 27.27 MB / 355.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.149, allocations: 13.34 MB / 369 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.1495, allocations: 7.938 kB / 369 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.1503, allocations: 235 kB / 369.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.1509, allocations: 243.4 kB / 369.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.1646, allocations: 4.535 MB / 374 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.1657, allocations: 0.5544 MB / 374.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1659, allocations: 80.92 kB / 374.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/0.1718, allocations: 3.282 MB / 377.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1722, allocations: 195.2 kB / 378.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.1722, allocations: 20 kB / 378.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2008/0.373, allocations: 5.925 MB / 384 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3733, allocations: 83.33 kB / 384.1 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3735, allocations: 106.5 kB / 384.2 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006078/0.3796, allocations: 2.573 MB / 386.8 MB, free: 16.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3796, allocations: 1.688 kB / 386.8 MB, free: 16.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3796, allocations: 2.219 kB / 386.8 MB, free: 16.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3796, allocations: 0 / 386.8 MB, free: 16.58 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.00531/0.3849, allocations: 0.9486 MB / 387.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.385, allocations: 9.906 kB / 387.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.3865, allocations: 154.5 kB / 387.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.3869, allocations: 313.6 kB / 388.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.387, allocations: 30.69 kB / 388.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.387, allocations: 29.47 kB / 388.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3885, allocations: 0.5674 MB / 388.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3885, allocations: 5.031 kB / 388.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.3886, allocations: 15.23 kB / 388.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3886, allocations: 8.406 kB / 388.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.39, allocations: 0.5354 MB / 389.4 MB, free: 15.62 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.002603/0.3927, allocations: 2.617 MB / 392 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3942, allocations: 494.9 kB / 392.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.3949, allocations: 0.5659 MB / 393 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.395, allocations: 36.44 kB / 393.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.395, allocations: 4 kB / 393.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.00478/0.3998, allocations: 1.593 MB / 394.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.3998, allocations: 61.98 kB / 394.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.4001, allocations: 244.3 kB / 395 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.4002, allocations: 33.64 kB / 395 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.4003, allocations: 184.2 kB / 395.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.4004, allocations: 113 kB / 395.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.4004, allocations: 7.062 kB / 395.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.4005, allocations: 334.7 kB / 395.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.4009, allocations: 155.7 kB / 395.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.4013, allocations: 247.3 kB / 396 MB, free: 11.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.4018, allocations: 182.2 kB / 396.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4018, allocations: 1 kB / 396.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001298/0.4031, allocations: 0.5286 MB / 396.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4031, allocations: 10.94 kB / 396.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4031, allocations: 5.703 kB / 396.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005338/0.4037, allocations: 120.1 kB / 396.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.4041, allocations: 93.38 kB / 397 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.4057, allocations: 2.421 MB / 399.4 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4062, allocations: 54.86 kB / 399.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.4063, allocations: 17.7 kB / 399.5 MB, free: 9.387 MB / 318.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 (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 initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.4065, allocations: 167.2 kB / 399.6 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.4066, allocations: 35.12 kB / 399.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.4086, allocations: 1.361 MB / 401 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4086, allocations: 20.95 kB / 401 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4087, allocations: 4 kB / 401 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.41, allocations: 1.455 MB / 402.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.4126, allocations: 2.144 MB / 404.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.4126, allocations: 2.719 kB / 404.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.413, allocations: 107 kB / 404.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/0.4133, allocations: 78.53 kB / 404.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.4134, allocations: 12.78 kB / 404.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002531/0.4136, allocations: 0.591 MB / 405.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4137, allocations: 3.984 kB / 405.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4154, allocations: 1.305 MB / 406.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.4156, allocations: 171.2 kB / 406.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.4156, allocations: 18.39 kB / 406.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.416, allocations: 36.58 kB / 406.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.4161, allocations: 40.38 kB / 407 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4161, allocations: 12.38 kB / 407 MB, free: 7.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.4163, allocations: 232.3 kB / 407.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4163, allocations: 0 / 407.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.005362/0.4217, allocations: 0.8566 MB / 408.1 MB, free: 7.043 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007004/0.4287, allocations: 0.973 MB / 409.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.4303, allocations: 0.6684 MB / 409.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4303, allocations: 0 / 409.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.4309, allocations: 422.7 kB / 410.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.432, allocations: 182.2 kB / 410.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4339, allocations: 1.56 MB / 411.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4342, allocations: 0.8844 MB / 412.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003552/0.4345, allocations: 154.9 kB / 412.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.4346, allocations: 33.09 kB / 412.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4347, allocations: 0 / 412.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of Templates: time 0.04845/0.4831, allocations: 35.59 MB / 448.5 MB, free: 3.414 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../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