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.001023/0.001023, allocations: 103.9 kB / 17.58 MB, free: 5.422 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.001101/0.001101, allocations: 192.2 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 1.274/1.274, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001283/0.001284, allocations: 60.12 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06783/0.06913, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03082/0.09998, allocations: 32.56 MB / 360 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.1155, allocations: 15.74 MB / 375.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.1158, allocations: 4 kB / 375.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.1165, allocations: 266.4 kB / 376 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.1171, allocations: 365.9 kB / 376.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1504/0.2675, allocations: 5.769 MB / 382.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2688, allocations: 0.9805 MB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.269, allocations: 105.4 kB / 383.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.2736, allocations: 2.186 MB / 385.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.274, allocations: 291.6 kB / 385.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.2741, allocations: 35.19 kB / 385.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005671/0.2798, allocations: 3.524 MB / 389.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.28, allocations: 99.05 kB / 389.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.2803, allocations: 223.1 kB / 389.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.2839, allocations: 2.357 MB / 391.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2839, allocations: 0 / 391.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2839, allocations: 0 / 391.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2839, allocations: 0 / 391.9 MB, free: 11.22 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.001505/0.2854, allocations: 0.8173 MB / 392.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2855, allocations: 9.219 kB / 392.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.2856, allocations: 72.11 kB / 392.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.2864, allocations: 84.92 kB / 392.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.2867, allocations: 307.4 kB / 393.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2867, allocations: 22.94 kB / 393.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.2868, allocations: 33.09 kB / 393.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.2875, allocations: 450.8 kB / 393.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2875, allocations: 1.594 kB / 393.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2875, allocations: 13.69 kB / 393.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2875, allocations: 8 kB / 393.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.2881, allocations: 317.6 kB / 394 MB, free: 10.28 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.00215/0.2902, allocations: 2.634 MB / 396.6 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.2907, allocations: 253.8 kB / 396.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2909, allocations: 106.4 kB / 397 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02949/0.3204, allocations: 15.48 MB / 412.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3205, allocations: 40.34 kB / 412.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 4.338e-06/0.3205, allocations: 7.984 kB / 412.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004106/0.3246, allocations: 1.296 MB / 413.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3246, allocations: 56.41 kB / 413.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3249, allocations: 266.1 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3249, allocations: 35.33 kB / 414.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3251, allocations: 201.4 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.3251, allocations: 102.4 kB / 414.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.3252, allocations: 82.31 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3254, allocations: 338.8 kB / 414.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3255, allocations: 99.77 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3258, allocations: 219.3 kB / 415.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.3261, allocations: 348.6 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3262, allocations: 2.5 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006605/0.3268, allocations: 454.6 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3269, allocations: 8.469 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3269, allocations: 4.672 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/0.3299, allocations: 265.1 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3302, allocations: 80.75 kB / 416.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.3318, allocations: 1.976 MB / 418.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.3321, allocations: 9.656 kB / 418.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3321, allocations: 20.97 kB / 418.3 MB, free: 9.426 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.0001927/0.3323, allocations: 167.4 kB / 418.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.3324, allocations: 30.88 kB / 418.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.3334, allocations: 0.9402 MB / 419.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3334, allocations: 19.55 kB / 419.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3335, allocations: 0.75 kB / 419.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009126/0.3344, allocations: 1.115 MB / 420.6 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.336, allocations: 1.591 MB / 422.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.336, allocations: 5.75 kB / 422.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3362, allocations: 49.73 kB / 422.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.3378, allocations: 297.3 kB / 422.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3378, allocations: 2.938 kB / 422.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/0.3384, allocations: 0.6729 MB / 423.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3384, allocations: 0 / 423.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3395, allocations: 0.9613 MB / 424.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3396, allocations: 108.6 kB / 424.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.3396, allocations: 11 kB / 424.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3398, allocations: 7.5 kB / 424.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3399, allocations: 15.97 kB / 424.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.3399, allocations: 13.98 kB / 424.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.3401, allocations: 238.2 kB / 424.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3401, allocations: 0 / 424.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001802/0.3419, allocations: 499.4 kB / 425 MB, free: 4.473 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.003303/0.3452, allocations: 1.917 MB / 426.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.3462, allocations: 0.536 MB / 427.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3462, allocations: 0.6562 kB / 427.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.3467, allocations: 303.3 kB / 427.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3477, allocations: 204.4 kB / 428 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.3528, allocations: 3.997 MB / 432 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3531, allocations: 0.814 MB / 432.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.3535, allocations: 110.4 kB / 432.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3536, allocations: 143.4 kB / 433 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3536, allocations: 3.938 kB / 433 MB, free: 12.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/0.4874, allocations: 23.17 MB / 456.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.23, allocations: 19.81 kB / 456.2 MB, free: 5.223 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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