Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001196/0.001196, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001921/0.001921, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.997/0.997, allocations: 177.1 MB / 204.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2736/0.2736, allocations: 34.25 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.49e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2957/0.2957, allocations: 149.6 MB / 0.5153 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.2995, allocations: 2.593 MB / 0.5179 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.3, allocations: 27.34 kB / 0.5179 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.3005, allocations: 220.4 kB / 0.5181 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.3026, allocations: 1.17 MB / 0.5192 GB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3041, allocations: 0.8309 MB / 0.52 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.3058, allocations: 1.902 MB / 0.5219 GB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.3063, allocations: 421.2 kB / 0.5223 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.308, allocations: 1.237 MB / 0.5235 GB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.3087, allocations: 0.5973 MB / 0.5241 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3088, allocations: 60.25 kB / 0.5242 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007982/0.3096, allocations: 450.2 kB / 0.5246 GB, free: 9.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.3098, allocations: 282.7 kB / 0.5249 GB, free: 9.836 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.31, allocations: 282.7 kB / 0.5251 GB, free: 9.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3112, allocations: 0.9928 MB / 0.5261 GB, free: 9.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3112, allocations: 0 / 0.5261 GB, free: 9.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3113, allocations: 0 / 0.5261 GB, free: 9.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3113, allocations: 0 / 0.5261 GB, free: 9.348 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.001533/0.3128, allocations: 1.131 MB / 0.5272 GB, free: 8.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3128, allocations: 8.156 kB / 0.5272 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.3134, allocations: 220.3 kB / 0.5274 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.314, allocations: 0.49 MB / 0.5279 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3141, allocations: 154.4 kB / 0.528 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.3141, allocations: 56.98 kB / 0.5281 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.3149, allocations: 0.972 MB / 0.529 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3149, allocations: 6.781 kB / 0.5291 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.315, allocations: 21.69 kB / 0.5291 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.315, allocations: 43.02 kB / 0.5291 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.3155, allocations: 308.1 kB / 0.5294 GB, free: 7.102 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.002224/0.3177, allocations: 3.869 MB / 0.5332 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.318, allocations: 218.2 kB / 0.5334 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3181, allocations: 90.91 kB / 0.5335 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.648e-05/0.3182, allocations: 18.44 kB / 0.5335 GB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.3182, allocations: 40.58 kB / 0.5335 GB, free: 3.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.354e-06/0.3182, allocations: 0 / 0.5335 GB, free: 3.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002698/0.3209, allocations: 1.17 MB / 0.5347 GB, free: 3.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.321, allocations: 137.9 kB / 0.5348 GB, free: 2.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.3213, allocations: 0.5551 MB / 0.5354 GB, free: 2.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3213, allocations: 36.67 kB / 0.5354 GB, free: 2.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3215, allocations: 439.6 kB / 0.5358 GB, free: 2.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.3216, allocations: 154.8 kB / 0.536 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3217, allocations: 165.6 kB / 0.5361 GB, free: 1.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.3218, allocations: 0.5472 MB / 0.5366 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3219, allocations: 90.11 kB / 0.5367 GB, free: 1.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.3222, allocations: 0.6451 MB / 0.5374 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3227, allocations: 0.7077 MB / 0.5381 GB, free: 15.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3227, allocations: 3.125 kB / 0.5381 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008617/0.3236, allocations: 0.669 MB / 0.5387 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.3236, allocations: 12.66 kB / 0.5387 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3236, allocations: 11 kB / 0.5387 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.3243, allocations: 250.9 kB / 0.539 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3246, allocations: 125.4 kB / 0.5391 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.3253, allocations: 1.002 MB / 0.5401 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.3255, allocations: 27.22 kB / 0.5401 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.3256, allocations: 68.02 kB / 0.5402 GB, free: 14.79 MB / 426.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.0001947/0.3258, allocations: 209.5 kB / 0.5404 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.3259, allocations: 75.34 kB / 0.5404 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.3267, allocations: 0.6892 MB / 0.5411 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.3267, allocations: 2.812 kB / 0.5411 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3267, allocations: 0 / 0.5411 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3267, allocations: 4.984 kB / 0.5411 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3278, allocations: 0.928 MB / 0.542 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3278, allocations: 0 / 0.542 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3283, allocations: 197.7 kB / 0.5422 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.3284, allocations: 37.45 kB / 0.5422 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3284, allocations: 15.09 kB / 0.5423 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.3298, allocations: 3.554 MB / 0.5457 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3299, allocations: 6.906 kB / 0.5457 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3304, allocations: 0.6001 MB / 0.5463 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3306, allocations: 97.09 kB / 0.5464 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.3306, allocations: 7.125 kB / 0.5464 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3308, allocations: 23.33 kB / 0.5464 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.3308, allocations: 43.25 kB / 0.5465 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3309, allocations: 37.05 kB / 0.5465 GB, free: 9.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3311, allocations: 343.8 kB / 0.5468 GB, free: 9.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3311, allocations: 0 / 0.5468 GB, free: 9.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.3317, allocations: 250.4 kB / 0.5471 GB, free: 9.41 MB / 426.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.0004352/0.3321, allocations: 250.9 kB / 0.5473 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005741/0.3327, allocations: 392.7 kB / 0.5477 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3327, allocations: 7.938 kB / 0.5477 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.3332, allocations: 389 kB / 0.5481 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.3339, allocations: 329 kB / 0.5484 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3356, allocations: 1.159 MB / 0.5495 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3357, allocations: 165.9 kB / 0.5497 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.3363, allocations: 424 kB / 0.5501 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3365, allocations: 102.5 kB / 0.5502 GB, free: 7.703 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3365, allocations: 0 / 0.5502 GB, free: 7.703 MB / 426.7 MB Notification: Performance of Templates: time 0.02073/0.3572, allocations: 16.37 MB / 0.5662 GB, free: 8.062 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.9074544180184603]