Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002206/0.003473, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002854, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1857/1.34, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.421e-05, allocations: 2.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0276/0.02763, allocations: 27.53 MB / 249.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.02897, allocations: 0.6502 MB / 250.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.02914, allocations: 7.938 kB / 250.2 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.02944, allocations: 91.42 kB / 250.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.02995, allocations: 333.8 kB / 250.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.0305, allocations: 307.4 kB / 250.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.03128, allocations: 0.8833 MB / 251.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.03143, allocations: 78.78 kB / 251.9 MB, free: 2.043 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897: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 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934: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 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897: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 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934: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 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897: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 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934: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.0274/0.05884, allocations: 12.97 MB / 264.9 MB, free: 5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.05931, allocations: 239.3 kB / 265.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.05936, allocations: 28 kB / 265.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.05953, allocations: 39.98 kB / 265.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.05961, allocations: 79.72 kB / 265.2 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.05974, allocations: 115.8 kB / 265.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.06009, allocations: 251.2 kB / 265.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.0601, allocations: 4 kB / 265.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0601, allocations: 0 / 265.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.06011, allocations: 0 / 265.6 MB, free: 4.258 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007576/0.06087, allocations: 0.5582 MB / 266.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.0609, allocations: 8.031 kB / 266.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.06125, allocations: 161.8 kB / 266.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.06155, allocations: 193.3 kB / 266.5 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.06157, allocations: 20.88 kB / 266.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.06162, allocations: 24.38 kB / 266.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.06194, allocations: 389.1 kB / 266.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.06195, allocations: 3.938 kB / 266.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.06197, allocations: 12 kB / 266.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.06198, allocations: 12 kB / 267 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.06208, allocations: 87.36 kB / 267 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009443/0.06303, allocations: 0.9838 MB / 268 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.0632, allocations: 94.53 kB / 268.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.06324, allocations: 45.16 kB / 268.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.06327, allocations: 4 kB / 268.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.06329, allocations: 34.56 kB / 268.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.06329, allocations: 4 kB / 268.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001268/0.06456, allocations: 0.6703 MB / 268.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.06459, allocations: 59.34 kB / 268.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.06471, allocations: 214.2 kB / 269.1 MB, free: 460 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.06473, allocations: 33.7 kB / 269.2 MB, free: 420 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.06481, allocations: 180.3 kB / 269.4 MB, free: 236 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.06485, allocations: 99.14 kB / 269.5 MB, free: 136 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.06492, allocations: 65.41 kB / 269.5 MB, free: 64 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.06501, allocations: 334.8 kB / 269.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.06506, allocations: 31.98 kB / 269.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.06514, allocations: 123.1 kB / 270 MB, free: 15.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.06531, allocations: 205.7 kB / 270.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.06531, allocations: 0 / 270.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002629/0.06557, allocations: 238.9 kB / 270.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.06559, allocations: 4 kB / 270.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.06559, allocations: 4 kB / 270.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.06573, allocations: 57.97 kB / 270.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.06596, allocations: 79.89 kB / 270.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.06756, allocations: 2.399 MB / 273 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.06767, allocations: 8 kB / 273 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.06769, allocations: 12 kB / 273 MB, free: 12.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/0.06779, allocations: 128.6 kB / 273.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.06782, allocations: 19.98 kB / 273.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.06787, allocations: 37.95 kB / 273.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.06787, allocations: 4.031 kB / 273.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.06787, allocations: 4 kB / 273.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003012/0.06817, allocations: 484.5 kB / 273.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.06866, allocations: 396.2 kB / 274 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.06867, allocations: 3.938 kB / 274 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.0688, allocations: 51.97 kB / 274.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.06883, allocations: 27.84 kB / 274.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.06896, allocations: 40.78 kB / 274.2 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.06897, allocations: 8 kB / 274.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/0.06962, allocations: 1.217 MB / 275.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.06962, allocations: 0 / 275.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.06993, allocations: 313.1 kB / 275.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.06995, allocations: 8 kB / 275.7 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.07005, allocations: 4 kB / 275.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.07009, allocations: 19.95 kB / 275.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.0701, allocations: 8 kB / 275.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.228e-05/0.07016, allocations: 62.28 kB / 275.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07016, allocations: 4 kB / 275.8 MB, free: 9.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.07043, allocations: 92 kB / 275.9 MB, free: 9.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.0001403/0.07057, allocations: 84.34 kB / 276 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.07102, allocations: 395.5 kB / 276.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.07104, allocations: 7.938 kB / 276.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.07128, allocations: 215.2 kB / 276.6 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.07192, allocations: 0.6844 MB / 277.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.07618, allocations: 0.5862 MB / 277.8 MB, free: 7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.07625, allocations: 92.62 kB / 277.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.07646, allocations: 42.94 kB / 278 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.07671, allocations: 153.2 kB / 278.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.07671, allocations: 0 / 278.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of Templates: time 0.008694/0.0854, allocations: 6.048 MB / 284.2 MB, free: 0.6836 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_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: 2.926767441444099]