Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 244.1 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008022/0.0008024, allocations: 98.27 kB / 296.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3401/0.3401, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8589/1.175, allocations: 0.512 GB / 1.028 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.175, allocations: 95.94 kB / 1.029 GB, free: 93.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6127/1.788, allocations: 219.2 MB / 1.243 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/1.788, allocations: 0 / 1.243 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.483e-05/1.788, allocations: 24.11 kB / 1.243 GB, free: 98.2 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00209/1.79, allocations: 1.104 MB / 1.244 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.79, allocations: 12.03 kB / 1.244 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007564/1.791, allocations: 143.9 kB / 1.244 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/1.792, allocations: 0.5531 MB / 1.244 GB, free: 96.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/1.792, allocations: 101.7 kB / 1.244 GB, free: 96.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/1.792, allocations: 59.83 kB / 1.245 GB, free: 96.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009727/1.793, allocations: 0.8201 MB / 1.245 GB, free: 95.24 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.793, allocations: 3.938 kB / 1.245 GB, free: 95.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/1.793, allocations: 27.98 kB / 1.245 GB, free: 95.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/1.793, allocations: 40.92 kB / 1.245 GB, free: 95.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/1.794, allocations: 0.6166 MB / 1.246 GB, free: 94.55 MB / 0.5417 GB 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.003165/1.797, allocations: 3.972 MB / 1.25 GB, free: 90.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/1.797, allocations: 320.9 kB / 1.25 GB, free: 90 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/1.798, allocations: 177.2 kB / 1.25 GB, free: 89.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/1.798, allocations: 89.38 kB / 1.25 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/1.798, allocations: 42.84 kB / 1.25 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/1.798, allocations: 0 / 1.25 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.004495/1.802, allocations: 1.662 MB / 1.252 GB, free: 87.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.802, allocations: 132.5 kB / 1.252 GB, free: 87.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/1.803, allocations: 0.6132 MB / 1.253 GB, free: 87.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/1.803, allocations: 33.7 kB / 1.253 GB, free: 87.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.803, allocations: 366.9 kB / 1.253 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/1.803, allocations: 142 kB / 1.253 GB, free: 86.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/1.803, allocations: 16 kB / 1.253 GB, free: 86.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/1.803, allocations: 374.7 kB / 1.254 GB, free: 86.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/1.803, allocations: 201.9 kB / 1.254 GB, free: 86.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/1.804, allocations: 0.5086 MB / 1.254 GB, free: 85.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/1.805, allocations: 0.7407 MB / 1.255 GB, free: 84.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.805, allocations: 4 kB / 1.255 GB, free: 84.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00112/1.806, allocations: 0.8712 MB / 1.256 GB, free: 83.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.806, allocations: 13 kB / 1.256 GB, free: 83.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.806, allocations: 8 kB / 1.256 GB, free: 83.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.807, allocations: 321.8 kB / 1.256 GB, free: 83.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/1.807, allocations: 123.8 kB / 1.256 GB, free: 83.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000811/1.808, allocations: 0.9241 MB / 1.257 GB, free: 82.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/1.809, allocations: 51.94 kB / 1.257 GB, free: 82.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/1.809, allocations: 67.94 kB / 1.257 GB, free: 82.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.809, allocations: 245.5 kB / 1.258 GB, free: 81.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/1.809, allocations: 67.25 kB / 1.258 GB, free: 81.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/1.811, allocations: 0.8628 MB / 1.259 GB, free: 80.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.811, allocations: 8 kB / 1.259 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.811, allocations: 3.938 kB / 1.259 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.811, allocations: 3.984 kB / 1.259 GB, free: 80.85 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/1.812, allocations: 1.441 MB / 1.26 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.812, allocations: 0 / 1.26 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/1.813, allocations: 211.8 kB / 1.26 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/1.813, allocations: 16.84 kB / 1.26 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/1.813, allocations: 20.19 kB / 1.26 GB, free: 79.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/1.814, allocations: 2.688 MB / 1.263 GB, free: 76.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.814, allocations: 4.031 kB / 1.263 GB, free: 76.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/1.815, allocations: 0.8095 MB / 1.264 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/1.816, allocations: 200.3 kB / 1.264 GB, free: 75.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.24e-05/1.816, allocations: 8 kB / 1.264 GB, free: 75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.816, allocations: 31.97 kB / 1.264 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.816, allocations: 43.83 kB / 1.264 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/1.816, allocations: 47.92 kB / 1.264 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003916/1.817, allocations: 431 kB / 1.264 GB, free: 74.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.817, allocations: 0 / 1.264 GB, free: 74.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009906/1.818, allocations: 339.8 kB / 1.265 GB, free: 74.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.00123/1.819, allocations: 0.9232 MB / 1.266 GB, free: 73.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00094/1.82, allocations: 0.5379 MB / 1.266 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.82, allocations: 3.938 kB / 1.266 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/1.821, allocations: 404 kB / 1.267 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.822, allocations: 339.7 kB / 1.267 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/1.824, allocations: 1.614 MB / 1.268 GB, free: 70.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.824, allocations: 0.9222 MB / 1.269 GB, free: 69.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.824, allocations: 127.4 kB / 1.269 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/1.824, allocations: 0 / 1.269 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of Templates: time 0.01771/1.842, allocations: 20.02 MB / 1.289 GB, free: 49.22 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches