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.001515/0.001515, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.991/1.991, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001104, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2727/0.2727, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.899e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/1.808, allocations: 0.5092 GB / 0.982 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.808, allocations: 97.03 kB / 0.9821 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.148/2.956, allocations: 234.5 MB / 1.211 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/2.956, allocations: 0 / 1.211 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.896e-05/2.956, allocations: 28.06 kB / 1.211 GB, free: 105.3 MB / 0.5105 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.003917/2.96, allocations: 1.084 MB / 1.212 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/2.96, allocations: 12.03 kB / 1.212 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/2.961, allocations: 135 kB / 1.212 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/2.963, allocations: 0.5431 MB / 1.213 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/2.964, allocations: 102.7 kB / 1.213 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/2.964, allocations: 49.8 kB / 1.213 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/2.966, allocations: 0.7984 MB / 1.214 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/2.966, allocations: 7.938 kB / 1.214 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/2.966, allocations: 28 kB / 1.214 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/2.966, allocations: 40.92 kB / 1.214 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/2.968, allocations: 0.6049 MB / 1.214 GB, free: 101.8 MB / 0.5105 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.006761/2.974, allocations: 3.943 MB / 1.218 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/2.975, allocations: 327.5 kB / 1.219 GB, free: 97.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/2.976, allocations: 157.4 kB / 1.219 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/2.976, allocations: 28.95 kB / 1.219 GB, free: 97.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/2.976, allocations: 38.84 kB / 1.219 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.296e-06/2.976, allocations: 4 kB / 1.219 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.008803/2.985, allocations: 1.513 MB / 1.22 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/2.985, allocations: 136.5 kB / 1.22 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/2.986, allocations: 0.5343 MB / 1.221 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/2.986, allocations: 37.69 kB / 1.221 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/2.986, allocations: 397.1 kB / 1.221 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/2.986, allocations: 145.8 kB / 1.222 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/2.986, allocations: 16 kB / 1.222 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/2.987, allocations: 334.8 kB / 1.222 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/2.987, allocations: 193.5 kB / 1.222 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/2.988, allocations: 0.4951 MB / 1.223 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/2.988, allocations: 291.5 kB / 1.223 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/2.988, allocations: 4 kB / 1.223 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002031/2.991, allocations: 0.8187 MB / 1.224 GB, free: 91.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/2.991, allocations: 8 kB / 1.224 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/2.991, allocations: 12.12 kB / 1.224 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/2.993, allocations: 308.6 kB / 1.224 GB, free: 91.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/2.994, allocations: 131.8 kB / 1.224 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/2.995, allocations: 0.9129 MB / 1.225 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/2.996, allocations: 48.03 kB / 1.225 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/2.997, allocations: 63.98 kB / 1.225 GB, free: 90.37 MB / 0.5105 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.0002569/2.997, allocations: 152.7 kB / 1.225 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/2.997, allocations: 67.25 kB / 1.225 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/2.999, allocations: 0.686 MB / 1.226 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/2.999, allocations: 4 kB / 1.226 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/2.999, allocations: 4 kB / 1.226 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/2.999, allocations: 3.984 kB / 1.226 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/3.002, allocations: 1.248 MB / 1.227 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/3.002, allocations: 0 / 1.227 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/3.004, allocations: 215.9 kB / 1.227 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/3.005, allocations: 16.84 kB / 1.227 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/3.005, allocations: 27.92 kB / 1.227 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/3.007, allocations: 2.676 MB / 1.23 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/3.007, allocations: 4 kB / 1.23 GB, free: 84.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/3.009, allocations: 0.8218 MB / 1.231 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/3.01, allocations: 188.2 kB / 1.231 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/3.01, allocations: 12 kB / 1.231 GB, free: 83.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/3.011, allocations: 24.05 kB / 1.231 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/3.011, allocations: 39.89 kB / 1.231 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/3.011, allocations: 43.98 kB / 1.231 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007691/3.012, allocations: 423.1 kB / 1.232 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.012, allocations: 0 / 1.232 GB, free: 83.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001847/3.014, allocations: 387.4 kB / 1.232 GB, free: 82.92 MB / 0.5105 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 () * 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.002308/3.016, allocations: 1.018 MB / 1.233 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001701/3.018, allocations: 0.5341 MB / 1.233 GB, free: 81.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/3.018, allocations: 5.562 kB / 1.233 GB, free: 81.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/3.02, allocations: 386.6 kB / 1.234 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/3.023, allocations: 327 kB / 1.234 GB, free: 80.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/3.025, allocations: 0.9836 MB / 1.235 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/3.026, allocations: 0.9453 MB / 1.236 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006976/3.026, allocations: 111.4 kB / 1.236 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/3.026, allocations: 0 / 1.236 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.03871/3.065, allocations: 20.71 MB / 1.256 GB, free: 57.95 MB / 0.5105 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