Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001055/0.001055, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001252/0.001252, allocations: 173.6 kB / 25.33 MB, free: 9.43 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 0.906/0.906, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 3.938 kB / 251.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.991e-05, allocations: 2.312 kB / 251.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.00917/0.00919, allocations: 9.432 MB / 260.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.01027, allocations: 0.6268 MB / 261.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.01044, allocations: 7.938 kB / 261.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.01081, allocations: 83.44 kB / 261.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.01134, allocations: 329.8 kB / 261.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.01269, allocations: 0.6739 MB / 262.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008799/0.01357, allocations: 0.8754 MB / 263.1 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.01375, allocations: 72.75 kB / 263.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.01594, allocations: 1.36 MB / 264.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.01631, allocations: 251.2 kB / 264.8 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.01637, allocations: 32 kB / 264.8 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.01671, allocations: 167.7 kB / 265 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.01681, allocations: 107.6 kB / 265.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.01695, allocations: 139.8 kB / 265.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.01775, allocations: 390.8 kB / 265.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01775, allocations: 0 / 265.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01775, allocations: 0 / 265.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01776, allocations: 0 / 265.6 MB, free: 5.047 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006882/0.01845, allocations: 0.6479 MB / 266.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.01849, allocations: 11.98 kB / 266.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.01882, allocations: 104.2 kB / 266.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.01914, allocations: 243.8 kB / 266.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01916, allocations: 25.02 kB / 266.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.01921, allocations: 36.33 kB / 266.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.01964, allocations: 0.5232 MB / 267.2 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.01965, allocations: 4.125 kB / 267.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.01968, allocations: 16.12 kB / 267.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.01969, allocations: 8 kB / 267.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.01988, allocations: 130.8 kB / 267.3 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.0214, allocations: 1.844 MB / 269.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.02163, allocations: 139 kB / 269.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.02171, allocations: 51.66 kB / 269.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.02177, allocations: 27.92 kB / 269.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.0218, allocations: 37.39 kB / 269.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.0218, allocations: 0 / 269.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001679/0.02348, allocations: 0.7633 MB / 270.2 MB, free: 140 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.02351, allocations: 55.41 kB / 270.3 MB, free: 72 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.02374, allocations: 276.2 kB / 270.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.02377, allocations: 33.7 kB / 270.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.02389, allocations: 235.2 kB / 270.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.02395, allocations: 111 kB / 270.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.02404, allocations: 83.67 kB / 271 MB, free: 15.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.02419, allocations: 0.5001 MB / 271.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.02429, allocations: 52.72 kB / 271.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.02443, allocations: 169.9 kB / 271.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.02468, allocations: 240.3 kB / 271.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02468, allocations: 0 / 271.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004004/0.02508, allocations: 316.5 kB / 272.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.0251, allocations: 8.297 kB / 272.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.02511, allocations: 8 kB / 272.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.0254, allocations: 79.5 kB / 272.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.02556, allocations: 67.91 kB / 272.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007563/0.02632, allocations: 0.8701 MB / 273.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.02642, allocations: 12 kB / 273.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.02644, allocations: 16 kB / 273.3 MB, free: 12.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.02656, allocations: 176.5 kB / 273.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.02662, allocations: 43.8 kB / 273.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.02704, allocations: 327 kB / 273.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02705, allocations: 11.92 kB / 273.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.02706, allocations: 0 / 273.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003538/0.02741, allocations: 0.504 MB / 274.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.02813, allocations: 0.6213 MB / 275 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02813, allocations: 4.062 kB / 275 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.02822, allocations: 35.97 kB / 275 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002903/0.02851, allocations: 99.47 kB / 275.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.02853, allocations: 4 kB / 275.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.02893, allocations: 0.8546 MB / 276 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02894, allocations: 4 kB / 276 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.0294, allocations: 443 kB / 276.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.02944, allocations: 19.86 kB / 276.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.02947, allocations: 7.938 kB / 276.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.02958, allocations: 15.92 kB / 276.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.02962, allocations: 19.97 kB / 276.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.02964, allocations: 11.98 kB / 276.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.02977, allocations: 205.1 kB / 276.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02977, allocations: 0 / 276.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.03009, allocations: 112 kB / 276.8 MB, free: 9.094 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.03031, allocations: 131.1 kB / 276.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.03068, allocations: 194.2 kB / 277.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.03068, allocations: 0 / 277.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.03083, allocations: 101.8 kB / 277.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.03137, allocations: 160.1 kB / 277.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.03262, allocations: 0.5766 MB / 277.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.03268, allocations: 92.56 kB / 278 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.03287, allocations: 62.81 kB / 278.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.03292, allocations: 36.47 kB / 278.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.03293, allocations: 0 / 278.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of Templates: time 0.009006/0.04193, allocations: 6.262 MB / 284.4 MB, free: 1.453 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.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.9771774411201477]