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_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001165/0.001165, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.321/1.321, 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.001236/0.001236, allocations: 51.92 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08623, allocations: 46.62 MB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03049/0.1168, allocations: 32.57 MB / 361.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.1337, allocations: 15.73 MB / 377 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.1341, allocations: 11.94 kB / 377 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.1349, allocations: 266.4 kB / 377.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006955/0.1356, allocations: 357.9 kB / 377.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1929/0.3285, allocations: 5.784 MB / 383.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.3299, allocations: 0.9706 MB / 384.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.3301, allocations: 109.6 kB / 384.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.3353, allocations: 2.182 MB / 386.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.3358, allocations: 296 kB / 387 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.3358, allocations: 40.44 kB / 387 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006066/0.3419, allocations: 3.606 MB / 390.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3421, allocations: 104.2 kB / 390.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.3424, allocations: 222.3 kB / 390.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.3457, allocations: 2.35 MB / 393.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3457, allocations: 4 kB / 393.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3457, allocations: 0 / 393.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3457, allocations: 2.844 kB / 393.3 MB, free: 12.18 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.001357/0.3471, allocations: 0.8228 MB / 394.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3472, allocations: 15.7 kB / 394.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.3479, allocations: 81.86 kB / 394.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3484, allocations: 316.4 kB / 394.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3484, allocations: 26.06 kB / 394.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.3484, allocations: 28.66 kB / 394.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.3492, allocations: 449.8 kB / 395 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3492, allocations: 4.781 kB / 395 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3493, allocations: 14.53 kB / 395 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3493, allocations: 8.562 kB / 395.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.3499, allocations: 316.5 kB / 395.4 MB, free: 11.27 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.002179/0.3521, allocations: 2.621 MB / 398 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.3526, allocations: 247.2 kB / 398.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3528, allocations: 112 kB / 398.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/0.3826, allocations: 15.55 MB / 413.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.3827, allocations: 39.78 kB / 413.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.775e-06/0.3827, allocations: 0 / 413.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004592/0.3873, allocations: 1.301 MB / 415.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3874, allocations: 53.81 kB / 415.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.3877, allocations: 270.8 kB / 415.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3877, allocations: 29.64 kB / 415.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3878, allocations: 197.9 kB / 415.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.3879, allocations: 107 kB / 415.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.388, allocations: 81.09 kB / 415.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3882, allocations: 339.3 kB / 416.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3883, allocations: 100.5 kB / 416.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3886, allocations: 221.1 kB / 416.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.389, allocations: 352.1 kB / 416.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3891, allocations: 0 / 416.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007064/0.3898, allocations: 448.7 kB / 417.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3898, allocations: 9.75 kB / 417.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3898, allocations: 2.875 kB / 417.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003293/0.3931, allocations: 263.4 kB / 417.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.3934, allocations: 83.91 kB / 417.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.395, allocations: 1.973 MB / 419.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3953, allocations: 18.23 kB / 419.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.3953, allocations: 15.5 kB / 419.7 MB, free: 9.793 MB / 334.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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.3956, allocations: 168.2 kB / 419.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.3956, allocations: 35.56 kB / 419.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.3968, allocations: 0.9434 MB / 420.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3968, allocations: 9.609 kB / 420.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3968, allocations: 0 / 420.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000926/0.3978, allocations: 1.108 MB / 422 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3995, allocations: 1.598 MB / 423.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3995, allocations: 4 kB / 423.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3997, allocations: 46.97 kB / 423.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.4014, allocations: 297 kB / 423.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4014, allocations: 3.188 kB / 423.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005233/0.402, allocations: 0.6696 MB / 424.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.402, allocations: 4.453 kB / 424.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.4031, allocations: 0.9472 MB / 425.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4033, allocations: 117.7 kB / 425.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.4033, allocations: 12 kB / 425.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4035, allocations: 8 kB / 425.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.4036, allocations: 16.09 kB / 425.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.4036, allocations: 17.94 kB / 425.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.4039, allocations: 239 kB / 425.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4039, allocations: 6.844 kB / 426 MB, free: 4.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002592/0.4065, allocations: 495.9 kB / 426.4 MB, free: 4.199 MB / 334.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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/0.4084, allocations: 0.5116 MB / 427 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.4094, allocations: 0.5309 MB / 427.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4094, allocations: 0 / 427.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.4098, allocations: 297.7 kB / 427.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4109, allocations: 193.3 kB / 428 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.4123, allocations: 1.005 MB / 429 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4127, allocations: 0.8206 MB / 429.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.413, allocations: 116.8 kB / 429.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.413, allocations: 31.44 kB / 429.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.413, allocations: 0 / 429.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of Templates: time 0.02747/0.4405, allocations: 18.78 MB / 448.7 MB, free: 14 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches