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.001104/0.001104, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001225/0.001225, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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 1.004/1.004, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1624/0.1624, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.763e-06/1.763e-06, allocations: 3.938 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.291e-05, allocations: 4.281 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3159/0.3159, allocations: 147.9 MB / 495.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.3191, allocations: 2.607 MB / 498.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.3195, allocations: 31.03 kB / 498.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.3201, allocations: 212.5 kB / 498.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.322, allocations: 1.222 MB / 499.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3232, allocations: 0.8272 MB / 0.4888 GB, free: 6.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.3248, allocations: 1.911 MB / 0.4907 GB, free: 5.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005822/0.3254, allocations: 433.3 kB / 0.4911 GB, free: 5.141 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.3268, allocations: 1.216 MB / 0.4923 GB, free: 4.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.3274, allocations: 0.5874 MB / 0.4928 GB, free: 4.105 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3275, allocations: 59.81 kB / 0.4929 GB, free: 4.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.3281, allocations: 477 kB / 0.4933 GB, free: 3.902 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.3283, allocations: 288.4 kB / 0.4936 GB, free: 3.703 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.3286, allocations: 295.1 kB / 0.4939 GB, free: 3.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.3297, allocations: 0.9966 MB / 0.4949 GB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3297, allocations: 0 / 0.4949 GB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3297, allocations: 0 / 0.4949 GB, free: 2.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3297, allocations: 0 / 0.4949 GB, free: 2.969 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.001362/0.3311, allocations: 1.144 MB / 0.496 GB, free: 2.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3311, allocations: 8.094 kB / 0.496 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.3317, allocations: 222.9 kB / 0.4962 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.3322, allocations: 0.4942 MB / 0.4967 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.3323, allocations: 150.5 kB / 0.4968 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3323, allocations: 59.97 kB / 0.4969 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.333, allocations: 1.008 MB / 0.4979 GB, free: 464 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.333, allocations: 2.844 kB / 0.4979 GB, free: 464 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.3331, allocations: 17.66 kB / 0.4979 GB, free: 452 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.3331, allocations: 38.08 kB / 0.4979 GB, free: 444 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.3336, allocations: 316.5 kB / 0.4982 GB, free: 320 kB / 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.00266/0.3362, allocations: 3.881 MB / 0.502 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.3365, allocations: 209.5 kB / 0.5022 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3367, allocations: 87.58 kB / 0.5023 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.3369, allocations: 133.3 kB / 0.5024 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3369, allocations: 40.45 kB / 0.5025 GB, free: 12.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.3369, allocations: 0 / 0.5025 GB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002691/0.3396, allocations: 1.17 MB / 0.5036 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3397, allocations: 132.5 kB / 0.5037 GB, free: 11.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.3401, allocations: 0.5569 MB / 0.5043 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3401, allocations: 37.7 kB / 0.5043 GB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.3404, allocations: 442.9 kB / 0.5047 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3405, allocations: 146.8 kB / 0.5049 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3406, allocations: 160.2 kB / 0.505 GB, free: 9.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3408, allocations: 0.5469 MB / 0.5056 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3409, allocations: 93.94 kB / 0.5057 GB, free: 9.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.3413, allocations: 0.6454 MB / 0.5063 GB, free: 8.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.3419, allocations: 0.6888 MB / 0.507 GB, free: 7.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3419, allocations: 4 kB / 0.507 GB, free: 7.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007922/0.3427, allocations: 0.6675 MB / 0.5076 GB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3427, allocations: 9 kB / 0.5076 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3427, allocations: 15.98 kB / 0.5076 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.3434, allocations: 254.2 kB / 0.5079 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.3436, allocations: 131.8 kB / 0.508 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006355/0.3442, allocations: 1.003 MB / 0.509 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.3445, allocations: 28 kB / 0.509 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.3445, allocations: 67.92 kB / 0.5091 GB, free: 5.184 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.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 (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.0001668/0.3447, allocations: 216.3 kB / 0.5093 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.3448, allocations: 75.58 kB / 0.5094 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.3454, allocations: 0.4937 MB / 0.5098 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3454, allocations: 4 kB / 0.5098 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3454, allocations: 0 / 0.5098 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3454, allocations: 0 / 0.5098 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3466, allocations: 1.021 MB / 0.5108 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3466, allocations: 0 / 0.5108 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.3471, allocations: 195.8 kB / 0.511 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-05/0.3471, allocations: 27.8 kB / 0.5111 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.3472, allocations: 19.98 kB / 0.5111 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.3486, allocations: 3.55 MB / 0.5145 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3486, allocations: 4 kB / 0.5145 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.3492, allocations: 0.5777 MB / 0.5151 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3493, allocations: 107.5 kB / 0.5152 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3494, allocations: 12.75 kB / 0.5152 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3495, allocations: 15.98 kB / 0.5152 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.3496, allocations: 35.89 kB / 0.5153 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.3496, allocations: 40.08 kB / 0.5153 GB, free: 14.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.3499, allocations: 346.8 kB / 0.5156 GB, free: 14.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3499, allocations: 0 / 0.5156 GB, free: 14.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006102/0.3505, allocations: 247.8 kB / 0.5159 GB, free: 13.85 MB / 394.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.000624/0.3512, allocations: 295.7 kB / 0.5162 GB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.3518, allocations: 381.8 kB / 0.5165 GB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3518, allocations: 7.875 kB / 0.5165 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.3523, allocations: 390.5 kB / 0.5169 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.3531, allocations: 309.5 kB / 0.5172 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3548, allocations: 1.138 MB / 0.5183 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3549, allocations: 166.5 kB / 0.5185 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004445/0.3553, allocations: 221.3 kB / 0.5187 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3555, allocations: 88.47 kB / 0.5188 GB, free: 10.81 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.3555, allocations: 0 / 0.5188 GB, free: 10.81 MB / 394.7 MB Notification: Performance of Templates: time 0.01858/0.3741, allocations: 16.56 MB / 0.5349 GB, free: 10.34 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.9490773491561413]