Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.001077/0.001077, allocations: 81.91 kB / 21.42 MB, free: 3.074 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.0009856/0.0009856, allocations: 165.5 kB / 24.82 MB, free: 8.938 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 1.002/1.002, 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.3052/0.3052, allocations: 34.86 MB / 296.6 MB, free: 436 kB / 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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 3.984 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.776e-05, allocations: 4.984 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02646/0.02648, allocations: 28.95 MB / 408.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.03001, allocations: 2.386 MB / 410.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004446/0.03045, allocations: 27.75 kB / 410.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008802/0.03133, allocations: 210.5 kB / 410.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.03265, allocations: 0.7728 MB / 411.6 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.03407, allocations: 0.8222 MB / 412.4 MB, free: 0.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.03587, allocations: 1.859 MB / 414.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006473/0.03652, allocations: 433.7 kB / 414.7 MB, free: 14.21 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.0528/0.08931, allocations: 16.32 MB / 431 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008784/0.09019, allocations: 0.6037 MB / 431.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.906e-05/0.09029, allocations: 60 kB / 431.7 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.09072, allocations: 191.7 kB / 431.9 MB, free: 12.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.09097, allocations: 283.2 kB / 432.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.0915, allocations: 279.3 kB / 432.4 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.09242, allocations: 0.7592 MB / 433.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.09242, allocations: 0 / 433.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09242, allocations: 0 / 433.2 MB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.09243, allocations: 0 / 433.2 MB, free: 11.59 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.004405/0.09683, allocations: 1.075 MB / 434.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.09688, allocations: 12.03 kB / 434.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.09721, allocations: 152.2 kB / 434.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.09781, allocations: 480.8 kB / 434.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.09792, allocations: 156.4 kB / 435 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.098, allocations: 48.38 kB / 435.1 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.09875, allocations: 0.8609 MB / 435.9 MB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.09876, allocations: 7.938 kB / 436 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.09881, allocations: 20 kB / 436 MB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.09886, allocations: 36.98 kB / 436 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.09924, allocations: 254.5 kB / 436.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.1051, allocations: 3.805 MB / 440.1 MB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.1057, allocations: 260.8 kB / 440.3 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1058, allocations: 84.3 kB / 440.4 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.106, allocations: 38.81 kB / 440.4 MB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.106, allocations: 41.72 kB / 440.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.106, allocations: 0 / 440.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001458/0.1075, allocations: 0.8653 MB / 441.3 MB, free: 2.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1075, allocations: 140.5 kB / 441.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1078, allocations: 0.5293 MB / 442 MB, free: 2.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1079, allocations: 37.7 kB / 442 MB, free: 2.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.108, allocations: 442.9 kB / 442.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.1081, allocations: 170.6 kB / 442.6 MB, free: 1.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1082, allocations: 156.2 kB / 442.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1084, allocations: 0.5507 MB / 443.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.1085, allocations: 73.94 kB / 443.4 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.169/0.2775, allocations: 0.6 MB / 444 MB, free: 75.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.2781, allocations: 0.6481 MB / 444.7 MB, free: 74.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2782, allocations: 3 kB / 444.7 MB, free: 74.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009241/0.2791, allocations: 0.6365 MB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2791, allocations: 11.5 kB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.2791, allocations: 14.19 kB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.2796, allocations: 208.6 kB / 445.5 MB, free: 74.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2799, allocations: 127.7 kB / 445.7 MB, free: 74.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/0.2803, allocations: 0.9305 MB / 446.6 MB, free: 73.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.2806, allocations: 29.88 kB / 446.6 MB, free: 73.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.2806, allocations: 30.47 kB / 446.7 MB, free: 73.85 MB / 410.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.000186/0.2808, allocations: 211 kB / 446.9 MB, free: 73.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.2809, allocations: 83.55 kB / 446.9 MB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.2814, allocations: 462.4 kB / 447.4 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.2814, allocations: 8.703 kB / 447.4 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2814, allocations: 0 / 447.4 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2814, allocations: 2.969 kB / 447.4 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/0.2823, allocations: 0.8722 MB / 448.3 MB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2823, allocations: 3.938 kB / 448.3 MB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.2827, allocations: 161.4 kB / 448.4 MB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.2829, allocations: 58.28 kB / 448.5 MB, free: 73.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2829, allocations: 13 kB / 448.5 MB, free: 73.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.284, allocations: 3.568 MB / 452.1 MB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.284, allocations: 4.266 kB / 452.1 MB, free: 69.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.2846, allocations: 0.6288 MB / 452.7 MB, free: 69.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2847, allocations: 107.5 kB / 452.8 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.2848, allocations: 21.78 kB / 452.8 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2849, allocations: 14.08 kB / 452.8 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.285, allocations: 38.45 kB / 452.9 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.285, allocations: 15.11 kB / 452.9 MB, free: 69.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.2851, allocations: 316.2 kB / 453.2 MB, free: 69.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2851, allocations: 0 / 453.2 MB, free: 69.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004843/0.2856, allocations: 195.7 kB / 453.4 MB, free: 69.27 MB / 410.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.0002296/0.2859, allocations: 169.1 kB / 453.6 MB, free: 69.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2864, allocations: 371.3 kB / 453.9 MB, free: 69.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2864, allocations: 0 / 453.9 MB, free: 69.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.2869, allocations: 392.3 kB / 454.3 MB, free: 68.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.2877, allocations: 323.5 kB / 454.6 MB, free: 68.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.2893, allocations: 1.19 MB / 455.8 MB, free: 68.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.81e-05/0.2894, allocations: 173.8 kB / 456 MB, free: 68.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.2897, allocations: 119.4 kB / 456.1 MB, free: 68.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.2901, allocations: 336.9 kB / 456.4 MB, free: 68.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2901, allocations: 0 / 456.4 MB, free: 68.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01663/0.3067, allocations: 13.87 MB / 470.3 MB, free: 66.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.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.696332040242851]