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.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.545/1.545, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008161/0.0008161, allocations: 85.42 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6982/0.9176, allocations: 439 MB / 0.7956 GB, free: 9.602 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.9179, allocations: 98.89 kB / 0.7957 GB, free: 9.543 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4206/1.338, allocations: 153.2 MB / 0.9453 GB, free: 32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.093e-06/1.339, allocations: 192 / 0.9453 GB, free: 32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/1.339, allocations: 12 kB / 0.9453 GB, free: 31.99 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001001/1.34, allocations: 0.6208 MB / 0.9459 GB, free: 31.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.34, allocations: 11.97 kB / 0.9459 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/1.34, allocations: 48.55 kB / 0.946 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/1.34, allocations: 283.7 kB / 0.9463 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.34, allocations: 20.94 kB / 0.9463 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/1.34, allocations: 24.38 kB / 0.9463 GB, free: 30.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/1.341, allocations: 316.2 kB / 0.9466 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/1.341, allocations: 192 / 0.9466 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/1.341, allocations: 15.94 kB / 0.9466 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.341, allocations: 8 kB / 0.9466 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/1.341, allocations: 205.5 kB / 0.9468 GB, free: 30.34 MB / 426.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.001427/1.343, allocations: 1.593 MB / 0.9484 GB, free: 28.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/1.343, allocations: 162.5 kB / 0.9485 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/1.343, allocations: 97.14 kB / 0.9486 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/1.343, allocations: 4 kB / 0.9486 GB, free: 28.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/1.343, allocations: 38.56 kB / 0.9487 GB, free: 28.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/1.343, allocations: 0 / 0.9487 GB, free: 28.28 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004781/1.348, allocations: 1.628 MB / 0.9503 GB, free: 26.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/1.348, allocations: 63.39 kB / 0.9503 GB, free: 26.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/1.348, allocations: 252.9 kB / 0.9506 GB, free: 26.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/1.348, allocations: 29.7 kB / 0.9506 GB, free: 26.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/1.348, allocations: 176.2 kB / 0.9508 GB, free: 25.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/1.348, allocations: 90.66 kB / 0.9508 GB, free: 25.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/1.348, allocations: 4 kB / 0.9508 GB, free: 25.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/1.348, allocations: 334.8 kB / 0.9512 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.349, allocations: 87.95 kB / 0.9512 GB, free: 25.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/1.349, allocations: 191.7 kB / 0.9514 GB, free: 25.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/1.349, allocations: 304.3 kB / 0.9517 GB, free: 24.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.349, allocations: 3.938 kB / 0.9517 GB, free: 24.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005707/1.35, allocations: 390.8 kB / 0.9521 GB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.35, allocations: 4 kB / 0.9521 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.35, allocations: 7.938 kB / 0.9521 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/1.35, allocations: 73.67 kB / 0.9522 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.35, allocations: 83.89 kB / 0.9523 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/1.351, allocations: 1.864 MB / 0.9541 GB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.351, allocations: 15.94 kB / 0.9541 GB, free: 22.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.352, allocations: 43.98 kB / 0.9541 GB, free: 22.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.352, allocations: 145.8 kB / 0.9543 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/1.352, allocations: 27.66 kB / 0.9543 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/1.353, allocations: 452.7 kB / 0.9547 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.353, allocations: 4 kB / 0.9547 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.353, allocations: 4 kB / 0.9547 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003842/1.353, allocations: 0.5552 MB / 0.9553 GB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/1.354, allocations: 0.729 MB / 0.956 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.354, allocations: 4 kB / 0.956 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/1.354, allocations: 71.83 kB / 0.9561 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.795e-05/1.354, allocations: 24.91 kB / 0.9561 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/1.354, allocations: 15.98 kB / 0.9561 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/1.355, allocations: 1.284 MB / 0.9574 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.355, allocations: 0 / 0.9574 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/1.355, allocations: 482.5 kB / 0.9578 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/1.356, allocations: 105 kB / 0.9579 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/1.356, allocations: 12 kB / 0.9579 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/1.356, allocations: 15.98 kB / 0.9579 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.356, allocations: 23.91 kB / 0.958 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/1.356, allocations: 31.98 kB / 0.958 GB, free: 17.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001592/1.356, allocations: 186 kB / 0.9582 GB, free: 17.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.356, allocations: 0 / 0.9582 GB, free: 17.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007104/1.357, allocations: 187.9 kB / 0.9584 GB, free: 17.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/1.358, allocations: 0.7702 MB / 0.9591 GB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005844/1.358, allocations: 379.2 kB / 0.9595 GB, free: 16.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.358, allocations: 0 / 0.9595 GB, free: 16.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/1.359, allocations: 234.4 kB / 0.9597 GB, free: 16.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/1.36, allocations: 168.2 kB / 0.9599 GB, free: 16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/1.361, allocations: 0.8471 MB / 0.9607 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/1.361, allocations: 0.7648 MB / 0.9614 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/1.361, allocations: 79.39 kB / 0.9615 GB, free: 14.24 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.361, allocations: 0 / 0.9615 GB, free: 14.24 MB / 426.7 MB Notification: Performance of Templates: time 0.0129/1.374, allocations: 11.24 MB / 0.9725 GB, free: 2.996 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_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/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches