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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 80.2 kB / 20.65 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009817/0.0009817, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9/0.9, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.208e-05, allocations: 2.312 kB / 348.1 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2974/0.2974, allocations: 145.1 MB / 493.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003329/0.3008, allocations: 2.591 MB / 495.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.3013, allocations: 30.84 kB / 495.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.3018, allocations: 205.4 kB / 496.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3042, allocations: 1.227 MB / 497.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.306, allocations: 0.8287 MB / 498.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.3079, allocations: 1.911 MB / 0.4884 GB, free: 7.363 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.3085, allocations: 421.3 kB / 0.4888 GB, free: 7.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.3106, allocations: 1.219 MB / 0.4899 GB, free: 6.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.3113, allocations: 0.5912 MB / 0.4905 GB, free: 6.188 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3115, allocations: 60.69 kB / 0.4906 GB, free: 6.188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.3125, allocations: 480.8 kB / 0.491 GB, free: 6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.3127, allocations: 285.8 kB / 0.4913 GB, free: 5.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3129, allocations: 286.7 kB / 0.4916 GB, free: 5.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3142, allocations: 1.012 MB / 0.4926 GB, free: 5.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3142, allocations: 0 / 0.4926 GB, free: 5.113 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3142, allocations: 4 kB / 0.4926 GB, free: 5.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.3142, allocations: 0 / 0.4926 GB, free: 5.109 MB / 362.7 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.001419/0.3156, allocations: 1.13 MB / 0.4937 GB, free: 4.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3157, allocations: 18.64 kB / 0.4937 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.3163, allocations: 212.9 kB / 0.4939 GB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.3168, allocations: 481.6 kB / 0.4944 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.3169, allocations: 158.6 kB / 0.4945 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.317, allocations: 58.92 kB / 0.4946 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.3176, allocations: 0.9625 MB / 0.4955 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3176, allocations: 4 kB / 0.4955 GB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.3177, allocations: 26.95 kB / 0.4955 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.3177, allocations: 40.08 kB / 0.4956 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.318, allocations: 250.5 kB / 0.4958 GB, free: 2.508 MB / 362.7 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.002083/0.3201, allocations: 3.788 MB / 0.4995 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3203, allocations: 198.8 kB / 0.4997 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.3204, allocations: 76.2 kB / 0.4998 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3206, allocations: 131 kB / 0.4999 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3207, allocations: 45.61 kB / 0.4999 GB, free: 14.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.3207, allocations: 0 / 0.4999 GB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002294/0.323, allocations: 0.9983 MB / 0.5009 GB, free: 13.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.323, allocations: 140.4 kB / 0.5011 GB, free: 13.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.3234, allocations: 0.5488 MB / 0.5016 GB, free: 12.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3234, allocations: 29.7 kB / 0.5016 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3236, allocations: 446.8 kB / 0.502 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.3237, allocations: 154.7 kB / 0.5022 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3238, allocations: 168.2 kB / 0.5024 GB, free: 12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.324, allocations: 0.5507 MB / 0.5029 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.3241, allocations: 73.92 kB / 0.503 GB, free: 11.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.3244, allocations: 0.6298 MB / 0.5036 GB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.3249, allocations: 0.6613 MB / 0.5042 GB, free: 9.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3249, allocations: 4 kB / 0.5042 GB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006851/0.3256, allocations: 0.6316 MB / 0.5048 GB, free: 8.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3256, allocations: 8 kB / 0.5048 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3256, allocations: 12 kB / 0.5049 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.3262, allocations: 243.2 kB / 0.5051 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3264, allocations: 135.8 kB / 0.5052 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005399/0.3269, allocations: 0.9794 MB / 0.5062 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.3272, allocations: 31.98 kB / 0.5062 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.3272, allocations: 52 kB / 0.5063 GB, free: 7.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.000198/0.3274, allocations: 216.2 kB / 0.5065 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.3275, allocations: 71.62 kB / 0.5065 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.3281, allocations: 486.9 kB / 0.507 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3281, allocations: 4 kB / 0.507 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3281, allocations: 0 / 0.507 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3281, allocations: 3.984 kB / 0.507 GB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.3292, allocations: 0.9088 MB / 0.5079 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3292, allocations: 4.031 kB / 0.5079 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.3296, allocations: 171.8 kB / 0.5081 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.3297, allocations: 23.67 kB / 0.5081 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3297, allocations: 19.98 kB / 0.5081 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3311, allocations: 3.515 MB / 0.5115 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3311, allocations: 256 / 0.5115 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.3316, allocations: 0.5542 MB / 0.5121 GB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3317, allocations: 103.4 kB / 0.5122 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3317, allocations: 8 kB / 0.5122 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3319, allocations: 16 kB / 0.5122 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3319, allocations: 43.81 kB / 0.5122 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.332, allocations: 31.98 kB / 0.5123 GB, free: 1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.3322, allocations: 326.7 kB / 0.5126 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3322, allocations: 0 / 0.5126 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000577/0.3327, allocations: 247.8 kB / 0.5128 GB, free: 452 kB / 378.7 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 (38): * Single equations (assignments): 36 * 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.0005168/0.3332, allocations: 293.8 kB / 0.5131 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.3337, allocations: 349.8 kB / 0.5134 GB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3337, allocations: 0 / 0.5134 GB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.3341, allocations: 362.5 kB / 0.5138 GB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.3348, allocations: 313.5 kB / 0.5141 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3363, allocations: 1.136 MB / 0.5152 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3364, allocations: 170.5 kB / 0.5153 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003805/0.3368, allocations: 165.4 kB / 0.5155 GB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.3373, allocations: 361.9 kB / 0.5158 GB, free: 13.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3373, allocations: 0 / 0.5158 GB, free: 13.24 MB / 394.7 MB Notification: Performance of Templates: time 0.01816/0.3555, allocations: 16.76 MB / 0.5322 GB, free: 12.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.859265017323196]