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.0007421/0.0007421, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.001947, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001062/0.001062, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.002177, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9342/0.9342, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08693/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2534/0.2534, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02401/0.2774, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.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 2.284e-06/2.284e-06, allocations: 4 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.254e-05, allocations: 3.719 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1658/0.1658, allocations: 149.5 MB / 442.3 MB, free: 168 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1721/0.3379, allocations: 2.646 MB / 444.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.3383, allocations: 27.84 kB / 445 MB, free: 3.629 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3387, allocations: 215 kB / 445.2 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.3406, allocations: 1.148 MB / 446.3 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3419, allocations: 0.805 MB / 447.1 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.3435, allocations: 1.926 MB / 449.1 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.344, allocations: 419.3 kB / 449.5 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.3456, allocations: 1.271 MB / 450.7 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.3463, allocations: 0.5604 MB / 451.3 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.3464, allocations: 60.53 kB / 451.4 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.3471, allocations: 482.3 kB / 451.8 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3473, allocations: 243.2 kB / 452.1 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.3475, allocations: 229.9 kB / 452.3 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.3484, allocations: 0.8696 MB / 453.2 MB, free: 3.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3484, allocations: 0.9688 kB / 453.2 MB, free: 3.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3484, allocations: 2.344 kB / 453.2 MB, free: 3.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3485, allocations: 0 / 453.2 MB, free: 3.391 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.001531/0.35, allocations: 1.241 MB / 454.4 MB, free: 18.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.65e-05/0.35, allocations: 11.19 kB / 454.4 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/0.3505, allocations: 204.6 kB / 454.6 MB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.351, allocations: 416.3 kB / 455 MB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.3511, allocations: 151.2 kB / 455.2 MB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.3512, allocations: 69.34 kB / 455.2 MB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3518, allocations: 0.8827 MB / 456.1 MB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3518, allocations: 7.125 kB / 456.1 MB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3518, allocations: 26.91 kB / 456.2 MB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.3519, allocations: 39.91 kB / 456.2 MB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.3521, allocations: 230 kB / 456.4 MB, free: 17.77 MB / 442.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.001928/0.3541, allocations: 2.651 MB / 459.1 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3542, allocations: 165.5 kB / 459.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.013e-05/0.3543, allocations: 69.62 kB / 459.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3544, allocations: 35.47 kB / 459.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3545, allocations: 40.88 kB / 459.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.3545, allocations: 0 / 459.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002066/0.3565, allocations: 0.949 MB / 460.3 MB, free: 15.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3565, allocations: 55.34 kB / 460.4 MB, free: 15.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3568, allocations: 480 kB / 460.9 MB, free: 15.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.3568, allocations: 38.86 kB / 460.9 MB, free: 15.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.357, allocations: 343.1 kB / 461.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.357, allocations: 149.8 kB / 461.4 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3571, allocations: 143.9 kB / 461.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3573, allocations: 376.7 kB / 461.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.3573, allocations: 67 kB / 461.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3576, allocations: 492.2 kB / 462.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.358, allocations: 0.56 MB / 463 MB, free: 13.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.358, allocations: 6.344 kB / 463 MB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005204/0.3585, allocations: 491.9 kB / 463.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3585, allocations: 11.25 kB / 463.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3585, allocations: 11.88 kB / 463.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.3591, allocations: 221.8 kB / 463.7 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3593, allocations: 147.5 kB / 463.9 MB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004914/0.3598, allocations: 0.6707 MB / 464.5 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.36, allocations: 32.84 kB / 464.6 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.3601, allocations: 50.66 kB / 464.6 MB, free: 13.09 MB / 442.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.000165/0.3603, allocations: 167.4 kB / 464.8 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.3603, allocations: 50.89 kB / 464.8 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/0.3609, allocations: 0.576 MB / 465.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3609, allocations: 5.656 kB / 465.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3609, allocations: 0.7812 kB / 465.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3609, allocations: 3.047 kB / 465.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.3618, allocations: 0.7344 MB / 466.1 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3618, allocations: 0.9688 kB / 466.1 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.3623, allocations: 195.3 kB / 466.3 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3624, allocations: 71.31 kB / 466.4 MB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-05/0.3625, allocations: 19.16 kB / 466.4 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3625, allocations: 21.55 kB / 466.4 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.3635, allocations: 2.4 MB / 468.8 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3635, allocations: 0 / 468.8 MB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.3639, allocations: 474.4 kB / 469.3 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3639, allocations: 12.81 kB / 469.3 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3641, allocations: 13.22 kB / 469.3 MB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.3641, allocations: 37.03 kB / 469.4 MB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.3642, allocations: 25.97 kB / 469.4 MB, free: 9.887 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.3643, allocations: 199.1 kB / 469.6 MB, free: 9.867 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3643, allocations: 0 / 469.6 MB, free: 9.867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005389/0.3649, allocations: 248.1 kB / 469.8 MB, free: 9.855 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.000408/0.3653, allocations: 246 kB / 470.1 MB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.3657, allocations: 335 kB / 470.4 MB, free: 9.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/0.3657, allocations: 12.56 kB / 470.4 MB, free: 9.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.3662, allocations: 326.5 kB / 470.7 MB, free: 9.594 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3674, allocations: 1.829 MB / 472.6 MB, free: 7.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.3747, allocations: 1.152 MB / 473.7 MB, free: 7.285 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3748, allocations: 163.4 kB / 473.9 MB, free: 7.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005895/0.3754, allocations: 316.4 kB / 474.2 MB, free: 7.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.3759, allocations: 321 kB / 474.5 MB, free: 7.109 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3759, allocations: 0 / 474.5 MB, free: 7.109 MB / 442.7 MB Notification: Performance of Templates: time 0.01769/0.3936, allocations: 16.45 MB / 490.9 MB, free: 4.523 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.736831834539771]