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.0009614/0.0009614, allocations: 87.33 kB / 20.42 MB, free: 4.137 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.0009741/0.0009741, allocations: 169 kB / 23.8 MB, free: 0.7656 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 0.9094/0.9094, 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.1291/0.1291, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 2.244e-06/2.244e-06, allocations: 4 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.2e-05, allocations: 6.25 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3392/0.3392, allocations: 147.9 MB / 495.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.3422, allocations: 2.615 MB / 498.2 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.3424, allocations: 27.47 kB / 498.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.3429, allocations: 216.5 kB / 498.5 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.3448, allocations: 1.217 MB / 499.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3459, allocations: 0.8275 MB / 0.4888 GB, free: 6.477 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3472, allocations: 1.911 MB / 0.4907 GB, free: 5.449 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.3477, allocations: 431.6 kB / 0.4911 GB, free: 5.145 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3488, allocations: 1.039 MB / 0.4921 GB, free: 4.523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008883/0.3496, allocations: 0.7234 MB / 0.4928 GB, free: 4.125 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.121e-05/0.3497, allocations: 67.55 kB / 0.4929 GB, free: 4.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007467/0.3505, allocations: 468.3 kB / 0.4933 GB, free: 3.926 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3507, allocations: 289.2 kB / 0.4936 GB, free: 3.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.3509, allocations: 299.9 kB / 0.4939 GB, free: 3.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.352, allocations: 1.012 MB / 0.4948 GB, free: 2.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.352, allocations: 4 kB / 0.4949 GB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.352, allocations: 0 / 0.4949 GB, free: 2.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.352, allocations: 7.094 kB / 0.4949 GB, free: 2.965 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.001399/0.3534, allocations: 1.139 MB / 0.496 GB, free: 2.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3534, allocations: 8 kB / 0.496 GB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.354, allocations: 218.3 kB / 0.4962 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.3545, allocations: 0.4928 MB / 0.4967 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.3546, allocations: 149.2 kB / 0.4968 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.3547, allocations: 65.25 kB / 0.4969 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.3554, allocations: 1.024 MB / 0.4979 GB, free: 444 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3554, allocations: 6.594 kB / 0.4979 GB, free: 440 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.3554, allocations: 24.91 kB / 0.4979 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.3555, allocations: 41.75 kB / 0.4979 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.3559, allocations: 298.6 kB / 0.4982 GB, free: 304 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.002751/0.3587, allocations: 3.895 MB / 0.502 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.359, allocations: 213.7 kB / 0.5022 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3591, allocations: 87.72 kB / 0.5023 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3593, allocations: 132.9 kB / 0.5024 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3594, allocations: 40.39 kB / 0.5025 GB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.3594, allocations: 0 / 0.5025 GB, free: 12.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002748/0.3621, allocations: 1.178 MB / 0.5036 GB, free: 11.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.3622, allocations: 132.5 kB / 0.5038 GB, free: 11.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.3627, allocations: 0.5413 MB / 0.5043 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3627, allocations: 33.7 kB / 0.5043 GB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.363, allocations: 435 kB / 0.5047 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.3631, allocations: 154.7 kB / 0.5049 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3632, allocations: 160.2 kB / 0.505 GB, free: 9.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3634, allocations: 0.543 MB / 0.5056 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3635, allocations: 93.92 kB / 0.5057 GB, free: 9.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.3639, allocations: 0.6113 MB / 0.5063 GB, free: 8.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.3645, allocations: 0.6584 MB / 0.5069 GB, free: 7.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3645, allocations: 4 kB / 0.5069 GB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007942/0.3653, allocations: 0.6449 MB / 0.5075 GB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3653, allocations: 8 kB / 0.5075 GB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.3653, allocations: 12 kB / 0.5076 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.366, allocations: 262.3 kB / 0.5078 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3663, allocations: 123.8 kB / 0.5079 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/0.367, allocations: 1.007 MB / 0.5089 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3672, allocations: 27.98 kB / 0.5089 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.3673, allocations: 56 kB / 0.509 GB, free: 5.312 MB / 378.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.0001792/0.3674, allocations: 208.4 kB / 0.5092 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.3675, allocations: 75.56 kB / 0.5093 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.3682, allocations: 0.4975 MB / 0.5097 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3682, allocations: 4 kB / 0.5097 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.3682, allocations: 4 kB / 0.5097 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3683, allocations: 3.984 kB / 0.5097 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3695, allocations: 1.018 MB / 0.5107 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3695, allocations: 4 kB / 0.5107 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.37, allocations: 191.9 kB / 0.5109 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.066e-05/0.3701, allocations: 27.67 kB / 0.511 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3701, allocations: 15.98 kB / 0.511 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.3719, allocations: 3.558 MB / 0.5144 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3719, allocations: 0 / 0.5144 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.3725, allocations: 0.5738 MB / 0.515 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3726, allocations: 111.5 kB / 0.5151 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3727, allocations: 12.94 kB / 0.5151 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3728, allocations: 12 kB / 0.5151 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.3729, allocations: 39.88 kB / 0.5152 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.373, allocations: 35.98 kB / 0.5152 GB, free: 14.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.3732, allocations: 342.8 kB / 0.5155 GB, free: 14.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 0.5155 GB, free: 14.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005717/0.3738, allocations: 251.7 kB / 0.5158 GB, free: 13.98 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.0005879/0.3744, allocations: 294.3 kB / 0.5161 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.375, allocations: 382.2 kB / 0.5164 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.375, allocations: 0 / 0.5164 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.3755, allocations: 385.7 kB / 0.5168 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008169/0.3763, allocations: 309.7 kB / 0.5171 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3781, allocations: 1.147 MB / 0.5182 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3782, allocations: 166.4 kB / 0.5184 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000427/0.3786, allocations: 217.2 kB / 0.5186 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3788, allocations: 88.47 kB / 0.5187 GB, free: 10.95 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3788, allocations: 0 / 0.5187 GB, free: 10.95 MB / 394.7 MB Notification: Performance of Templates: time 0.01778/0.3965, allocations: 15.1 MB / 0.5334 GB, free: 11.94 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.7458702898584306]