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.001474/0.001473, allocations: 186.3 kB / 16.4 MB, free: 5.715 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.919/1.919, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001097/0.001096, allocations: 92.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3366, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.491, allocations: 438.9 MB / 0.7944 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.491, allocations: 94.69 kB / 0.7944 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7276/2.218, allocations: 154.1 MB / 0.9449 GB, free: 31.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.219, allocations: 0 / 0.9449 GB, free: 31.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/2.219, allocations: 11.98 kB / 0.9449 GB, free: 31.64 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.001185/2.22, allocations: 0.6167 MB / 0.9455 GB, free: 30.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/2.22, allocations: 8.031 kB / 0.9455 GB, free: 30.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/2.22, allocations: 51.61 kB / 0.9456 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/2.221, allocations: 278.9 kB / 0.9459 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/2.221, allocations: 24.56 kB / 0.9459 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/2.221, allocations: 24 kB / 0.9459 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/2.221, allocations: 311.6 kB / 0.9462 GB, free: 30.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/2.221, allocations: 11.88 kB / 0.9462 GB, free: 30.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/2.221, allocations: 12 kB / 0.9462 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/2.221, allocations: 8 kB / 0.9462 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/2.222, allocations: 205.6 kB / 0.9464 GB, free: 30 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.002015/2.224, allocations: 1.581 MB / 0.948 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/2.224, allocations: 167 kB / 0.9481 GB, free: 28.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/2.224, allocations: 4.188 kB / 0.9481 GB, free: 28.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/2.224, allocations: 34.75 kB / 0.9482 GB, free: 28.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.555e-06/2.224, allocations: 0 / 0.9482 GB, free: 28.04 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.008587/2.233, allocations: 1.617 MB / 0.9497 GB, free: 26.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/2.233, allocations: 63.39 kB / 0.9498 GB, free: 26.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/2.233, allocations: 232 kB / 0.95 GB, free: 26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/2.233, allocations: 29.7 kB / 0.9501 GB, free: 25.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/2.234, allocations: 230.6 kB / 0.9503 GB, free: 25.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/2.234, allocations: 102.6 kB / 0.9504 GB, free: 25.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/2.234, allocations: 8 kB / 0.9504 GB, free: 25.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/2.234, allocations: 330.8 kB / 0.9507 GB, free: 25.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/2.234, allocations: 83.97 kB / 0.9508 GB, free: 25.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/2.234, allocations: 187.7 kB / 0.951 GB, free: 24.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/2.235, allocations: 119.9 kB / 0.9511 GB, free: 24.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.235, allocations: 0 / 0.9511 GB, free: 24.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008583/2.236, allocations: 375.4 kB / 0.9514 GB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.236, allocations: 8.406 kB / 0.9514 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/2.236, allocations: 8 kB / 0.9514 GB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/2.236, allocations: 73.67 kB / 0.9515 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/2.236, allocations: 83.89 kB / 0.9516 GB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/2.238, allocations: 1.86 MB / 0.9534 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/2.238, allocations: 24.27 kB / 0.9534 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/2.238, allocations: 39.98 kB / 0.9535 GB, free: 22.23 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.0002234/2.239, allocations: 157.6 kB / 0.9536 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/2.239, allocations: 31.7 kB / 0.9537 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/2.24, allocations: 444.6 kB / 0.9541 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.24, allocations: 7.984 kB / 0.9541 GB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.24, allocations: 0 / 0.9541 GB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006193/2.241, allocations: 0.5591 MB / 0.9546 GB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/2.242, allocations: 0.7213 MB / 0.9553 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/2.242, allocations: 4 kB / 0.9553 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/2.243, allocations: 67.89 kB / 0.9554 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/2.243, allocations: 20.84 kB / 0.9554 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/2.243, allocations: 15.98 kB / 0.9554 GB, free: 20.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008006/2.244, allocations: 1.288 MB / 0.9567 GB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.244, allocations: 3.953 kB / 0.9567 GB, free: 18.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/2.244, allocations: 0.4902 MB / 0.9572 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/2.245, allocations: 104.8 kB / 0.9573 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/2.245, allocations: 8 kB / 0.9573 GB, free: 17.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/2.245, allocations: 20.05 kB / 0.9573 GB, free: 17.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/2.245, allocations: 23.97 kB / 0.9573 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/2.245, allocations: 31.98 kB / 0.9574 GB, free: 17.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002354/2.246, allocations: 186 kB / 0.9575 GB, free: 17.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.246, allocations: 0 / 0.9575 GB, free: 17.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009644/2.246, allocations: 183.9 kB / 0.9577 GB, free: 17.51 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.001381/2.248, allocations: 0.7734 MB / 0.9585 GB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009158/2.249, allocations: 375.4 kB / 0.9588 GB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.249, allocations: 3.938 kB / 0.9588 GB, free: 16.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/2.249, allocations: 238.5 kB / 0.9591 GB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/2.251, allocations: 174.7 kB / 0.9592 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/2.252, allocations: 0.8476 MB / 0.96 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/2.252, allocations: 0.7687 MB / 0.9608 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/2.253, allocations: 75.39 kB / 0.9609 GB, free: 14.18 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/2.253, allocations: 0 / 0.9609 GB, free: 14.18 MB / 426.7 MB Notification: Performance of Templates: time 0.01966/2.273, allocations: 11.51 MB / 0.9721 GB, free: 2.664 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