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.0008972/0.0008972, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001031/0.001031, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9774/0.9774, allocations: 177 MB / 205.2 MB, free: 5.035 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.2616/0.2616, allocations: 34.86 MB / 296.6 MB, free: 452 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 1.222e-06/1.222e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.419e-05, allocations: 4.844 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02329/0.02331, allocations: 29.26 MB / 355.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.02669, allocations: 2.44 MB / 357.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.02705, allocations: 27.75 kB / 357.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.02755, allocations: 214.5 kB / 357.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.02873, allocations: 0.7728 MB / 358.6 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.03005, allocations: 0.8145 MB / 359.5 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.03162, allocations: 1.859 MB / 361.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.03212, allocations: 437.7 kB / 361.7 MB, free: 3.172 MB / 330.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.02343/0.05555, allocations: 16.36 MB / 378.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009164/0.05646, allocations: 0.5609 MB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.05659, allocations: 56 kB / 378.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.05705, allocations: 191.8 kB / 378.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.05727, allocations: 291.1 kB / 379.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.05753, allocations: 275.3 kB / 379.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.05844, allocations: 0.7515 MB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.05845, allocations: 4 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05845, allocations: 0 / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.05846, allocations: 3.938 kB / 380.2 MB, free: 0.5586 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001391/0.05986, allocations: 0.9309 MB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.05989, allocations: 8.031 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.06016, allocations: 128.7 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.0607, allocations: 431.3 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.06081, allocations: 156.3 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.06088, allocations: 52.38 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.06151, allocations: 0.8029 MB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.06153, allocations: 3.938 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.06157, allocations: 24 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.06162, allocations: 36.98 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.06196, allocations: 244.3 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.06424, allocations: 2.703 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.06461, allocations: 216.7 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.0647, allocations: 79.22 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.06482, allocations: 40.3 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.06484, allocations: 42.83 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.06485, allocations: 0 / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001472/0.06632, allocations: 0.8236 MB / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.06636, allocations: 132.5 kB / 387 MB, free: 9.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.06665, allocations: 470.8 kB / 387.5 MB, free: 8.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.06668, allocations: 33.7 kB / 387.5 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.06682, allocations: 333.2 kB / 387.9 MB, free: 8.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.06691, allocations: 166.6 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.06704, allocations: 138.5 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.06714, allocations: 370.7 kB / 388.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.06724, allocations: 65.95 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.0675, allocations: 485.5 kB / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.06791, allocations: 0.5238 MB / 389.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.06792, allocations: 4 kB / 389.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006703/0.06859, allocations: 0.5334 MB / 390.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.06861, allocations: 11.94 kB / 390.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.06862, allocations: 12 kB / 390.1 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.06908, allocations: 191.5 kB / 390.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.0693, allocations: 135.7 kB / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/0.06971, allocations: 0.6537 MB / 391.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.06992, allocations: 24 kB / 391.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.06995, allocations: 31.98 kB / 391.2 MB, free: 4.805 MB / 362.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.0001513/0.0701, allocations: 168.4 kB / 391.3 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.07017, allocations: 51.95 kB / 391.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.07064, allocations: 408.6 kB / 391.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.07064, allocations: 4.047 kB / 391.8 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.07065, allocations: 11.92 kB / 391.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.07065, allocations: 3.984 kB / 391.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.07143, allocations: 0.7128 MB / 392.5 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.07143, allocations: 4.031 kB / 392.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.07182, allocations: 159.8 kB / 392.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.07195, allocations: 44.8 kB / 392.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.07197, allocations: 8 kB / 392.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.07317, allocations: 2.466 MB / 395.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.07317, allocations: 4 kB / 395.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.0737, allocations: 0.5323 MB / 395.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.07382, allocations: 75.58 kB / 395.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.07386, allocations: 16 kB / 395.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.07402, allocations: 8 kB / 395.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.07409, allocations: 43.88 kB / 395.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.07412, allocations: 15.98 kB / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.07428, allocations: 200.4 kB / 396.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07428, allocations: 0 / 396.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.07474, allocations: 191.9 kB / 396.3 MB, free: 15.41 MB / 378.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.0002639/0.075, allocations: 144.2 kB / 396.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.07546, allocations: 344.8 kB / 396.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/0.07548, allocations: 8.5 kB / 396.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.07593, allocations: 324.5 kB / 397.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.07664, allocations: 319.4 kB / 397.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.07815, allocations: 1.155 MB / 398.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.07825, allocations: 167.2 kB / 398.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.07855, allocations: 126.4 kB / 398.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.07897, allocations: 275 kB / 399.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.07897, allocations: 0 / 399.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01475/0.09372, allocations: 13.88 MB / 413 MB, free: 14.94 MB / 394.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.4249770706519485]