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.0009621/0.0009621, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.0009789/0.0009789, allocations: 163 kB / 25.6 MB, free: 8.406 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.9517/0.9517, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.282e-06/1.282e-06, allocations: 0 / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.992e-05, allocations: 2.312 kB / 251.5 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.008479/0.008499, allocations: 9.343 MB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.00944, allocations: 0.6074 MB / 261.5 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.009568, allocations: 4 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.009851, allocations: 95.3 kB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.01028, allocations: 329.9 kB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.01141, allocations: 0.6778 MB / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006891/0.0121, allocations: 0.8792 MB / 263.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.01224, allocations: 72.75 kB / 263.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.01395, allocations: 1.356 MB / 264.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.01423, allocations: 255.2 kB / 265.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.01428, allocations: 32 kB / 265.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.01454, allocations: 171.7 kB / 265.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.01462, allocations: 111.6 kB / 265.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.01473, allocations: 143.7 kB / 265.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.0151, allocations: 382.8 kB / 265.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.0151, allocations: 0 / 265.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.0151, allocations: 0 / 265.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01511, allocations: 3.984 kB / 266 MB, free: 8.695 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.0005897/0.0157, allocations: 0.6479 MB / 266.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.01573, allocations: 15.98 kB / 266.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.01598, allocations: 100.3 kB / 266.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.01624, allocations: 239.8 kB / 266.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.01626, allocations: 21.03 kB / 267 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.0163, allocations: 40.31 kB / 267 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.01662, allocations: 0.5075 MB / 267.5 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01664, allocations: 192 / 267.5 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.01666, allocations: 16.12 kB / 267.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.01667, allocations: 8 kB / 267.5 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.01678, allocations: 103.3 kB / 267.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01797, allocations: 1.817 MB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.01812, allocations: 126.6 kB / 269.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.01817, allocations: 51.81 kB / 269.6 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.01822, allocations: 31.91 kB / 269.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.01824, allocations: 37.39 kB / 269.7 MB, free: 4.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.01824, allocations: 0 / 269.7 MB, free: 4.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=30): time 0.001162/0.0194, allocations: 0.7008 MB / 270.4 MB, free: 3.941 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.01942, allocations: 63.34 kB / 270.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01956, allocations: 284.1 kB / 270.7 MB, free: 3.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01957, allocations: 29.7 kB / 270.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.01966, allocations: 243.1 kB / 271 MB, free: 3.297 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.01971, allocations: 111 kB / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.01978, allocations: 75.7 kB / 271.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01989, allocations: 0.5079 MB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.01994, allocations: 44.7 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.02004, allocations: 149.9 kB / 271.9 MB, free: 2.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.02022, allocations: 224.4 kB / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02022, allocations: 0 / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003289/0.02055, allocations: 316.3 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.02056, allocations: 4 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.02056, allocations: 4 kB / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.02074, allocations: 83.59 kB / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.02086, allocations: 64.22 kB / 272.6 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/0.02124, allocations: 0.8739 MB / 273.4 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.44e-05/0.02131, allocations: 12 kB / 273.5 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.02133, allocations: 12 kB / 273.5 MB, free: 0.6797 MB / 250.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.0001711/0.0215, allocations: 172.5 kB / 273.6 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.02154, allocations: 35.86 kB / 273.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.02193, allocations: 330.8 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02193, allocations: 4.031 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.02194, allocations: 7.938 kB / 274 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003294/0.02227, allocations: 0.5272 MB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.02277, allocations: 0.5749 MB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02277, allocations: 0 / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.02284, allocations: 35.98 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.02325, allocations: 99.62 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.02326, allocations: 11.98 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.02355, allocations: 0.8545 MB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.02356, allocations: 0 / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.02389, allocations: 422.9 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.02392, allocations: 35.73 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.02395, allocations: 4 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.02405, allocations: 7.984 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.02407, allocations: 19.97 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.02409, allocations: 15.98 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.02416, allocations: 197.2 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02416, allocations: 0 / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.02441, allocations: 99.94 kB / 276.9 MB, free: 13 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.000162/0.02458, allocations: 143 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.02481, allocations: 170.9 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.02481, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.02492, allocations: 97.06 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.02536, allocations: 156.2 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.02618, allocations: 0.5727 MB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.02623, allocations: 96.56 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.02636, allocations: 58.81 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.02662, allocations: 221.9 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02662, allocations: 0 / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Templates: time 0.008077/0.03469, allocations: 6.891 MB / 285.3 MB, free: 4.574 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.789672731887549]