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.001075/0.001075, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001209/0.001209, allocations: 161.3 kB / 25.6 MB, free: 8.895 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.023/1.023, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.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 1.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.245e-05, allocations: 14.19 kB / 251.5 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.005394/0.005417, allocations: 5.451 MB / 257 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.006425, allocations: 0.6426 MB / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.006591, allocations: 7.938 kB / 257.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.006933, allocations: 99.3 kB / 257.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.007403, allocations: 325.9 kB / 258 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.007898, allocations: 307.4 kB / 258.3 MB, free: 340 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.00863, allocations: 0.8756 MB / 259.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.008792, allocations: 72.75 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009765/0.009768, allocations: 0.6153 MB / 259.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.01015, allocations: 255.2 kB / 260.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.0102, allocations: 32 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.01033, allocations: 40 kB / 260.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.01043, allocations: 99.69 kB / 260.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.01054, allocations: 135.8 kB / 260.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.01086, allocations: 279.1 kB / 260.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01086, allocations: 3.984 kB / 260.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01086, allocations: 0 / 260.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.01086, allocations: 0 / 260.7 MB, free: 13.93 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.0006121/0.01148, allocations: 0.6168 MB / 261.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01151, allocations: 11.98 kB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.01172, allocations: 92.44 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.01194, allocations: 228.1 kB / 261.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.01196, allocations: 20.88 kB / 261.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.01199, allocations: 32.31 kB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.01227, allocations: 397.6 kB / 262.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01229, allocations: 12.11 kB / 262.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.01231, allocations: 16.12 kB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01232, allocations: 4 kB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.01243, allocations: 99.33 kB / 262.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01367, allocations: 1.391 MB / 263.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.01383, allocations: 111.2 kB / 263.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.01389, allocations: 51.66 kB / 263.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.01391, allocations: 4.375 kB / 263.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.01393, allocations: 45.27 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.01393, allocations: 4 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.00113/0.01506, allocations: 0.6611 MB / 264.5 MB, free: 9.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.01509, allocations: 55.41 kB / 264.6 MB, free: 9.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01524, allocations: 274.5 kB / 264.8 MB, free: 9.547 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.01526, allocations: 29.7 kB / 264.9 MB, free: 9.512 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.01535, allocations: 239.1 kB / 265.1 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.0154, allocations: 99.14 kB / 265.2 MB, free: 9.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.01547, allocations: 71.34 kB / 265.3 MB, free: 9.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01559, allocations: 0.504 MB / 265.8 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.01564, allocations: 35.97 kB / 265.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01574, allocations: 167.6 kB / 266 MB, free: 8.328 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.01592, allocations: 227.8 kB / 266.2 MB, free: 8.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01592, allocations: 4 kB / 266.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003352/0.01626, allocations: 308.8 kB / 266.5 MB, free: 7.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01627, allocations: 4 kB / 266.5 MB, free: 7.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01628, allocations: 4 kB / 266.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.01643, allocations: 59.27 kB / 266.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.01659, allocations: 71.84 kB / 266.6 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.01813, allocations: 3.485 MB / 270.1 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01824, allocations: 12.12 kB / 270.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01825, allocations: 15.98 kB / 270.1 MB, free: 3.844 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.0004168/0.01867, allocations: 172.5 kB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.01871, allocations: 31.86 kB / 270.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.01875, allocations: 33.97 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01875, allocations: 4.078 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.01876, allocations: 7.969 kB / 270.4 MB, free: 3.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003283/0.01909, allocations: 0.4915 MB / 270.9 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.01969, allocations: 0.5403 MB / 271.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.0197, allocations: 0 / 271.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.0198, allocations: 43.98 kB / 271.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.01993, allocations: 47.64 kB / 271.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01994, allocations: 8 kB / 271.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007284/0.02067, allocations: 1.764 MB / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.02067, allocations: 4 kB / 273.3 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.021, allocations: 408.7 kB / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.02103, allocations: 20.05 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.02105, allocations: 4 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.02114, allocations: 8.141 kB / 273.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.02117, allocations: 27.88 kB / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.02118, allocations: 8 kB / 273.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.02126, allocations: 184.7 kB / 273.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02126, allocations: 0 / 273.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.02152, allocations: 84 kB / 274 MB, free: 15.68 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.0001101/0.02163, allocations: 107.3 kB / 274.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.02204, allocations: 0.5059 MB / 274.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02205, allocations: 0.75 kB / 274.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.02223, allocations: 253.4 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.02268, allocations: 140.2 kB / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.02362, allocations: 0.5959 MB / 275.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.065e-05/0.02367, allocations: 92.56 kB / 275.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.02379, allocations: 46.95 kB / 275.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.02399, allocations: 174.1 kB / 275.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02399, allocations: 0 / 275.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Templates: time 0.007269/0.03126, allocations: 5.658 MB / 281.6 MB, free: 8.031 MB / 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=240 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8090306208468974]