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.001476/0.001476, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001535/0.001535, allocations: 166.4 kB / 24.99 MB, free: 8.746 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.9722/0.9722, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2597/0.2597, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.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.373e-06/1.373e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.134e-05, allocations: 2.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2951/0.2951, allocations: 171.8 MB / 0.535 GB, free: 2.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005376/0.3005, allocations: 5.42 MB / 0.5403 GB, free: 14.63 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006091/0.3011, allocations: 26.84 kB / 0.5403 GB, free: 14.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.3019, allocations: 314.9 kB / 0.5406 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.3049, allocations: 1.393 MB / 0.542 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.307, allocations: 1.086 MB / 0.543 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.3088, allocations: 1.888 MB / 0.5449 GB, free: 12.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.3094, allocations: 413.6 kB / 0.5453 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.3112, allocations: 1.349 MB / 0.5466 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3122, allocations: 0.7282 MB / 0.5473 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.657e-05/0.3123, allocations: 60.22 kB / 0.5473 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3134, allocations: 0.5496 MB / 0.5479 GB, free: 10.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3136, allocations: 295.4 kB / 0.5482 GB, free: 10.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.3138, allocations: 285.3 kB / 0.5484 GB, free: 10.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3153, allocations: 1.097 MB / 0.5495 GB, free: 9.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3153, allocations: 0 / 0.5495 GB, free: 9.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3153, allocations: 0 / 0.5495 GB, free: 9.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.3153, allocations: 0 / 0.5495 GB, free: 9.789 MB / 426.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.001635/0.3169, allocations: 1.145 MB / 0.5506 GB, free: 8.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.317, allocations: 15.8 kB / 0.5506 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.3177, allocations: 216.5 kB / 0.5508 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.3183, allocations: 492.6 kB / 0.5513 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3184, allocations: 152.5 kB / 0.5515 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.3185, allocations: 64.75 kB / 0.5515 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.3193, allocations: 1.002 MB / 0.5525 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3194, allocations: 3.938 kB / 0.5525 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.3194, allocations: 28.38 kB / 0.5525 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.3195, allocations: 41.38 kB / 0.5526 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.32, allocations: 309.5 kB / 0.5529 GB, free: 7.133 MB / 426.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.002706/0.3227, allocations: 3.877 MB / 0.5566 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.323, allocations: 211.3 kB / 0.5568 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3231, allocations: 90.55 kB / 0.5569 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.3232, allocations: 22.7 kB / 0.557 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3232, allocations: 44.61 kB / 0.557 GB, free: 3.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3232, allocations: 0 / 0.557 GB, free: 3.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002817/0.326, allocations: 1.164 MB / 0.5581 GB, free: 2.324 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3261, allocations: 136.5 kB / 0.5583 GB, free: 2.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.3265, allocations: 0.5413 MB / 0.5588 GB, free: 1.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3265, allocations: 33.7 kB / 0.5588 GB, free: 1.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3267, allocations: 431 kB / 0.5592 GB, free: 1.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.3268, allocations: 158.7 kB / 0.5594 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.327, allocations: 160.2 kB / 0.5595 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3271, allocations: 0.5469 MB / 0.5601 GB, free: 260 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3273, allocations: 89.94 kB / 0.5602 GB, free: 168 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.3276, allocations: 0.619 MB / 0.5608 GB, free: 15.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.3282, allocations: 0.6659 MB / 0.5614 GB, free: 14.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3282, allocations: 4 kB / 0.5614 GB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007827/0.329, allocations: 0.6488 MB / 0.5621 GB, free: 13.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.329, allocations: 8 kB / 0.5621 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.329, allocations: 8 kB / 0.5621 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.3297, allocations: 255.5 kB / 0.5623 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3299, allocations: 124.6 kB / 0.5624 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006371/0.3306, allocations: 1.01 MB / 0.5634 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3308, allocations: 28 kB / 0.5634 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.3309, allocations: 55.98 kB / 0.5635 GB, free: 12.29 MB / 442.7 MB 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.0001708/0.3311, allocations: 212.3 kB / 0.5637 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.3311, allocations: 75.56 kB / 0.5638 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.332, allocations: 0.6786 MB / 0.5644 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.332, allocations: 4 kB / 0.5644 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.332, allocations: 7.984 kB / 0.5644 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.332, allocations: 7.984 kB / 0.5645 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.3331, allocations: 0.941 MB / 0.5654 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3331, allocations: 7.875 kB / 0.5654 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.3337, allocations: 201.2 kB / 0.5656 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.017e-05/0.3337, allocations: 23.67 kB / 0.5656 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.3338, allocations: 19.92 kB / 0.5656 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.3355, allocations: 3.565 MB / 0.5691 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3355, allocations: 0 / 0.5691 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.3362, allocations: 0.5919 MB / 0.5697 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3363, allocations: 99.75 kB / 0.5698 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.3364, allocations: 19.94 kB / 0.5698 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3366, allocations: 12 kB / 0.5698 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.3367, allocations: 35.94 kB / 0.5698 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.3367, allocations: 35.98 kB / 0.5699 GB, free: 5.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.337, allocations: 342.8 kB / 0.5702 GB, free: 5.059 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 0.5702 GB, free: 5.059 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006926/0.3376, allocations: 251.8 kB / 0.5704 GB, free: 4.812 MB / 442.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.00054/0.3382, allocations: 290.7 kB / 0.5707 GB, free: 4.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.3388, allocations: 382.6 kB / 0.5711 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3388, allocations: 0 / 0.5711 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3394, allocations: 386.2 kB / 0.5714 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.3402, allocations: 326.9 kB / 0.5718 GB, free: 3.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.342, allocations: 1.152 MB / 0.5729 GB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3422, allocations: 178.3 kB / 0.5731 GB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006499/0.3428, allocations: 426.3 kB / 0.5735 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.343, allocations: 96.44 kB / 0.5736 GB, free: 1.535 MB / 442.7 MB Notification: Performance of SimCode: time 2.074e-06/0.343, allocations: 4 kB / 0.5736 GB, free: 1.531 MB / 442.7 MB Notification: Performance of Templates: time 0.01867/0.3617, allocations: 15.46 MB / 0.5887 GB, free: 2.316 MB / 458.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: 3.8270691910292953]