Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 80.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.552e-05, allocations: 8.203 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4449, allocations: 58.84 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.818, allocations: 0.5086 GB / 0.9745 GB, free: 40.15 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.819, allocations: 94.38 kB / 0.9746 GB, free: 40.1 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.188/3.007, allocations: 231.9 MB / 1.201 GB, free: 17.4 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.523e-06/3.007, allocations: 4 kB / 1.201 GB, free: 17.39 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.71e-05/3.007, allocations: 16 kB / 1.201 GB, free: 17.38 MB / 0.4952 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.003252/3.01, allocations: 1.101 MB / 1.202 GB, free: 16.23 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/3.01, allocations: 8.031 kB / 1.202 GB, free: 16.23 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/3.011, allocations: 139 kB / 1.202 GB, free: 16.09 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/3.013, allocations: 0.5351 MB / 1.203 GB, free: 15.51 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/3.013, allocations: 84.7 kB / 1.203 GB, free: 15.42 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/3.013, allocations: 28 kB / 1.203 GB, free: 15.39 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/3.014, allocations: 0.5258 MB / 1.203 GB, free: 14.86 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/3.016, allocations: 0.7369 MB / 1.204 GB, free: 14.05 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/3.016, allocations: 0 / 1.204 GB, free: 14.05 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/3.016, allocations: 8 kB / 1.204 GB, free: 14.04 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.211e-05/3.016, allocations: 33.3 kB / 1.204 GB, free: 14 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.006041/3.022, allocations: 3.893 MB / 1.208 GB, free: 9.863 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/3.023, allocations: 251.2 kB / 1.208 GB, free: 9.609 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/3.023, allocations: 129.3 kB / 1.208 GB, free: 9.48 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/3.023, allocations: 36.98 kB / 1.208 GB, free: 9.445 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/3.023, allocations: 42.73 kB / 1.208 GB, free: 9.395 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/3.023, allocations: 0 / 1.208 GB, free: 9.395 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008512/3.032, allocations: 1.442 MB / 1.21 GB, free: 7.875 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/3.032, allocations: 140.4 kB / 1.21 GB, free: 7.707 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/3.032, allocations: 458 kB / 1.21 GB, free: 7.254 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/3.033, allocations: 33.7 kB / 1.21 GB, free: 7.215 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/3.033, allocations: 437.3 kB / 1.211 GB, free: 6.785 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/3.033, allocations: 118.3 kB / 1.211 GB, free: 6.668 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/3.033, allocations: 0 / 1.211 GB, free: 6.668 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/3.033, allocations: 334.8 kB / 1.211 GB, free: 6.332 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/3.033, allocations: 185.4 kB / 1.211 GB, free: 6.148 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/3.034, allocations: 497.1 kB / 1.212 GB, free: 5.52 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/3.035, allocations: 323.4 kB / 1.212 GB, free: 5.203 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/3.035, allocations: 4 kB / 1.212 GB, free: 5.199 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002013/3.037, allocations: 0.783 MB / 1.213 GB, free: 4.406 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/3.037, allocations: 11.98 kB / 1.213 GB, free: 4.395 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/3.037, allocations: 8 kB / 1.213 GB, free: 4.387 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/3.039, allocations: 280.9 kB / 1.213 GB, free: 4.109 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/3.04, allocations: 123.8 kB / 1.213 GB, free: 3.988 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/3.041, allocations: 0.9502 MB / 1.214 GB, free: 3.016 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/3.042, allocations: 23.98 kB / 1.214 GB, free: 2.992 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/3.042, allocations: 71.98 kB / 1.214 GB, free: 2.922 MB / 0.4952 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 () * 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.0002193/3.043, allocations: 140.7 kB / 1.215 GB, free: 2.777 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/3.043, allocations: 59.25 kB / 1.215 GB, free: 2.719 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/3.044, allocations: 0.508 MB / 1.215 GB, free: 2.191 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/3.045, allocations: 4 kB / 1.215 GB, free: 2.188 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/3.045, allocations: 0 / 1.215 GB, free: 2.188 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/3.045, allocations: 0 / 1.215 GB, free: 2.188 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/3.047, allocations: 0.9922 MB / 1.216 GB, free: 1.145 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/3.047, allocations: 0 / 1.216 GB, free: 1.145 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/3.049, allocations: 191.8 kB / 1.216 GB, free: 0.957 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/3.049, allocations: 28.81 kB / 1.216 GB, free: 0.9258 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/3.049, allocations: 19.94 kB / 1.216 GB, free: 0.9062 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3468/3.396, allocations: 2.576 MB / 1.219 GB, free: 93.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/3.396, allocations: 0 / 1.219 GB, free: 93.44 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/3.398, allocations: 0.68 MB / 1.219 GB, free: 93.28 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/3.398, allocations: 177.5 kB / 1.22 GB, free: 93.19 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/3.398, allocations: 5.422 kB / 1.22 GB, free: 93.19 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/3.399, allocations: 20.03 kB / 1.22 GB, free: 93.19 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/3.399, allocations: 33.48 kB / 1.22 GB, free: 93.19 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/3.399, allocations: 37.19 kB / 1.22 GB, free: 93.19 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0006487/3.4, allocations: 345.2 kB / 1.22 GB, free: 93.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 2.054e-06/3.4, allocations: 0 / 1.22 GB, free: 93.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002032/3.402, allocations: 341.9 kB / 1.22 GB, free: 93.1 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.003013/3.405, allocations: 1.159 MB / 1.222 GB, free: 92.94 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001636/3.407, allocations: 490.3 kB / 1.222 GB, free: 92.93 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/3.407, allocations: 0 / 1.222 GB, free: 92.93 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/3.408, allocations: 349.2 kB / 1.222 GB, free: 92.84 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/3.41, allocations: 256 kB / 1.223 GB, free: 92.83 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/3.413, allocations: 0.9077 MB / 1.223 GB, free: 92.55 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/3.413, allocations: 0.9363 MB / 1.224 GB, free: 91.85 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000702/3.414, allocations: 109 kB / 1.224 GB, free: 91.84 MB / 0.4952 GB Notification: Performance of SimCode: time 1.402e-06/3.414, allocations: 0 / 1.224 GB, free: 91.84 MB / 0.4952 GB Notification: Performance of Templates: time 0.048/3.462, allocations: 19.81 MB / 1.244 GB, free: 91.44 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches