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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 106 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007698/0.0007698, allocations: 43.94 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1904, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02254/0.2129, allocations: 33.25 MB / 407.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.227, allocations: 16.68 MB / 423.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.2273, allocations: 4 kB / 423.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.228, allocations: 238.8 kB / 424 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005567/0.2286, allocations: 350.2 kB / 424.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.2414, allocations: 4.677 MB / 429 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2428, allocations: 1.446 MB / 430.5 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.243, allocations: 85.03 kB / 430.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.2475, allocations: 2.13 MB / 432.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.2479, allocations: 322.7 kB / 433 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.2479, allocations: 24 kB / 433 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009085/0.257, allocations: 5.998 MB / 439 MB, free: 140 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2571, allocations: 91.64 kB / 439.1 MB, free: 48 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.2574, allocations: 211.2 kB / 439.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.2626, allocations: 3.777 MB / 443.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2626, allocations: 0 / 443.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2626, allocations: 0 / 443.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2626, allocations: 0 / 443.1 MB, free: 12.05 MB / 330.7 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.001738/0.2643, allocations: 1.018 MB / 444.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2644, allocations: 8.031 kB / 444.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.2655, allocations: 144.4 kB / 444.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2659, allocations: 311.6 kB / 444.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.266, allocations: 33.03 kB / 444.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.266, allocations: 32.38 kB / 444.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.2673, allocations: 0.5502 MB / 445.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2673, allocations: 3.938 kB / 445.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.2674, allocations: 12 kB / 445.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2674, allocations: 8 kB / 445.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2687, allocations: 0.4977 MB / 445.7 MB, free: 9.316 MB / 330.7 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.002574/0.2713, allocations: 2.612 MB / 448.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.2726, allocations: 438.4 kB / 448.7 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.273, allocations: 172.7 kB / 448.9 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/0.2736, allocations: 0.5676 MB / 449.5 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2737, allocations: 35.06 kB / 449.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.362e-06/0.2737, allocations: 0 / 449.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.004202/0.2779, allocations: 1.509 MB / 451 MB, free: 3.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.2779, allocations: 51.41 kB / 451.1 MB, free: 3.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2781, allocations: 256.9 kB / 451.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.2782, allocations: 33.7 kB / 451.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.2783, allocations: 176.2 kB / 451.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.2784, allocations: 122.3 kB / 451.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2785, allocations: 74.12 kB / 451.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.2786, allocations: 338.8 kB / 452 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.2789, allocations: 144.7 kB / 452.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.2794, allocations: 239.4 kB / 452.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.2801, allocations: 390.8 kB / 452.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2801, allocations: 0 / 452.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001128/0.2813, allocations: 0.4994 MB / 453.3 MB, free: 1.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2813, allocations: 4 kB / 453.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2813, allocations: 7.938 kB / 453.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/0.2818, allocations: 110.8 kB / 453.4 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.2821, allocations: 87.89 kB / 453.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.2837, allocations: 2.408 MB / 455.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.2841, allocations: 44.09 kB / 456 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.2841, allocations: 20.05 kB / 456 MB, free: 14.25 MB / 346.7 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.0001605/0.2843, allocations: 161.8 kB / 456.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.2843, allocations: 35.56 kB / 456.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.286, allocations: 1.335 MB / 457.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.2861, allocations: 19.97 kB / 457.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2861, allocations: 0 / 457.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.2876, allocations: 1.425 MB / 459 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.2901, allocations: 2.1 MB / 461.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2901, allocations: 0 / 461.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2905, allocations: 95.91 kB / 461.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.2908, allocations: 68.73 kB / 461.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.2908, allocations: 8 kB / 461.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.2911, allocations: 0.5953 MB / 461.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2911, allocations: 3.938 kB / 461.8 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3036/0.5947, allocations: 63.83 MB / 0.5133 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.5948, allocations: 131.2 kB / 0.5135 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.5949, allocations: 15.56 kB / 0.5135 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.5952, allocations: 42.3 kB / 0.5135 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.5953, allocations: 33.25 kB / 0.5135 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.5953, allocations: 15.56 kB / 0.5136 GB, free: 88.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.5955, allocations: 232.4 kB / 0.5138 GB, free: 88.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5955, allocations: 0 / 0.5138 GB, free: 88.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006484/0.602, allocations: 3.179 MB / 0.5169 GB, free: 88.32 MB / 378.7 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.01346/0.6154, allocations: 2.252 MB / 0.5191 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.6166, allocations: 0.6375 MB / 0.5197 GB, free: 87.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6166, allocations: 3.938 kB / 0.5197 GB, free: 87.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.6171, allocations: 419.6 kB / 0.5201 GB, free: 87.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6181, allocations: 196.6 kB / 0.5203 GB, free: 87.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.6205, allocations: 2.346 MB / 0.5226 GB, free: 86.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.6207, allocations: 0.9092 MB / 0.5235 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.6211, allocations: 177.5 kB / 0.5236 GB, free: 85.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.6212, allocations: 41.81 kB / 0.5237 GB, free: 85.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6212, allocations: 0 / 0.5237 GB, free: 85.29 MB / 378.7 MB Notification: Performance of Templates: time 0.2639/0.8851, allocations: 144.5 MB / 0.6648 GB, free: 121 MB / 410.7 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@2/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