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.001456/0.001456, allocations: 121 kB / 17.09 MB, free: 6 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.001632/0.001632, allocations: 193.3 kB / 18.01 MB, free: 5.082 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.636/1.636, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2267/0.2267, allocations: 43.53 MB / 314.8 MB, free: 468 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.001392/0.001392, allocations: 60.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4838/0.6199, allocations: 180.6 MB / 0.6649 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008036/0.628, allocations: 5.745 MB / 0.6705 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/0.6289, allocations: 19.88 kB / 0.6705 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.6303, allocations: 314.1 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.6348, allocations: 1.575 MB / 0.6724 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.6382, allocations: 1.242 MB / 0.6736 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.6408, allocations: 1.853 MB / 0.6754 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009543/0.6418, allocations: 453.3 kB / 0.6758 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.645, allocations: 1.246 MB / 0.677 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.6467, allocations: 0.7511 MB / 0.6778 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.647, allocations: 60 kB / 0.6778 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.6492, allocations: 0.8282 MB / 0.6786 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.6497, allocations: 267.3 kB / 0.6789 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.6504, allocations: 394.2 kB / 0.6793 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.6533, allocations: 1.426 MB / 0.6807 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6533, allocations: 0 / 0.6807 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6533, allocations: 0 / 0.6807 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.964e-05/0.6534, allocations: 0 / 0.6807 GB, free: 5.746 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.003078/0.6564, allocations: 1.13 MB / 0.6818 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6565, allocations: 8.031 kB / 0.6818 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.6575, allocations: 135.1 kB / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6586, allocations: 0.543 MB / 0.6824 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.6587, allocations: 104.4 kB / 0.6825 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.6588, allocations: 51.92 kB / 0.6826 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.6603, allocations: 0.8097 MB / 0.6834 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6603, allocations: 4 kB / 0.6834 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.6604, allocations: 24 kB / 0.6834 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.6605, allocations: 40.92 kB / 0.6834 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6617, allocations: 0.6243 MB / 0.684 GB, free: 2.102 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.005184/0.6669, allocations: 3.965 MB / 0.6879 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.6675, allocations: 355.1 kB / 0.6882 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.6678, allocations: 177.2 kB / 0.6884 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/0.6683, allocations: 370 kB / 0.6888 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.6683, allocations: 42.83 kB / 0.6888 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.6684, allocations: 0 / 0.6888 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006137/0.6745, allocations: 1.664 MB / 0.6904 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.6746, allocations: 132.5 kB / 0.6906 GB, free: 11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.6755, allocations: 0.6094 MB / 0.6912 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.6756, allocations: 37.7 kB / 0.6912 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6759, allocations: 370.9 kB / 0.6915 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6761, allocations: 142 kB / 0.6917 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.6763, allocations: 154.5 kB / 0.6918 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.6765, allocations: 378.8 kB / 0.6922 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.6769, allocations: 209.8 kB / 0.6924 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.6775, allocations: 0.5086 MB / 0.6929 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6785, allocations: 0.7523 MB / 0.6936 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.6785, allocations: 4 kB / 0.6936 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001563/0.6801, allocations: 0.8725 MB / 0.6945 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6801, allocations: 12 kB / 0.6945 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6801, allocations: 8 kB / 0.6945 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.6816, allocations: 314.2 kB / 0.6948 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.682, allocations: 123.8 kB / 0.6949 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.6832, allocations: 0.9309 MB / 0.6958 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.6837, allocations: 23.98 kB / 0.6958 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.6839, allocations: 68 kB / 0.6959 GB, free: 5.156 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.0003968/0.6843, allocations: 245.5 kB / 0.6961 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6844, allocations: 67.25 kB / 0.6962 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.6859, allocations: 0.6895 MB / 0.6969 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6859, allocations: 4 kB / 0.6969 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.6859, allocations: 4 kB / 0.6969 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.6859, allocations: 3.984 kB / 0.6969 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.6883, allocations: 1.614 MB / 0.6985 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.6883, allocations: 4 kB / 0.6985 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.6894, allocations: 207.9 kB / 0.6987 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-05/0.6895, allocations: 20.84 kB / 0.6987 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.6896, allocations: 27.92 kB / 0.6987 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.6918, allocations: 2.873 MB / 0.7015 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6918, allocations: 4.031 kB / 0.7015 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6931, allocations: 0.809 MB / 0.7023 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.6935, allocations: 188.2 kB / 0.7025 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6936, allocations: 12 kB / 0.7025 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.6941, allocations: 15.98 kB / 0.7025 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.6942, allocations: 47.89 kB / 0.7026 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.6943, allocations: 39.98 kB / 0.7026 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000596/0.6949, allocations: 443 kB / 0.703 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6949, allocations: 0 / 0.703 GB, free: 13.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001041/0.6959, allocations: 296 kB / 0.7033 GB, free: 13.07 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.001031/0.697, allocations: 377.7 kB / 0.7037 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.6982, allocations: 0.5436 MB / 0.7042 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6982, allocations: 4 kB / 0.7042 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009853/0.6992, allocations: 410.1 kB / 0.7046 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.701, allocations: 358.2 kB / 0.7049 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.7034, allocations: 1.35 MB / 0.7063 GB, free: 9.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.704, allocations: 0.9221 MB / 0.7072 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.7045, allocations: 127.4 kB / 0.7073 GB, free: 8.922 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.7045, allocations: 0 / 0.7073 GB, free: 8.922 MB / 0.545 GB Notification: Performance of Templates: time 0.0255/0.73, allocations: 17.09 MB / 0.724 GB, free: 7.836 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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