Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000917/0.000917, allocations: 175.5 kB / 16.72 MB, free: 5.078 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.284/1.284, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007598/0.0007597, allocations: 78.44 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 8 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2084, allocations: 47.58 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02122/0.2296, allocations: 30.22 MB / 405.4 MB, free: 18.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.2411, allocations: 14.64 MB / 420.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.2415, allocations: 4 kB / 420.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.2421, allocations: 214.8 kB / 420.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.2427, allocations: 338.2 kB / 420.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.2549, allocations: 4.449 MB / 425.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2563, allocations: 1.208 MB / 426.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2565, allocations: 86.03 kB / 426.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.262, allocations: 3.325 MB / 429.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.2624, allocations: 298.8 kB / 430 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.2625, allocations: 16 kB / 430 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.2725, allocations: 5.814 MB / 435.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.2728, allocations: 87.7 kB / 435.9 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.2732, allocations: 220.9 kB / 436.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00413/0.2773, allocations: 2.584 MB / 438.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2773, allocations: 0 / 438.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2773, allocations: 0 / 438.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2774, allocations: 0 / 438.7 MB, free: 1.094 MB / 314.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.002022/0.2794, allocations: 0.9476 MB / 439.6 MB, free: 100 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2794, allocations: 8.031 kB / 439.6 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.2795, allocations: 70.72 kB / 439.7 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2807, allocations: 164.5 kB / 439.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.281, allocations: 323.5 kB / 440.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.2811, allocations: 29.03 kB / 440.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.2811, allocations: 36.12 kB / 440.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2825, allocations: 0.5697 MB / 440.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2825, allocations: 3.938 kB / 440.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.2826, allocations: 12 kB / 440.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2826, allocations: 12 kB / 440.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.284, allocations: 0.5368 MB / 441.4 MB, free: 14.25 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.002797/0.2868, allocations: 2.608 MB / 444 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.2883, allocations: 484.7 kB / 444.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.2887, allocations: 180.7 kB / 444.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/0.2895, allocations: 0.5641 MB / 445.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2895, allocations: 38.56 kB / 445.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.287e-06/0.2895, allocations: 7.922 kB / 445.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.004563/0.2941, allocations: 1.601 MB / 446.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2941, allocations: 55.41 kB / 446.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.2944, allocations: 248.9 kB / 447.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2944, allocations: 33.7 kB / 447.2 MB, free: 7.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2945, allocations: 180.2 kB / 447.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.2946, allocations: 118.3 kB / 447.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.2946, allocations: 8 kB / 447.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2947, allocations: 338.8 kB / 447.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2951, allocations: 152.8 kB / 448 MB, free: 7.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2956, allocations: 251.4 kB / 448.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.2964, allocations: 406.8 kB / 448.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2964, allocations: 4 kB / 448.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001217/0.2976, allocations: 0.5229 MB / 449.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2976, allocations: 15.88 kB / 449.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2977, allocations: 0 / 449.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.2982, allocations: 126.7 kB / 449.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.2985, allocations: 91.88 kB / 449.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.3003, allocations: 2.42 MB / 451.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.3006, allocations: 55.95 kB / 451.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3007, allocations: 16 kB / 451.8 MB, free: 3.008 MB / 330.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 (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.0001845/0.3009, allocations: 165.7 kB / 452 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.3009, allocations: 31.66 kB / 452 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3028, allocations: 1.374 MB / 453.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.3028, allocations: 19.97 kB / 453.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3028, allocations: 0 / 453.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/0.3044, allocations: 1.452 MB / 454.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.307, allocations: 2.139 MB / 457 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.307, allocations: 0 / 457 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.3074, allocations: 107.9 kB / 457.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.3078, allocations: 80.77 kB / 457.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.3078, allocations: 8 kB / 457.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.3082, allocations: 0.599 MB / 457.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3082, allocations: 0 / 457.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.3099, allocations: 1.305 MB / 459.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3101, allocations: 164.2 kB / 459.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3101, allocations: 15.94 kB / 459.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.3105, allocations: 43.94 kB / 459.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.3106, allocations: 39.88 kB / 459.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.3106, allocations: 15.98 kB / 459.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.3108, allocations: 231 kB / 459.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3108, allocations: 7.938 kB / 459.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002282/0.3131, allocations: 0.8551 MB / 460.5 MB, free: 10.11 MB / 346.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 (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.00535/0.3185, allocations: 2.717 MB / 463.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.3198, allocations: 0.6791 MB / 463.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3199, allocations: 128 / 463.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.3205, allocations: 420.7 kB / 464.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3217, allocations: 196.8 kB / 464.5 MB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.3269, allocations: 3.196 MB / 467.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3273, allocations: 0.8688 MB / 468.5 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.3275, allocations: 195.4 kB / 468.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3275, allocations: 0 / 468.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.866/5.194, allocations: 25.38 MB / 494.1 MB, free: 8.262 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_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_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches