Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009817/0.0009817, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9736/0.9736, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2579/0.2579, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.356e-05, allocations: 2.312 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2816/0.2816, allocations: 146.9 MB / 0.5138 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.2854, allocations: 2.589 MB / 0.5163 GB, free: 13.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.2858, allocations: 31.16 kB / 0.5163 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.2864, allocations: 209.7 kB / 0.5165 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.2886, allocations: 1.172 MB / 0.5177 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2902, allocations: 0.8349 MB / 0.5185 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.2919, allocations: 1.895 MB / 0.5204 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/0.2925, allocations: 420.8 kB / 0.5208 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.2941, allocations: 1.237 MB / 0.522 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.2948, allocations: 0.595 MB / 0.5225 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2949, allocations: 60.69 kB / 0.5226 GB, free: 10.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.2957, allocations: 447 kB / 0.523 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2958, allocations: 286.7 kB / 0.5233 GB, free: 10.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2961, allocations: 285.6 kB / 0.5236 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.297, allocations: 0.991 MB / 0.5245 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.297, allocations: 0 / 0.5245 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.297, allocations: 0 / 0.5245 GB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.297, allocations: 4 kB / 0.5245 GB, free: 10.23 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.00117/0.2981, allocations: 1.123 MB / 0.5256 GB, free: 9.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2982, allocations: 16.56 kB / 0.5257 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.2987, allocations: 212.6 kB / 0.5259 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.2991, allocations: 484 kB / 0.5263 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.2992, allocations: 159 kB / 0.5265 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.2993, allocations: 55.17 kB / 0.5265 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.2998, allocations: 0.9351 MB / 0.5274 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2998, allocations: 11.92 kB / 0.5275 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.2998, allocations: 20.38 kB / 0.5275 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.2999, allocations: 39.72 kB / 0.5275 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3002, allocations: 259.5 kB / 0.5278 GB, free: 8.016 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.002007/0.3022, allocations: 3.777 MB / 0.5314 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3024, allocations: 189.3 kB / 0.5316 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.3025, allocations: 75.69 kB / 0.5317 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.3025, allocations: 22.78 kB / 0.5317 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3026, allocations: 40.64 kB / 0.5318 GB, free: 4.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.3026, allocations: 0 / 0.5318 GB, free: 4.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002521/0.3051, allocations: 0.9995 MB / 0.5327 GB, free: 4.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3051, allocations: 134.1 kB / 0.5329 GB, free: 3.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.3055, allocations: 0.5449 MB / 0.5334 GB, free: 3.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.3056, allocations: 32.58 kB / 0.5334 GB, free: 3.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.3057, allocations: 445.5 kB / 0.5338 GB, free: 3.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.3058, allocations: 160 kB / 0.534 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.306, allocations: 166.3 kB / 0.5342 GB, free: 3.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.3061, allocations: 0.5517 MB / 0.5347 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3062, allocations: 76.17 kB / 0.5348 GB, free: 2.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3065, allocations: 0.6294 MB / 0.5354 GB, free: 1.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.3069, allocations: 0.6709 MB / 0.536 GB, free: 1.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3069, allocations: 5.578 kB / 0.536 GB, free: 1.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007875/0.3077, allocations: 0.6182 MB / 0.5367 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3078, allocations: 13.66 kB / 0.5367 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3078, allocations: 10.94 kB / 0.5367 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.3085, allocations: 239 kB / 0.5369 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3087, allocations: 127.7 kB / 0.537 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005421/0.3093, allocations: 0.9908 MB / 0.538 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.3096, allocations: 28.97 kB / 0.538 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.3096, allocations: 55.45 kB / 0.5381 GB, free: 15.91 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.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.0001974/0.3098, allocations: 212.6 kB / 0.5383 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.31, allocations: 86.89 kB / 0.5384 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.3109, allocations: 0.67 MB / 0.539 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3109, allocations: 2.312 kB / 0.539 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3109, allocations: 3 kB / 0.539 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3109, allocations: 2.484 kB / 0.539 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.312, allocations: 0.8239 MB / 0.5398 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.312, allocations: 10.16 kB / 0.5398 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.3126, allocations: 171.7 kB / 0.54 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.14e-05/0.3127, allocations: 23.34 kB / 0.54 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3127, allocations: 18.56 kB / 0.54 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.3143, allocations: 3.513 MB / 0.5435 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3143, allocations: 3.125 kB / 0.5435 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.3149, allocations: 0.5685 MB / 0.544 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.3151, allocations: 97.19 kB / 0.5441 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.3151, allocations: 9.219 kB / 0.5441 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3154, allocations: 21.56 kB / 0.5441 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.3154, allocations: 42.95 kB / 0.5442 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.3155, allocations: 33.09 kB / 0.5442 GB, free: 10.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.3157, allocations: 324.4 kB / 0.5445 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3157, allocations: 0 / 0.5445 GB, free: 10.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000781/0.3165, allocations: 256.3 kB / 0.5448 GB, free: 10.64 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.00049/0.317, allocations: 256 kB / 0.545 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.3176, allocations: 352.8 kB / 0.5454 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3176, allocations: 0 / 0.5454 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3181, allocations: 374 kB / 0.5457 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3191, allocations: 318.3 kB / 0.546 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.321, allocations: 1.143 MB / 0.5471 GB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3212, allocations: 170.4 kB / 0.5473 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007209/0.3219, allocations: 369.5 kB / 0.5476 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/0.3226, allocations: 385.2 kB / 0.548 GB, free: 8.938 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.3226, allocations: 0 / 0.548 GB, free: 8.938 MB / 426.7 MB Notification: Performance of Templates: time 0.02293/0.3455, allocations: 16.58 MB / 0.5642 GB, free: 9.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8552469573915005]