Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.00108/0.00108, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002575, 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.001243/0.001243, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002833, 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 0.9491/0.9491, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09038/1.04, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.2624/0.2624, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02726/0.2896, allocations: 13.23 MB / 292.8 MB, free: 6.414 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.18e-05, allocations: 6.078 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01491/0.01493, allocations: 16.86 MB / 311 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02784/0.04277, allocations: 14.08 MB / 325 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.04338, allocations: 31.69 kB / 325.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.04396, allocations: 254.3 kB / 325.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02194/0.06591, allocations: 4.507 MB / 329.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.08216, allocations: 1.873 MB / 331.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.08542, allocations: 2.059 MB / 333.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.08608, allocations: 445.9 kB / 334.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00816/0.09424, allocations: 6.242 MB / 340.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.0966, allocations: 1.791 MB / 342.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.09673, allocations: 67.94 kB / 342.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.1068, allocations: 7.242 MB / 349.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.1071, allocations: 251.2 kB / 349.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.1075, allocations: 263.6 kB / 350 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.1144, allocations: 4.3 MB / 354.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.1144, allocations: 0 / 354.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1144, allocations: 0 / 354.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1144, allocations: 0 / 354.3 MB, free: 8.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003141/0.1176, allocations: 2.006 MB / 356.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1176, allocations: 12.03 kB / 356.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.1186, allocations: 371.7 kB / 356.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.1192, allocations: 447.3 kB / 357.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/0.1193, allocations: 160.7 kB / 357.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.1193, allocations: 64.38 kB / 357.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.1203, allocations: 1.052 MB / 358.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1203, allocations: 15.86 kB / 358.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.1204, allocations: 28 kB / 358.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.1204, allocations: 40.98 kB / 358.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.121, allocations: 393 kB / 358.9 MB, free: 3.797 MB / 346.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.002601/0.1236, allocations: 3.814 MB / 362.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.1242, allocations: 340.9 kB / 363 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.1243, allocations: 82.53 kB / 363.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1075/0.2319, allocations: 67.32 MB / 430.4 MB, free: 12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2319, allocations: 38.56 kB / 430.5 MB, free: 11.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 2.494e-06/0.2319, allocations: 0 / 430.5 MB, free: 11.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.003218/0.2351, allocations: 1.27 MB / 431.7 MB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.2352, allocations: 110.8 kB / 431.9 MB, free: 10.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.2355, allocations: 0.4948 MB / 432.3 MB, free: 9.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2355, allocations: 41.64 kB / 432.4 MB, free: 9.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2357, allocations: 380.8 kB / 432.8 MB, free: 9.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.2358, allocations: 174.5 kB / 432.9 MB, free: 9.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.2359, allocations: 150.5 kB / 433.1 MB, free: 9.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.236, allocations: 374.6 kB / 433.4 MB, free: 8.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.2361, allocations: 73.95 kB / 433.5 MB, free: 8.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.2364, allocations: 0.5421 MB / 434.1 MB, free: 8.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.2369, allocations: 0.6449 MB / 434.7 MB, free: 7.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2369, allocations: 4 kB / 434.7 MB, free: 7.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005528/0.2374, allocations: 0.5018 MB / 435.2 MB, free: 6.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2375, allocations: 8 kB / 435.2 MB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2375, allocations: 12 kB / 435.2 MB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.2388, allocations: 253.2 kB / 435.5 MB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.2394, allocations: 275.7 kB / 435.7 MB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/0.2403, allocations: 1.798 MB / 437.5 MB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.2406, allocations: 35.94 kB / 437.6 MB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.2406, allocations: 35.94 kB / 437.6 MB, free: 4.195 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,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 (97): * Single equations (assignments): 95 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.2408, allocations: 184.4 kB / 437.8 MB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.2409, allocations: 55.94 kB / 437.8 MB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.2418, allocations: 1.211 MB / 439.1 MB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2418, allocations: 19.97 kB / 439.1 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.2418, allocations: 0 / 439.1 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2418, allocations: 11.92 kB / 439.1 MB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2432, allocations: 1.457 MB / 440.5 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2433, allocations: 0 / 440.5 MB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.2437, allocations: 163.8 kB / 440.7 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2438, allocations: 115.1 kB / 440.8 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.2445, allocations: 259.1 kB / 441.1 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.2445, allocations: 15.98 kB / 441.1 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1947/0.4393, allocations: 1.779 MB / 442.9 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4393, allocations: 1.781 kB / 442.9 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4404, allocations: 1.108 MB / 444 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4405, allocations: 33.78 kB / 444 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4407, allocations: 10.25 kB / 444 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.4408, allocations: 30.75 kB / 444 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4408, allocations: 13.8 kB / 444.1 MB, free: 106.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.4411, allocations: 287.9 kB / 444.3 MB, free: 106.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4411, allocations: 0 / 444.3 MB, free: 106.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002773/0.4438, allocations: 1.099 MB / 445.4 MB, free: 106.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002867/0.4467, allocations: 1.397 MB / 446.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008593/0.4476, allocations: 0.5127 MB / 447.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-05/0.4476, allocations: 20.25 kB / 447.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.4481, allocations: 352.4 kB / 447.7 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4494, allocations: 1.964 MB / 449.7 MB, free: 105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/0.458, allocations: 1.843 MB / 451.5 MB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.4582, allocations: 245.7 kB / 451.8 MB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.4587, allocations: 261 kB / 452 MB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.4591, allocations: 283.2 kB / 452.3 MB, free: 104.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.253e-06/0.4591, allocations: 0 / 452.3 MB, free: 104.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03794/0.4971, allocations: 44.62 MB / 496.9 MB, free: 69.53 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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: 4.480725524015725]