Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001491/0.001491, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00161/0.00161, allocations: 168.4 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9255/0.9255, allocations: 177.1 MB / 206 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1343/0.1343, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.006e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2985/0.2985, allocations: 146.9 MB / 0.5119 GB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002932/0.3014, allocations: 2.575 MB / 0.5144 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.3018, allocations: 32.22 kB / 0.5144 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.3023, allocations: 213.2 kB / 0.5146 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.3045, allocations: 1.168 MB / 0.5158 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.3061, allocations: 0.8335 MB / 0.5166 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.3077, allocations: 1.903 MB / 0.5184 GB, free: 16.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.3082, allocations: 421.6 kB / 0.5188 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3096, allocations: 1.238 MB / 0.52 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.3103, allocations: 0.5956 MB / 0.5206 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3104, allocations: 60.78 kB / 0.5207 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006816/0.311, allocations: 448 kB / 0.5211 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.3112, allocations: 285.7 kB / 0.5214 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.3115, allocations: 282.3 kB / 0.5216 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.3124, allocations: 0.9931 MB / 0.5226 GB, free: 16.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3124, allocations: 2.344 kB / 0.5226 GB, free: 16.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3124, allocations: 0 / 0.5226 GB, free: 16.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3124, allocations: 0 / 0.5226 GB, free: 16.04 MB / 410.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.001244/0.3136, allocations: 1.125 MB / 0.5237 GB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.3137, allocations: 12.89 kB / 0.5237 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.3142, allocations: 217.1 kB / 0.5239 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.3146, allocations: 484.5 kB / 0.5244 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.3147, allocations: 156.6 kB / 0.5246 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.3148, allocations: 53.75 kB / 0.5246 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3153, allocations: 0.9384 MB / 0.5255 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3153, allocations: 5.156 kB / 0.5255 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.3153, allocations: 21.2 kB / 0.5255 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.3154, allocations: 44.31 kB / 0.5256 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3157, allocations: 258.4 kB / 0.5258 GB, free: 14.24 MB / 410.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.001853/0.3175, allocations: 3.777 MB / 0.5295 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3178, allocations: 198.2 kB / 0.5297 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.3178, allocations: 73.05 kB / 0.5298 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.3179, allocations: 24.36 kB / 0.5298 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3179, allocations: 39.48 kB / 0.5298 GB, free: 11.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.373e-06/0.3179, allocations: 0 / 0.5298 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002224/0.3201, allocations: 0.9881 MB / 0.5308 GB, free: 10.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.3202, allocations: 133.7 kB / 0.5309 GB, free: 10.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3204, allocations: 0.5472 MB / 0.5315 GB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3205, allocations: 37.89 kB / 0.5315 GB, free: 10.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3206, allocations: 439.5 kB / 0.5319 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3207, allocations: 151.8 kB / 0.5321 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3208, allocations: 168.6 kB / 0.5322 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.3209, allocations: 0.5519 MB / 0.5328 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.321, allocations: 82.41 kB / 0.5328 GB, free: 9.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3212, allocations: 0.632 MB / 0.5335 GB, free: 8.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.3216, allocations: 0.674 MB / 0.5341 GB, free: 8.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3216, allocations: 2.781 kB / 0.5341 GB, free: 8.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006342/0.3222, allocations: 0.6205 MB / 0.5347 GB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3222, allocations: 13.42 kB / 0.5347 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3222, allocations: 11.28 kB / 0.5348 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.3228, allocations: 243.4 kB / 0.535 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.323, allocations: 128.8 kB / 0.5351 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004333/0.3235, allocations: 0.9863 MB / 0.5361 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3237, allocations: 26.34 kB / 0.5361 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.3238, allocations: 55.56 kB / 0.5361 GB, free: 7.344 MB / 410.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.0001375/0.3239, allocations: 210.8 kB / 0.5363 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.324, allocations: 77.73 kB / 0.5364 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.3247, allocations: 0.666 MB / 0.5371 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3247, allocations: 2 kB / 0.5371 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3247, allocations: 7.5 kB / 0.5371 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3247, allocations: 2.016 kB / 0.5371 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.3255, allocations: 0.8208 MB / 0.5379 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3255, allocations: 2.906 kB / 0.5379 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.326, allocations: 174.2 kB / 0.5381 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.326, allocations: 28.42 kB / 0.5381 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3261, allocations: 24.48 kB / 0.5381 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000828/0.3269, allocations: 3.509 MB / 0.5415 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3269, allocations: 3.312 kB / 0.5415 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.3273, allocations: 0.5691 MB / 0.5421 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3275, allocations: 100.8 kB / 0.5422 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3275, allocations: 8.969 kB / 0.5422 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.3277, allocations: 14.28 kB / 0.5422 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.3277, allocations: 42.28 kB / 0.5422 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.3278, allocations: 37.06 kB / 0.5423 GB, free: 2.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.328, allocations: 322.8 kB / 0.5426 GB, free: 2.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.328, allocations: 0 / 0.5426 GB, free: 2.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.3286, allocations: 252.7 kB / 0.5428 GB, free: 2.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0004048/0.329, allocations: 274.2 kB / 0.5431 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.3294, allocations: 354.6 kB / 0.5434 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3294, allocations: 0 / 0.5434 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3298, allocations: 367.6 kB / 0.5438 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.3306, allocations: 310.8 kB / 0.5441 GB, free: 2.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3321, allocations: 1.152 MB / 0.5452 GB, free: 1.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3322, allocations: 168.5 kB / 0.5454 GB, free: 1.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.3327, allocations: 366.4 kB / 0.5457 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.3332, allocations: 377.5 kB / 0.5461 GB, free: 1.402 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3332, allocations: 0 / 0.5461 GB, free: 1.402 MB / 410.7 MB Notification: Performance of Templates: time 0.02212/0.3553, allocations: 16.79 MB / 0.5625 GB, free: 6.586 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 4.169319330248982]