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.002174/0.002174, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.904/1.904, 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.001806/0.001806, allocations: 101 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4972/0.4972, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004548, allocations: 16 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.684/1.806, allocations: 0.5093 GB / 0.988 GB, free: 57.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.806, allocations: 96.88 kB / 0.9881 GB, free: 57.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.129/2.936, allocations: 235.1 MB / 1.218 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.986e-06/2.936, allocations: 0 / 1.218 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.479e-05/2.936, allocations: 12 kB / 1.218 GB, free: 24.31 MB / 0.4948 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.0042/2.94, allocations: 1.182 MB / 1.219 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/2.94, allocations: 12.03 kB / 1.219 GB, free: 23.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/2.941, allocations: 135 kB / 1.219 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/2.943, allocations: 0.5365 MB / 1.219 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/2.943, allocations: 104.4 kB / 1.22 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/2.944, allocations: 47.98 kB / 1.22 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/2.946, allocations: 0.8152 MB / 1.22 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/2.946, allocations: 3.906 kB / 1.22 GB, free: 21.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/2.946, allocations: 24 kB / 1.22 GB, free: 21.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.024e-05/2.946, allocations: 44.91 kB / 1.221 GB, free: 21.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/2.948, allocations: 0.6165 MB / 1.221 GB, free: 20.62 MB / 0.4948 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.006356/2.954, allocations: 3.938 MB / 1.225 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/2.955, allocations: 328.4 kB / 1.225 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/2.955, allocations: 28.91 kB / 1.225 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/2.955, allocations: 38.84 kB / 1.225 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/2.955, allocations: 0 / 1.225 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.009468/2.965, allocations: 1.651 MB / 1.227 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/2.965, allocations: 136.5 kB / 1.227 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/2.966, allocations: 0.5382 MB / 1.228 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/2.966, allocations: 37.7 kB / 1.228 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/2.966, allocations: 397.3 kB / 1.228 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/2.966, allocations: 138 kB / 1.228 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/2.966, allocations: 16 kB / 1.228 GB, free: 13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/2.966, allocations: 346.8 kB / 1.228 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/2.967, allocations: 197.9 kB / 1.229 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/2.968, allocations: 0.5008 MB / 1.229 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/2.968, allocations: 290.6 kB / 1.229 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/2.969, allocations: 0 / 1.229 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002152/2.971, allocations: 0.842 MB / 1.23 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/2.971, allocations: 12 kB / 1.23 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/2.971, allocations: 8 kB / 1.23 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/2.973, allocations: 313.9 kB / 1.231 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/2.974, allocations: 127.8 kB / 1.231 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/2.976, allocations: 0.9304 MB / 1.232 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/2.977, allocations: 47.97 kB / 1.232 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/2.977, allocations: 63.98 kB / 1.232 GB, free: 9.164 MB / 0.4948 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.0005256/2.977, allocations: 245.6 kB / 1.232 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/2.978, allocations: 75.16 kB / 1.232 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/2.98, allocations: 0.6742 MB / 1.233 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/2.98, allocations: 7.984 kB / 1.233 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/2.98, allocations: 4 kB / 1.233 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/2.98, allocations: 0 / 1.233 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/2.983, allocations: 1.269 MB / 1.234 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/2.983, allocations: 0 / 1.234 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/2.985, allocations: 219.8 kB / 1.234 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/2.986, allocations: 20.84 kB / 1.234 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/2.986, allocations: 23.98 kB / 1.234 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/2.988, allocations: 2.692 MB / 1.237 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.988, allocations: 3.938 kB / 1.237 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/2.99, allocations: 0.8259 MB / 1.238 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/2.99, allocations: 184.3 kB / 1.238 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/2.991, allocations: 15.98 kB / 1.238 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/2.991, allocations: 31.95 kB / 1.238 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/2.992, allocations: 39.91 kB / 1.238 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/2.992, allocations: 39.98 kB / 1.238 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000784/2.992, allocations: 427 kB / 1.238 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.7e-07/2.992, allocations: 4 kB / 1.238 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002/2.995, allocations: 387.8 kB / 1.239 GB, free: 1.543 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002494/2.997, allocations: 1.023 MB / 1.24 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3506/3.348, allocations: 0.5372 MB / 1.24 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/3.348, allocations: 4.656 kB / 1.24 GB, free: 82.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/3.349, allocations: 388.1 kB / 1.241 GB, free: 82.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/3.353, allocations: 327.4 kB / 1.241 GB, free: 82.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/3.356, allocations: 1.578 MB / 1.242 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/3.357, allocations: 0.9412 MB / 1.243 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000721/3.357, allocations: 112.8 kB / 1.243 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/3.357, allocations: 3.172 kB / 1.243 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.0434/3.401, allocations: 20.75 MB / 1.264 GB, free: 80.75 MB / 0.4948 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