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.001003/0.001003, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009627/0.0009627, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.055 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.2713/0.2713, allocations: 34.86 MB / 296.6 MB, free: 472 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 2.224e-06/2.224e-06, allocations: 4 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.736e-05, allocations: 5.406 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02389/0.0239, allocations: 29.3 MB / 355.3 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.02676, allocations: 2.436 MB / 357.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.02701, allocations: 31.69 kB / 357.7 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.02751, allocations: 214.5 kB / 358 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.02855, allocations: 0.765 MB / 358.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.02966, allocations: 0.8104 MB / 359.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.031, allocations: 1.852 MB / 361.4 MB, free: 3.582 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.03144, allocations: 413.8 kB / 361.8 MB, free: 3.176 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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. Notification: Performance of NFEvalConstants.evaluate: time 0.02377/0.05521, allocations: 15.85 MB / 377.6 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008609/0.05607, allocations: 0.5531 MB / 378.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.05615, allocations: 60 kB / 378.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.05663, allocations: 211.6 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.05685, allocations: 279.2 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.05718, allocations: 271.4 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009001/0.05808, allocations: 0.7631 MB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.05809, allocations: 4 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05809, allocations: 0 / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.05809, allocations: 0 / 379.8 MB, free: 1.062 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.001204/0.0593, allocations: 0.9348 MB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.05934, allocations: 8.031 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.05962, allocations: 124.6 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.06012, allocations: 427.4 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.06022, allocations: 148.4 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.06029, allocations: 60.3 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.06093, allocations: 0.8122 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.06095, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.06099, allocations: 20 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.06104, allocations: 44.86 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.06136, allocations: 244.3 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.06348, allocations: 2.699 MB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.06383, allocations: 214.3 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.06392, allocations: 73.48 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.06404, allocations: 44.28 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.06407, allocations: 34.83 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.264e-06/0.06407, allocations: 4 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001413/0.06548, allocations: 0.8234 MB / 386.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.06554, allocations: 136.5 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.06583, allocations: 482.8 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.06585, allocations: 37.64 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.06599, allocations: 329.2 kB / 387.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.06607, allocations: 170.5 kB / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.0662, allocations: 142.5 kB / 387.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.06631, allocations: 370.7 kB / 388.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.0664, allocations: 65.95 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.06667, allocations: 485.5 kB / 388.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.06705, allocations: 0.5163 MB / 389.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.06705, allocations: 4 kB / 389.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000679/0.06773, allocations: 0.5247 MB / 389.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.06775, allocations: 9 kB / 389.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.06776, allocations: 12 kB / 389.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.06822, allocations: 201.6 kB / 389.9 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.06845, allocations: 135.8 kB / 390 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004575/0.0689, allocations: 0.6475 MB / 390.7 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.06909, allocations: 24 kB / 390.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.06912, allocations: 28 kB / 390.7 MB, free: 5.305 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.0001369/0.06926, allocations: 168.4 kB / 390.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.06932, allocations: 59.88 kB / 390.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.06979, allocations: 408.6 kB / 391.3 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.0698, allocations: 7.984 kB / 391.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.0698, allocations: 0 / 391.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.0698, allocations: 4 kB / 391.3 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.07052, allocations: 0.7165 MB / 392.1 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.07052, allocations: 3.938 kB / 392.1 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.07094, allocations: 172 kB / 392.2 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.07121, allocations: 48.73 kB / 392.3 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.07123, allocations: 19.98 kB / 392.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.07239, allocations: 2.442 MB / 394.7 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.07239, allocations: 11.88 kB / 394.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.07287, allocations: 0.5324 MB / 395.3 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.07297, allocations: 83.47 kB / 395.4 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.07302, allocations: 12 kB / 395.4 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.07316, allocations: 16 kB / 395.4 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.07322, allocations: 39.86 kB / 395.4 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.07325, allocations: 12 kB / 395.4 MB, free: 284 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.07338, allocations: 196.3 kB / 395.6 MB, free: 88 kB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07338, allocations: 4.031 kB / 395.6 MB, free: 84 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006953/0.07407, allocations: 199.9 kB / 395.8 MB, free: 15.88 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.0002196/0.07429, allocations: 136.1 kB / 396 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.07474, allocations: 352.8 kB / 396.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/0.07476, allocations: 16.5 kB / 396.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.07522, allocations: 316.1 kB / 396.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/0.07617, allocations: 331 kB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.07771, allocations: 1.156 MB / 398.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.07782, allocations: 167.2 kB / 398.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.07807, allocations: 115.8 kB / 398.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.0785, allocations: 279 kB / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0785, allocations: 0 / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of Templates: time 0.01555/0.09405, allocations: 13.92 MB / 412.6 MB, free: 15.37 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 -s gbode -gbm=radauIIA3 -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.2432728484272957]