Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001058/0.001058, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002445, 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.0009288/0.0009288, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001975, 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.021/1.021, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1729/1.194, allocations: 49.5 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.LinearColdWater,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.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 222 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.96e-05, allocations: 2.312 kB / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.006793/0.006812, allocations: 5.53 MB / 227.6 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.007943, allocations: 0.662 MB / 228.2 MB, free: 9.785 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.008097, allocations: 15.88 kB / 228.2 MB, free: 9.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.008369, allocations: 87.44 kB / 228.3 MB, free: 9.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.008905, allocations: 337.8 kB / 228.7 MB, free: 9.352 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.009466, allocations: 307.4 kB / 229 MB, free: 9.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.01037, allocations: 0.8755 MB / 229.8 MB, free: 8.172 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.01057, allocations: 74.8 kB / 229.9 MB, free: 8.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.01159, allocations: 0.6396 MB / 230.5 MB, free: 7.461 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.01196, allocations: 235.2 kB / 230.8 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.136e-05/0.01202, allocations: 32 kB / 230.8 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.01216, allocations: 35.94 kB / 230.8 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.01226, allocations: 83.7 kB / 230.9 MB, free: 7.082 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.0124, allocations: 111.8 kB / 231 MB, free: 6.973 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.0128, allocations: 251.2 kB / 231.3 MB, free: 6.727 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.01281, allocations: 0 / 231.3 MB, free: 6.727 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01281, allocations: 0 / 231.3 MB, free: 6.727 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.01283, allocations: 0 / 231.3 MB, free: 6.727 MB / 234.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.001054/0.01388, allocations: 0.5582 MB / 231.8 MB, free: 6.145 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.01393, allocations: 12.03 kB / 231.8 MB, free: 6.133 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/0.01434, allocations: 153.8 kB / 232 MB, free: 5.965 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.01469, allocations: 197.3 kB / 232.2 MB, free: 5.746 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.01471, allocations: 16.88 kB / 232.2 MB, free: 5.73 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01477, allocations: 32.31 kB / 232.2 MB, free: 5.699 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.0152, allocations: 385.3 kB / 232.6 MB, free: 5.254 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.01522, allocations: 3.938 kB / 232.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.01525, allocations: 15.98 kB / 232.6 MB, free: 5.234 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01527, allocations: 8 kB / 232.6 MB, free: 5.227 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.01542, allocations: 87.38 kB / 232.7 MB, free: 5.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01688, allocations: 0.9683 MB / 233.7 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.0171, allocations: 108.5 kB / 233.8 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.01717, allocations: 49.2 kB / 233.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.0172, allocations: 7.938 kB / 233.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.01723, allocations: 34.56 kB / 233.9 MB, free: 3.918 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.01723, allocations: 0 / 233.9 MB, free: 3.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.001865/0.0191, allocations: 0.6786 MB / 234.6 MB, free: 3.199 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.01913, allocations: 55.41 kB / 234.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.01931, allocations: 215.2 kB / 234.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.01934, allocations: 33.7 kB / 234.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.01944, allocations: 172.3 kB / 235 MB, free: 2.699 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.01951, allocations: 107.1 kB / 235.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.0196, allocations: 69.39 kB / 235.2 MB, free: 2.52 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.01977, allocations: 334.8 kB / 235.5 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.01984, allocations: 31.98 kB / 235.6 MB, free: 2.152 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.01996, allocations: 127.1 kB / 235.7 MB, free: 1.988 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.0202, allocations: 198.6 kB / 235.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0202, allocations: 0 / 235.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003903/0.02059, allocations: 239.2 kB / 236.1 MB, free: 1.508 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.02061, allocations: 11.92 kB / 236.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.02062, allocations: 4 kB / 236.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.02083, allocations: 53.61 kB / 236.2 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.02111, allocations: 79.91 kB / 236.3 MB, free: 1.355 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.02275, allocations: 2.384 MB / 238.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.02291, allocations: 16.08 kB / 238.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.02292, allocations: 8 kB / 238.7 MB, free: 14.77 MB / 250.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 0.0001149/0.02304, allocations: 136.6 kB / 238.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.02309, allocations: 27.97 kB / 238.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.02315, allocations: 33.97 kB / 238.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02315, allocations: 4 kB / 238.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.02315, allocations: 0 / 238.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004953/0.02365, allocations: 484.5 kB / 239.3 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.02427, allocations: 400.6 kB / 239.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02428, allocations: 0 / 239.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.02446, allocations: 51.91 kB / 239.8 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.0245, allocations: 27.8 kB / 239.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.02466, allocations: 48.83 kB / 239.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.02468, allocations: 4 kB / 239.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007899/0.02547, allocations: 1.209 MB / 241.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02547, allocations: 8.031 kB / 241.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.02587, allocations: 302.6 kB / 241.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.0259, allocations: 11.98 kB / 241.4 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.02604, allocations: 4 kB / 241.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.02607, allocations: 19.97 kB / 241.4 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.02609, allocations: 7.984 kB / 241.4 MB, free: 11.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.704e-05/0.02617, allocations: 66.42 kB / 241.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02617, allocations: 0 / 241.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000362/0.02653, allocations: 84 kB / 241.6 MB, free: 11.64 MB / 250.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.0001364/0.02667, allocations: 100.2 kB / 241.7 MB, free: 11.53 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.02716, allocations: 398.8 kB / 242 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.02718, allocations: 12.09 kB / 242.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.02744, allocations: 211.3 kB / 242.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.02823, allocations: 0.6679 MB / 242.9 MB, free: 10.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.03468, allocations: 0.5941 MB / 243.5 MB, free: 9.469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.34e-05/0.03475, allocations: 92.48 kB / 243.6 MB, free: 9.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.03494, allocations: 50.89 kB / 243.7 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.03524, allocations: 141.2 kB / 243.8 MB, free: 9.172 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03524, allocations: 0 / 243.8 MB, free: 9.172 MB / 250.7 MB Notification: Performance of Templates: time 0.0085/0.04374, allocations: 6.054 MB / 249.9 MB, free: 3.148 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_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/LinearColdWater/LinearColdWater.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.860120072029531]