Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.0006571/0.0006571, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001659, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006526/0.0006526, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.001606, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.004/1.004, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.094, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2689/0.2689, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02591/0.2948, allocations: 13.24 MB / 292.8 MB, free: 6.367 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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.27e-05, allocations: 7.406 kB / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.005966/0.005978, allocations: 7.399 MB / 301.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.009081, allocations: 2.508 MB / 304 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.009381, allocations: 31.75 kB / 304 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.009707, allocations: 214.5 kB / 304.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009812/0.01069, allocations: 0.765 MB / 305 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.01183, allocations: 0.8001 MB / 305.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.01339, allocations: 1.883 MB / 307.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.01389, allocations: 425.7 kB / 308.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.01514, allocations: 1.051 MB / 309.2 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.01576, allocations: 0.557 MB / 309.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.01584, allocations: 60 kB / 309.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.01622, allocations: 203.7 kB / 310 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.0164, allocations: 239.2 kB / 310.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.0166, allocations: 223.6 kB / 310.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.01724, allocations: 0.6736 MB / 311.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.01724, allocations: 0 / 311.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01725, allocations: 0 / 311.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.01726, allocations: 0 / 311.1 MB, free: 3.992 MB / 298.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.001288/0.01855, allocations: 1.182 MB / 312.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.01858, allocations: 12.86 kB / 312.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.01882, allocations: 128.6 kB / 312.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.01935, allocations: 427.4 kB / 312.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.01944, allocations: 156.3 kB / 313 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.01951, allocations: 52.38 kB / 313.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.02014, allocations: 0.803 MB / 313.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.02016, allocations: 11.94 kB / 313.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.0202, allocations: 27.98 kB / 313.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.02025, allocations: 32.98 kB / 313.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.02054, allocations: 244.2 kB / 314.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.02254, allocations: 2.687 MB / 316.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.02289, allocations: 232.3 kB / 317.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.02297, allocations: 70.69 kB / 317.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.02308, allocations: 36.3 kB / 317.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.02311, allocations: 38.89 kB / 317.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.572e-06/0.02311, allocations: 4 kB / 317.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001527/0.02464, allocations: 0.9209 MB / 318.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.02466, allocations: 55.41 kB / 318.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.02493, allocations: 466.8 kB / 318.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.02496, allocations: 37.7 kB / 318.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.02508, allocations: 325.2 kB / 319 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.02517, allocations: 174.5 kB / 319.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.02529, allocations: 142.5 kB / 319.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.02539, allocations: 374.7 kB / 319.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.02547, allocations: 69.89 kB / 319.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.02572, allocations: 489.4 kB / 320.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.02612, allocations: 0.5434 MB / 320.8 MB, free: 9.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.02612, allocations: 4 kB / 320.8 MB, free: 9.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006292/0.02675, allocations: 0.5329 MB / 321.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.02677, allocations: 15.94 kB / 321.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.02678, allocations: 8 kB / 321.3 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.02727, allocations: 196 kB / 321.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.02752, allocations: 155.8 kB / 321.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.0279, allocations: 0.6463 MB / 322.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.02811, allocations: 24 kB / 322.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.02814, allocations: 31.98 kB / 322.4 MB, free: 7.926 MB / 314.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.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 (76): * Single equations (assignments): 75 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.02828, allocations: 164.4 kB / 322.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.02834, allocations: 51.95 kB / 322.6 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.02881, allocations: 407.3 kB / 323 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.02882, allocations: 4 kB / 323 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.02882, allocations: 3.984 kB / 323 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.02883, allocations: 3.938 kB / 323 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.02954, allocations: 0.7282 MB / 323.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.02955, allocations: 0 / 323.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.02998, allocations: 171.8 kB / 323.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.03009, allocations: 79.77 kB / 324 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.03021, allocations: 52.83 kB / 324 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.03023, allocations: 15.98 kB / 324 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.03135, allocations: 2.452 MB / 326.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.03135, allocations: 4.078 kB / 326.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.03184, allocations: 0.5366 MB / 327 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.03189, allocations: 12 kB / 327 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.03206, allocations: 15.98 kB / 327.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.03211, allocations: 39.88 kB / 327.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.03214, allocations: 12 kB / 327.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.03227, allocations: 192.4 kB / 327.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03227, allocations: 0 / 327.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.03268, allocations: 199.9 kB / 327.5 MB, free: 2.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002056/0.03289, allocations: 148.1 kB / 327.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.03331, allocations: 346.5 kB / 328 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/0.03333, allocations: 17.83 kB / 328 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.03381, allocations: 358.8 kB / 328.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.03498, allocations: 1.838 MB / 330.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.04213, allocations: 1.178 MB / 331.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.04225, allocations: 179.1 kB / 331.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.04256, allocations: 116.8 kB / 331.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.04301, allocations: 279 kB / 331.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04301, allocations: 0 / 331.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Templates: time 0.0151/0.05812, allocations: 14.25 MB / 346.2 MB, free: 15.76 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.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.1611629351973534]