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.001978/0.001978, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002423/0.002423, allocations: 167.2 kB / 25.02 MB, free: 8.941 MB / 18.57 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.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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 1.553e-06/1.553e-06, allocations: 0 / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.269e-05, allocations: 5.406 kB / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02034/0.02038, allocations: 14.49 MB / 264.9 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.02351, allocations: 1.783 MB / 266.7 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.02372, allocations: 4 kB / 266.7 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.02437, allocations: 162.9 kB / 266.9 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.0251, allocations: 337.9 kB / 267.2 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.0259, allocations: 303.3 kB / 267.5 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.02709, allocations: 0.8442 MB / 268.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.02731, allocations: 72.75 kB / 268.4 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.0286, allocations: 0.6228 MB / 269 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.02903, allocations: 259.2 kB / 269.3 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.0291, allocations: 28 kB / 269.3 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.02924, allocations: 43.94 kB / 269.3 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.02939, allocations: 95.69 kB / 269.4 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.02958, allocations: 131.8 kB / 269.6 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.03024, allocations: 458.6 kB / 270 MB, free: 4.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.03024, allocations: 0 / 270 MB, free: 4.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03024, allocations: 0 / 270 MB, free: 4.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.03025, allocations: 0 / 270 MB, free: 4.105 MB / 250.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.0009815/0.03123, allocations: 0.5131 MB / 270.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.03126, allocations: 11.98 kB / 270.5 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.03159, allocations: 76.55 kB / 270.6 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.03204, allocations: 241.1 kB / 270.8 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.03208, allocations: 16.88 kB / 270.9 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.03214, allocations: 28.38 kB / 270.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.03279, allocations: 457.8 kB / 271.3 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.0328, allocations: 192 / 271.3 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.03284, allocations: 20.11 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.03285, allocations: 8 kB / 271.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.03324, allocations: 189.8 kB / 271.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.03507, allocations: 1.121 MB / 272.7 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.03544, allocations: 170.6 kB / 272.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.0356, allocations: 81.2 kB / 272.9 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.03562, allocations: 7.938 kB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.03566, allocations: 30.56 kB / 273 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.03566, allocations: 0 / 273 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.002752/0.03841, allocations: 0.8615 MB / 273.8 MB, free: 64 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.03848, allocations: 55.45 kB / 273.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.03877, allocations: 235.9 kB / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.0388, allocations: 37.7 kB / 274.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.03899, allocations: 192.4 kB / 274.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.504e-05/0.03908, allocations: 91.22 kB / 274.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.0392, allocations: 65.66 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.03949, allocations: 330.8 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.03967, allocations: 83.97 kB / 274.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.03995, allocations: 186.8 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.04042, allocations: 287 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.04042, allocations: 0 / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008335/0.04125, allocations: 402.8 kB / 275.7 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.04127, allocations: 7.984 kB / 275.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.04128, allocations: 8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.0416, allocations: 66.03 kB / 275.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.04193, allocations: 71.84 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.04483, allocations: 2.622 MB / 278.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.04508, allocations: 12 kB / 278.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.04511, allocations: 15.98 kB / 278.5 MB, free: 10.99 MB / 266.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.000212/0.04533, allocations: 153.7 kB / 278.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.04541, allocations: 35.8 kB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.0455, allocations: 37.95 kB / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.0455, allocations: 0 / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.04551, allocations: 4 kB / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008171/0.04633, allocations: 0.563 MB / 279.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.04749, allocations: 0.5937 MB / 279.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.0475, allocations: 0 / 279.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.04773, allocations: 39.92 kB / 280 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.04803, allocations: 64.75 kB / 280 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.04806, allocations: 4 kB / 280 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.04959, allocations: 1.362 MB / 281.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.04959, allocations: 0 / 281.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.05062, allocations: 486.2 kB / 281.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.05068, allocations: 19.89 kB / 281.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.05074, allocations: 4 kB / 281.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.05095, allocations: 15.92 kB / 281.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.051, allocations: 19.91 kB / 281.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.05102, allocations: 8 kB / 281.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000195/0.05122, allocations: 164.8 kB / 282.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05122, allocations: 0 / 282.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.05173, allocations: 88 kB / 282.2 MB, free: 7.078 MB / 266.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.0001936/0.05192, allocations: 107.2 kB / 282.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.05288, allocations: 456.9 kB / 282.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.05288, allocations: 4 kB / 282.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.05333, allocations: 234.4 kB / 283 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/0.0542, allocations: 136.2 kB / 283.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.05555, allocations: 0.6266 MB / 283.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.05575, allocations: 155.2 kB / 283.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.05596, allocations: 46.94 kB / 283.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.05605, allocations: 24.5 kB / 283.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05605, allocations: 4 kB / 283.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of Templates: time 0.01181/0.06786, allocations: 5.157 MB / 289.1 MB, free: 112 kB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4739813699852675]