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.001019/0.001019, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002509, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007703/0.0007703, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009679/0.001738, allocations: 467.5 kB / 11.72 MB, free: 2.449 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.027/1.027, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1239/1.151, allocations: 53.87 MB / 243.8 MB, free: 14.89 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.2705/0.2705, allocations: 34.86 MB / 279.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0536/0.3241, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.493e-06/1.493e-06, allocations: 3.938 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.125e-05, allocations: 2.312 kB / 293.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006351/0.006372, allocations: 7.394 MB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.009549, allocations: 2.508 MB / 303.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.009849, allocations: 27.75 kB / 303.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.01023, allocations: 218.5 kB / 304 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01127, allocations: 0.7689 MB / 304.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01244, allocations: 0.7953 MB / 305.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.01366, allocations: 1.887 MB / 307.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.01403, allocations: 425.7 kB / 307.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.01492, allocations: 1.047 MB / 308.9 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.01542, allocations: 0.5648 MB / 309.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.01549, allocations: 60 kB / 309.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.01577, allocations: 199.7 kB / 309.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.01594, allocations: 239.3 kB / 310 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.01614, allocations: 223.6 kB / 310.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.01678, allocations: 0.6735 MB / 310.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.01679, allocations: 3.984 kB / 310.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01679, allocations: 0 / 310.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.0168, allocations: 0 / 310.9 MB, free: 4.133 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.001846/0.01865, allocations: 1.179 MB / 312.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.01868, allocations: 12.92 kB / 312.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.01896, allocations: 132.5 kB / 312.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.01951, allocations: 419.5 kB / 312.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/0.01961, allocations: 152.4 kB / 312.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.01968, allocations: 52.38 kB / 312.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.0203, allocations: 0.807 MB / 313.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.02032, allocations: 15.89 kB / 313.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.02035, allocations: 20 kB / 313.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.0204, allocations: 40.98 kB / 313.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.02069, allocations: 244.2 kB / 313.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.02278, allocations: 2.683 MB / 316.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.02314, allocations: 234.2 kB / 316.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.02322, allocations: 73.42 kB / 316.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.02334, allocations: 36.3 kB / 316.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.02337, allocations: 38.89 kB / 317 MB, free: 13.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.02337, allocations: 0 / 317 MB, free: 13.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001366/0.02473, allocations: 0.8301 MB / 317.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.02477, allocations: 63.16 kB / 317.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.02506, allocations: 470.8 kB / 318.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.02509, allocations: 41.64 kB / 318.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.02523, allocations: 325.2 kB / 318.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.02532, allocations: 170.5 kB / 318.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.02545, allocations: 142.5 kB / 319 MB, free: 11.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.02555, allocations: 374.6 kB / 319.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.02564, allocations: 69.97 kB / 319.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.02589, allocations: 477.5 kB / 319.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.02626, allocations: 0.5163 MB / 320.4 MB, free: 9.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02626, allocations: 8 kB / 320.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006234/0.02689, allocations: 0.5211 MB / 320.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.02691, allocations: 22.42 kB / 321 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.02692, allocations: 8 kB / 321 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.02743, allocations: 210.3 kB / 321.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.02769, allocations: 143.8 kB / 321.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/0.02812, allocations: 0.6442 MB / 322 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.02833, allocations: 24 kB / 322 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.02837, allocations: 32 kB / 322 MB, free: 8.191 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.0001435/0.02851, allocations: 169.3 kB / 322.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.02857, allocations: 51.98 kB / 322.2 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.02907, allocations: 405.5 kB / 322.6 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02907, allocations: 4 kB / 322.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.02908, allocations: 0 / 322.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.02908, allocations: 7.922 kB / 322.6 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.02984, allocations: 0.7243 MB / 323.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.02984, allocations: 0 / 323.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.03028, allocations: 171.9 kB / 323.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.03039, allocations: 91.75 kB / 323.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.03053, allocations: 48.78 kB / 323.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.03055, allocations: 12 kB / 323.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.03177, allocations: 2.46 MB / 326.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03177, allocations: 0 / 326.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.03228, allocations: 0.5288 MB / 326.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.03233, allocations: 12 kB / 326.7 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.03247, allocations: 15.94 kB / 326.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.03252, allocations: 39.88 kB / 326.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.03255, allocations: 11.98 kB / 326.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.03268, allocations: 204.3 kB / 326.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03268, allocations: 0 / 326.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.0331, allocations: 191.9 kB / 327.1 MB, free: 2.773 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.0002161/0.03331, allocations: 144.2 kB / 327.3 MB, free: 2.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.03375, allocations: 337.1 kB / 327.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.351e-05/0.03377, allocations: 12.5 kB / 327.6 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.03423, allocations: 338.9 kB / 327.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.03499, allocations: 402.5 kB / 328.3 MB, free: 1.562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.04242, allocations: 1.182 MB / 329.5 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.04253, allocations: 175.2 kB / 329.7 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.0429, allocations: 116.2 kB / 329.8 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.04337, allocations: 283 kB / 330.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.04337, allocations: 0 / 330.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Templates: time 0.01734/0.06071, allocations: 14.5 MB / 344.6 MB, free: 1.57 MB / 330.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.248574119992554]