Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 104.5 kB / 16.27 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 189.1 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2325/0.2325, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 69.38 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4621/0.5811, allocations: 180.6 MB / 0.6065 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.588, allocations: 5.744 MB / 0.6121 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.5887, allocations: 18.31 kB / 0.6122 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.5896, allocations: 315.2 kB / 0.6125 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.5933, allocations: 1.574 MB / 0.614 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.5963, allocations: 1.245 MB / 0.6152 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.5984, allocations: 1.847 MB / 0.617 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.599, allocations: 466.1 kB / 0.6175 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.6017, allocations: 1.218 MB / 0.6187 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.603, allocations: 0.751 MB / 0.6194 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.6031, allocations: 60.38 kB / 0.6194 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.6051, allocations: 0.7419 MB / 0.6202 GB, free: 236 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6054, allocations: 262.1 kB / 0.6204 GB, free: 56 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.6059, allocations: 394.8 kB / 0.6208 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.6079, allocations: 1.414 MB / 0.6222 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6079, allocations: 3.938 kB / 0.6222 GB, free: 14.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6079, allocations: 0 / 0.6222 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.6079, allocations: 4 kB / 0.6222 GB, free: 14.81 MB / 446.1 MB 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.002602/0.6105, allocations: 1.133 MB / 0.6233 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6106, allocations: 12.03 kB / 0.6233 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.6115, allocations: 135 kB / 0.6234 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.6124, allocations: 0.5041 MB / 0.6239 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.6125, allocations: 104.4 kB / 0.624 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.6127, allocations: 49.38 kB / 0.6241 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.6139, allocations: 0.8213 MB / 0.6249 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6139, allocations: 7.938 kB / 0.6249 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.614, allocations: 27.98 kB / 0.6249 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.6141, allocations: 32.98 kB / 0.6249 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6151, allocations: 0.6204 MB / 0.6255 GB, free: 11.19 MB / 446.1 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.004675/0.6198, allocations: 3.988 MB / 0.6294 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.6204, allocations: 353.9 kB / 0.6298 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.6207, allocations: 174.5 kB / 0.6299 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/0.6211, allocations: 361.4 kB / 0.6303 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.6211, allocations: 38.84 kB / 0.6303 GB, free: 5.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.6212, allocations: 0 / 0.6303 GB, free: 5.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005824/0.627, allocations: 1.675 MB / 0.632 GB, free: 4.223 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.6271, allocations: 132.5 kB / 0.6321 GB, free: 4.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/0.6278, allocations: 0.6133 MB / 0.6327 GB, free: 3.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.6278, allocations: 33.7 kB / 0.6327 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6281, allocations: 370.9 kB / 0.6331 GB, free: 3.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.6282, allocations: 145.9 kB / 0.6332 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.6284, allocations: 154.5 kB / 0.6334 GB, free: 2.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.6286, allocations: 374.8 kB / 0.6337 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.629, allocations: 209.8 kB / 0.6339 GB, free: 2.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.6295, allocations: 0.5086 MB / 0.6344 GB, free: 1.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.6305, allocations: 0.7487 MB / 0.6351 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.6305, allocations: 4 kB / 0.6351 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001412/0.6319, allocations: 0.8796 MB / 0.636 GB, free: 15.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6319, allocations: 11.94 kB / 0.636 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6319, allocations: 8 kB / 0.636 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6334, allocations: 324.4 kB / 0.6363 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.6338, allocations: 119.8 kB / 0.6364 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.635, allocations: 0.9347 MB / 0.6374 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.6355, allocations: 27.94 kB / 0.6374 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.6356, allocations: 71.98 kB / 0.6375 GB, free: 14.2 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.636, allocations: 241.5 kB / 0.6377 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.6362, allocations: 67.25 kB / 0.6378 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.6378, allocations: 0.6848 MB / 0.6384 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6378, allocations: 4 kB / 0.6384 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6378, allocations: 0 / 0.6384 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6378, allocations: 0 / 0.6384 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.6402, allocations: 1.611 MB / 0.64 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6402, allocations: 4 kB / 0.64 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6413, allocations: 207.8 kB / 0.6402 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.6414, allocations: 28.97 kB / 0.6402 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.6415, allocations: 15.98 kB / 0.6402 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.6437, allocations: 2.885 MB / 0.6431 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6438, allocations: 0 / 0.6431 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.645, allocations: 0.807 MB / 0.6438 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.6453, allocations: 192.2 kB / 0.644 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6455, allocations: 15.98 kB / 0.644 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.6459, allocations: 12 kB / 0.6441 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.646, allocations: 43.95 kB / 0.6441 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.6461, allocations: 39.98 kB / 0.6441 GB, free: 6.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005506/0.6466, allocations: 443 kB / 0.6446 GB, free: 6.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6466, allocations: 0 / 0.6446 GB, free: 6.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001075/0.6477, allocations: 292 kB / 0.6448 GB, free: 6.141 MB / 462.1 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.649, allocations: 380.5 kB / 0.6452 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.6506, allocations: 0.5985 MB / 0.6458 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6507, allocations: 0 / 0.6458 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6518, allocations: 418.8 kB / 0.6462 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.6536, allocations: 376.4 kB / 0.6465 GB, free: 4.391 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.656, allocations: 1.317 MB / 0.6478 GB, free: 3.031 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.6565, allocations: 0.93 MB / 0.6487 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001085/0.6576, allocations: 266 kB / 0.649 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.6579, allocations: 103.4 kB / 0.6491 GB, free: 1.711 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.658, allocations: 0 / 0.6491 GB, free: 1.711 MB / 462.1 MB Notification: Performance of Templates: time 0.03228/0.6902, allocations: 18.35 MB / 0.667 GB, free: 15.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches