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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.002/0.002, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.493/2.493, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002823/0.002823, allocations: 59.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1566, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.07664/0.2333, allocations: 32.56 MB / 360 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03639/0.2698, allocations: 15.73 MB / 375.7 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.2705, allocations: 4 kB / 375.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.2721, allocations: 274.4 kB / 376 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.2735, allocations: 354 kB / 376.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3383/0.6119, allocations: 5.781 MB / 382.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.6148, allocations: 0.9794 MB / 383.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.6152, allocations: 109.1 kB / 383.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009446/0.6247, allocations: 2.185 MB / 385.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009136/0.6257, allocations: 298.5 kB / 385.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.6258, allocations: 35.5 kB / 385.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.6378, allocations: 3.517 MB / 389.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.6382, allocations: 104.4 kB / 389.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.6389, allocations: 218.4 kB / 389.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.6462, allocations: 2.358 MB / 391.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.6462, allocations: 0 / 391.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6463, allocations: 1.062 kB / 391.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.6463, allocations: 0 / 391.9 MB, free: 11.23 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.003318/0.6496, allocations: 0.8226 MB / 392.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.382e-05/0.6497, allocations: 8.625 kB / 392.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.6498, allocations: 70.62 kB / 392.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6508, allocations: 85.73 kB / 392.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.6514, allocations: 303 kB / 393.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6514, allocations: 26.41 kB / 393.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.6515, allocations: 29.28 kB / 393.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009178/0.6524, allocations: 446.9 kB / 393.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6524, allocations: 5.422 kB / 393.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.6525, allocations: 19.34 kB / 393.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.6525, allocations: 10.09 kB / 393.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.6532, allocations: 316.2 kB / 394 MB, free: 10.29 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.002857/0.656, allocations: 2.635 MB / 396.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.6567, allocations: 248.6 kB / 396.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.6569, allocations: 107.8 kB / 397 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03924/0.6961, allocations: 15.47 MB / 412.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.6963, allocations: 38.09 kB / 412.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 3.176e-06/0.6963, allocations: 0 / 412.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.007651/0.7039, allocations: 1.307 MB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.704, allocations: 54.28 kB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.7045, allocations: 271.4 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.7046, allocations: 30.92 kB / 414.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.7048, allocations: 203.4 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.7049, allocations: 106.1 kB / 414.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.7052, allocations: 73.08 kB / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.7054, allocations: 346.5 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.7057, allocations: 98.16 kB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.7061, allocations: 218.5 kB / 415.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.7068, allocations: 355.5 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.7068, allocations: 0 / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00127/0.7081, allocations: 451.2 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.7082, allocations: 6.375 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7082, allocations: 6.094 kB / 416 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.7137, allocations: 261.4 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.7143, allocations: 87.27 kB / 416.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.7171, allocations: 1.972 MB / 418.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.7176, allocations: 10.06 kB / 418.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.7177, allocations: 23.8 kB / 418.3 MB, free: 9.414 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.000416/0.7181, allocations: 172.6 kB / 418.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.7183, allocations: 31.28 kB / 418.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.7202, allocations: 0.9429 MB / 419.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.7203, allocations: 5.688 kB / 419.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7203, allocations: 4 kB / 419.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/0.7222, allocations: 1.112 MB / 420.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.7258, allocations: 1.601 MB / 422.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.7259, allocations: 1.312 kB / 422.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.7263, allocations: 45.28 kB / 422.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/0.7292, allocations: 303.2 kB / 422.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.7292, allocations: 11.06 kB / 422.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008832/0.7301, allocations: 0.6643 MB / 423.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7301, allocations: 0 / 423.2 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.7322, allocations: 0.9507 MB / 424.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.7325, allocations: 113.8 kB / 424.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7326, allocations: 10.38 kB / 424.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.733, allocations: 7.188 kB / 424.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.7331, allocations: 23.22 kB / 424.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.7331, allocations: 9.25 kB / 424.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004503/0.7336, allocations: 241.3 kB / 424.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7336, allocations: 0 / 424.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003469/0.7371, allocations: 0.4931 MB / 425 MB, free: 4.445 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.007333/0.7444, allocations: 1.915 MB / 426.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.7463, allocations: 0.532 MB / 427.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.7464, allocations: 6.078 kB / 427.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.7472, allocations: 306.9 kB / 427.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.7492, allocations: 195.3 kB / 428 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.7603, allocations: 3.986 MB / 432 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.7613, allocations: 0.8221 MB / 432.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000798/0.7621, allocations: 107.2 kB / 432.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.7625, allocations: 147.4 kB / 433 MB, free: 12.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.073e-06/0.7626, allocations: 3.938 kB / 433 MB, free: 12.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08856/0.8511, allocations: 23.17 MB / 456.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.93/19.78, allocations: 20.19 kB / 456.2 MB, free: 5.207 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > 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.csv","/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