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.001145/0.001145, allocations: 79.73 kB / 9.881 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002414, allocations: 447.8 kB / 10.32 MB, free: 380 kB / 10.45 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.0009543/0.0009543, allocations: 160.9 kB / 11.22 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.00196, allocations: 479.5 kB / 11.69 MB, free: 2.488 MB / 13.93 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.9799/0.9799, allocations: 177.1 MB / 189.5 MB, free: 3.633 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1627/1.143, allocations: 53.73 MB / 243.3 MB, free: 2.137 MB / 234.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.1535/0.1535, allocations: 34.86 MB / 278.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02306/0.1766, allocations: 13.22 MB / 292.1 MB, free: 1.652 MB / 282.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.272e-06/1.272e-06, allocations: 0 / 293.4 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.124e-05, allocations: 2.312 kB / 293.4 MB, free: 372 kB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2772/0.2772, allocations: 149 MB / 442.4 MB, free: 7.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.281, allocations: 2.633 MB / 445 MB, free: 4.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.2814, allocations: 27.75 kB / 445.1 MB, free: 4.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.2819, allocations: 206.6 kB / 445.3 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.2839, allocations: 1.15 MB / 446.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2852, allocations: 0.8074 MB / 447.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.2868, allocations: 1.902 MB / 449.1 MB, free: 324 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.2874, allocations: 410.4 kB / 449.5 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.289, allocations: 1.271 MB / 450.8 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.2897, allocations: 0.557 MB / 451.3 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2898, allocations: 60 kB / 451.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.2906, allocations: 493.6 kB / 451.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2908, allocations: 287.2 kB / 452.2 MB, free: 13.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.2911, allocations: 283.4 kB / 452.4 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2922, allocations: 0.9892 MB / 453.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.2922, allocations: 0 / 453.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2922, allocations: 3.938 kB / 453.4 MB, free: 11.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.2922, allocations: 0 / 453.4 MB, free: 11.98 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.001412/0.2936, allocations: 1.058 MB / 454.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2936, allocations: 8.031 kB / 454.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.2942, allocations: 208.3 kB / 454.7 MB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/0.2948, allocations: 411.7 kB / 455.1 MB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.2949, allocations: 159.7 kB / 455.3 MB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.2949, allocations: 59.94 kB / 455.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.2956, allocations: 0.8903 MB / 456.2 MB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2956, allocations: 0 / 456.2 MB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.2957, allocations: 24 kB / 456.2 MB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.2957, allocations: 36.98 kB / 456.3 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003395/0.296, allocations: 237.4 kB / 456.5 MB, free: 8.668 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.002152/0.2982, allocations: 2.645 MB / 459.2 MB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.2984, allocations: 170.1 kB / 459.3 MB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.2985, allocations: 61.41 kB / 459.4 MB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.2986, allocations: 44.78 kB / 459.4 MB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2987, allocations: 38.84 kB / 459.5 MB, free: 5.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.2987, allocations: 0 / 459.5 MB, free: 5.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.002248/0.3009, allocations: 0.9124 MB / 460.4 MB, free: 4.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.301, allocations: 132.5 kB / 460.5 MB, free: 4.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.3013, allocations: 482.8 kB / 461 MB, free: 3.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3013, allocations: 33.7 kB / 461 MB, free: 3.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3015, allocations: 345 kB / 461.3 MB, free: 3.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/0.3016, allocations: 146.8 kB / 461.5 MB, free: 3.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3017, allocations: 142.5 kB / 461.6 MB, free: 3.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3018, allocations: 374.6 kB / 462 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.3019, allocations: 69.95 kB / 462.1 MB, free: 2.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.3022, allocations: 495.5 kB / 462.5 MB, free: 2.219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3026, allocations: 0.5338 MB / 463.1 MB, free: 1.535 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3026, allocations: 4 kB / 463.1 MB, free: 1.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005616/0.3032, allocations: 0.4891 MB / 463.6 MB, free: 1.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3032, allocations: 8 kB / 463.6 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3032, allocations: 12 kB / 463.6 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.3038, allocations: 207.6 kB / 463.8 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.304, allocations: 147.8 kB / 463.9 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00046/0.3045, allocations: 0.6753 MB / 464.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.3047, allocations: 31.98 kB / 464.6 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.3047, allocations: 44 kB / 464.7 MB, free: 15.88 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.0001599/0.3049, allocations: 164.5 kB / 464.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.305, allocations: 55.88 kB / 464.9 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.3057, allocations: 0.5741 MB / 465.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3057, allocations: 4 kB / 465.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3057, allocations: 0 / 465.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3057, allocations: 0 / 465.5 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.3066, allocations: 0.7288 MB / 466.2 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3066, allocations: 1.188 kB / 466.2 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.3071, allocations: 199.7 kB / 466.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.658e-05/0.3072, allocations: 24.84 kB / 466.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3073, allocations: 15.88 kB / 466.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.3084, allocations: 2.405 MB / 468.8 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3084, allocations: 4.25 kB / 468.9 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.3088, allocations: 471.7 kB / 469.3 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3089, allocations: 67.61 kB / 469.4 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.309, allocations: 15.98 kB / 469.4 MB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3091, allocations: 8 kB / 469.4 MB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.3092, allocations: 43.88 kB / 469.4 MB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3092, allocations: 22.05 kB / 469.5 MB, free: 10.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.3094, allocations: 204.4 kB / 469.7 MB, free: 10.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3094, allocations: 0 / 469.7 MB, free: 10.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005473/0.3099, allocations: 247.8 kB / 469.9 MB, free: 10.37 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.0004098/0.3103, allocations: 234.9 kB / 470.1 MB, free: 10.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.3108, allocations: 324 kB / 470.5 MB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/0.3108, allocations: 12.5 kB / 470.5 MB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.3112, allocations: 292.2 kB / 470.8 MB, free: 9.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.312, allocations: 320.1 kB / 471.1 MB, free: 9.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3137, allocations: 1.138 MB / 472.2 MB, free: 8.031 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3138, allocations: 170.3 kB / 472.4 MB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000528/0.3143, allocations: 366.6 kB / 472.7 MB, free: 7.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.3149, allocations: 309 kB / 473 MB, free: 7.176 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3149, allocations: 3.938 kB / 473 MB, free: 7.172 MB / 442.7 MB Notification: Performance of Templates: time 0.01819/0.3331, allocations: 16.49 MB / 489.5 MB, free: 6.922 MB / 458.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.8245957884937525]