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.00122/0.00122, allocations: 109 kB / 16.41 MB, free: 6.492 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.001239/0.001239, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.656/1.656, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2185/0.2185, allocations: 43.52 MB / 314.1 MB, free: 460 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.001459/0.001459, allocations: 68.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4826/0.6079, allocations: 180.6 MB / 0.6642 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0085/0.6165, allocations: 5.739 MB / 0.6698 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.6173, allocations: 23.88 kB / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.6184, allocations: 318 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.6227, allocations: 1.601 MB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.6263, allocations: 1.243 MB / 0.6729 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.6289, allocations: 1.845 MB / 0.6747 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006959/0.6296, allocations: 460.4 kB / 0.6752 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.6326, allocations: 1.253 MB / 0.6764 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.6341, allocations: 0.7471 MB / 0.6771 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.6344, allocations: 60 kB / 0.6772 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.6364, allocations: 0.8309 MB / 0.678 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.6368, allocations: 263.3 kB / 0.6783 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005053/0.6373, allocations: 394.2 kB / 0.6786 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.6394, allocations: 1.426 MB / 0.68 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6394, allocations: 0 / 0.68 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.108e-06/0.6394, allocations: 0 / 0.68 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.6395, allocations: 3.938 kB / 0.68 GB, free: 5.703 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.002319/0.6418, allocations: 1.134 MB / 0.6811 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6418, allocations: 8.031 kB / 0.6811 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.6427, allocations: 131.1 kB / 0.6813 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.6436, allocations: 0.5392 MB / 0.6818 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.6437, allocations: 104.4 kB / 0.6819 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.6438, allocations: 47.94 kB / 0.6819 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.6452, allocations: 0.8174 MB / 0.6827 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.6452, allocations: 4 kB / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/0.6453, allocations: 24 kB / 0.6828 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/0.6454, allocations: 40.97 kB / 0.6828 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.6464, allocations: 0.6204 MB / 0.6834 GB, free: 2.062 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.004568/0.651, allocations: 3.965 MB / 0.6873 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.6516, allocations: 355.1 kB / 0.6876 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.652, allocations: 178.8 kB / 0.6878 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.6525, allocations: 370 kB / 0.6881 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.6526, allocations: 42.78 kB / 0.6882 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.6526, allocations: 0 / 0.6882 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005993/0.6586, allocations: 1.667 MB / 0.6898 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.6588, allocations: 132.5 kB / 0.6899 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.6597, allocations: 0.6171 MB / 0.6905 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.6597, allocations: 37.7 kB / 0.6906 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.6601, allocations: 362.9 kB / 0.6909 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.6602, allocations: 145.9 kB / 0.6911 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.6605, allocations: 154.5 kB / 0.6912 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6607, allocations: 378.8 kB / 0.6916 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.661, allocations: 205.9 kB / 0.6918 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.6616, allocations: 0.5125 MB / 0.6923 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6627, allocations: 0.7562 MB / 0.693 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.6627, allocations: 4 kB / 0.693 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001681/0.6644, allocations: 0.8687 MB / 0.6939 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.6644, allocations: 12 kB / 0.6939 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.6644, allocations: 8 kB / 0.6939 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.666, allocations: 312.7 kB / 0.6942 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.6664, allocations: 123.8 kB / 0.6943 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.6676, allocations: 0.9348 MB / 0.6952 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.6681, allocations: 24 kB / 0.6952 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/0.6682, allocations: 67.98 kB / 0.6953 GB, free: 5.109 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.0004621/0.6687, allocations: 241.5 kB / 0.6955 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6689, allocations: 67.25 kB / 0.6956 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.6703, allocations: 0.6895 MB / 0.6963 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.6703, allocations: 4 kB / 0.6963 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6704, allocations: 0 / 0.6963 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.6704, allocations: 0 / 0.6963 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.6728, allocations: 1.618 MB / 0.6978 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6728, allocations: 0 / 0.6978 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/0.6738, allocations: 215.9 kB / 0.6981 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/0.6739, allocations: 16.84 kB / 0.6981 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.6739, allocations: 23.98 kB / 0.6981 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.6761, allocations: 2.873 MB / 0.7009 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6761, allocations: 4.031 kB / 0.7009 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6773, allocations: 0.8129 MB / 0.7017 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.6776, allocations: 192.2 kB / 0.7019 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.6777, allocations: 11.98 kB / 0.7019 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.6781, allocations: 12 kB / 0.7019 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6782, allocations: 47.95 kB / 0.7019 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.6783, allocations: 39.98 kB / 0.702 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005251/0.6788, allocations: 439 kB / 0.7024 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6788, allocations: 0 / 0.7024 GB, free: 13.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000972/0.6798, allocations: 296 kB / 0.7027 GB, free: 13.04 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.0008746/0.6807, allocations: 386 kB / 0.7031 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.6819, allocations: 0.5437 MB / 0.7036 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6819, allocations: 0 / 0.7036 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.6829, allocations: 426.1 kB / 0.704 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.6843, allocations: 358.3 kB / 0.7043 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.6865, allocations: 1.31 MB / 0.7056 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.687, allocations: 0.9261 MB / 0.7065 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007425/0.6878, allocations: 262 kB / 0.7068 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.688, allocations: 103.4 kB / 0.7069 GB, free: 8.672 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.6881, allocations: 0 / 0.7069 GB, free: 8.672 MB / 0.545 GB Notification: Performance of Templates: time 0.03133/0.7194, allocations: 18.49 MB / 0.7249 GB, free: 6.199 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