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.001421/0.001421, allocations: 105.9 kB / 16.41 MB, free: 6.461 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.001377/0.001377, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.681/1.681, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2177/0.2177, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 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.00298/0.00298, allocations: 61.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1597, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4906/0.6504, allocations: 180.6 MB / 0.6642 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00786/0.6583, allocations: 5.747 MB / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.659, allocations: 15.88 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.6601, allocations: 314 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.6641, allocations: 1.609 MB / 0.6717 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.6671, allocations: 1.235 MB / 0.6729 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.6692, allocations: 1.849 MB / 0.6747 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.6698, allocations: 457.1 kB / 0.6752 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.6723, allocations: 1.249 MB / 0.6764 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.6734, allocations: 0.7471 MB / 0.6771 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6736, allocations: 60 kB / 0.6772 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.6752, allocations: 0.8353 MB / 0.678 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.6755, allocations: 259.3 kB / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.676, allocations: 398.2 kB / 0.6786 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.678, allocations: 1.426 MB / 0.68 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.678, allocations: 3.938 kB / 0.68 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.678, allocations: 0 / 0.68 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.678, allocations: 0 / 0.68 GB, free: 5.676 MB / 0.5137 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.002433/0.6805, allocations: 1.134 MB / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6805, allocations: 8.031 kB / 0.6811 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/0.6814, allocations: 131.1 kB / 0.6813 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000916/0.6823, allocations: 0.5547 MB / 0.6818 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.6825, allocations: 100.4 kB / 0.6819 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.6826, allocations: 44 kB / 0.6819 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.6839, allocations: 0.8136 MB / 0.6827 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.6839, allocations: 3.938 kB / 0.6827 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/0.684, allocations: 24 kB / 0.6828 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.6841, allocations: 36.98 kB / 0.6828 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.6852, allocations: 0.6282 MB / 0.6834 GB, free: 2.027 MB / 0.5137 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.005032/0.6902, allocations: 3.965 MB / 0.6873 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.6908, allocations: 352.7 kB / 0.6876 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.6911, allocations: 177.3 kB / 0.6878 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/0.6915, allocations: 370 kB / 0.6882 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6916, allocations: 38.84 kB / 0.6882 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.6916, allocations: 0 / 0.6882 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006036/0.6976, allocations: 1.663 MB / 0.6898 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6978, allocations: 136.5 kB / 0.6899 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.6987, allocations: 0.6094 MB / 0.6905 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.6988, allocations: 37.7 kB / 0.6906 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.6992, allocations: 362.9 kB / 0.6909 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6993, allocations: 145.9 kB / 0.6911 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.6996, allocations: 158.5 kB / 0.6912 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002483/0.6999, allocations: 374.8 kB / 0.6916 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.7004, allocations: 205.9 kB / 0.6918 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.7012, allocations: 0.5125 MB / 0.6923 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.7025, allocations: 0.7523 MB / 0.693 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.7025, allocations: 4 kB / 0.693 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001692/0.7042, allocations: 0.8724 MB / 0.6939 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.7043, allocations: 8 kB / 0.6939 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.7043, allocations: 8 kB / 0.6939 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.7058, allocations: 316.9 kB / 0.6942 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.7063, allocations: 123.8 kB / 0.6943 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.7077, allocations: 0.9386 MB / 0.6952 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.7084, allocations: 28.62 kB / 0.6952 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.7086, allocations: 67.98 kB / 0.6953 GB, free: 5.078 MB / 0.5294 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 (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.0004346/0.709, allocations: 237.5 kB / 0.6955 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.7092, allocations: 67.25 kB / 0.6956 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.7106, allocations: 0.6925 MB / 0.6963 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7106, allocations: 7.984 kB / 0.6963 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7107, allocations: 3.938 kB / 0.6963 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.7107, allocations: 4 kB / 0.6963 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.7137, allocations: 1.61 MB / 0.6979 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7137, allocations: 7.938 kB / 0.6979 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.7147, allocations: 211.9 kB / 0.6981 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.7149, allocations: 20.84 kB / 0.6981 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.7149, allocations: 16 kB / 0.6981 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.7171, allocations: 2.873 MB / 0.7009 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7171, allocations: 7.969 kB / 0.7009 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.7184, allocations: 0.813 MB / 0.7017 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.7188, allocations: 192.2 kB / 0.7019 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.719, allocations: 8 kB / 0.7019 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.7195, allocations: 24.05 kB / 0.7019 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7196, allocations: 43.83 kB / 0.702 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.7197, allocations: 39.98 kB / 0.702 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006591/0.7203, allocations: 439 kB / 0.7024 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7203, allocations: 0 / 0.7024 GB, free: 13.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001154/0.7215, allocations: 296 kB / 0.7027 GB, free: 12.99 MB / 0.545 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 (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.001114/0.7226, allocations: 362.9 kB / 0.703 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.7239, allocations: 0.5469 MB / 0.7036 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.7239, allocations: 7.938 kB / 0.7036 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.725, allocations: 411.1 kB / 0.704 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.7268, allocations: 373.2 kB / 0.7043 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.7292, allocations: 1.306 MB / 0.7056 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.7298, allocations: 0.9261 MB / 0.7065 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000868/0.7307, allocations: 265.9 kB / 0.7068 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.731, allocations: 107.4 kB / 0.7069 GB, free: 8.637 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.731, allocations: 0 / 0.7069 GB, free: 8.637 MB / 0.545 GB Notification: Performance of Templates: time 0.03036/0.7613, allocations: 18.49 MB / 0.7249 GB, free: 6.168 MB / 0.5606 GB 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