Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.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.0006787/0.0006787, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008969/0.001576, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007074/0.0007074, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001618, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9804/0.9804, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08374/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01487/0.01487, allocations: 2.25 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003686/0.01856, allocations: 1.422 MB / 247.6 MB, free: 11.17 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.7e-05, allocations: 2.312 kB / 248.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.001971/0.001988, allocations: 1.776 MB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003728, allocations: 1.792 MB / 252.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.003779, allocations: 3.938 kB / 252.5 MB, free: 6.309 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:269:3-299:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.003994, allocations: 55.7 kB / 252.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.004218, allocations: 118.1 kB / 252.6 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.004353, allocations: 79.7 kB / 252.7 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.00446, allocations: 87.72 kB / 252.8 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.004528, allocations: 16.2 kB / 252.8 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.004621, allocations: 67.84 kB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.004723, allocations: 31.89 kB / 252.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.004738, allocations: 11.94 kB / 252.9 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.004972, allocations: 203.7 kB / 253.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.005019, allocations: 19.94 kB / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.005054, allocations: 15.94 kB / 253.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.005303, allocations: 211.3 kB / 253.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.005316, allocations: 0 / 253.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005317, allocations: 0 / 253.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.005331, allocations: 4 kB / 253.4 MB, free: 5.402 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004328/0.005764, allocations: 393.4 kB / 253.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.005792, allocations: 12.03 kB / 253.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.005822, allocations: 4.938 kB / 253.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.00596, allocations: 141.5 kB / 253.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005969, allocations: 4.375 kB / 253.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.005978, allocations: 4.375 kB / 253.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.006109, allocations: 121.2 kB / 254 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006117, allocations: 3.938 kB / 254 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.006124, allocations: 4 kB / 254.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.006128, allocations: 0 / 254.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.006177, allocations: 64.45 kB / 254.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.006373, allocations: 176 kB / 254.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.006505, allocations: 98.92 kB / 254.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.00654, allocations: 51.42 kB / 254.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.006551, allocations: 8.031 kB / 254.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.006667, allocations: 147.3 kB / 254.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.006668, allocations: 4 kB / 254.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001632/0.006832, allocations: 193.5 kB / 254.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.006868, allocations: 110.8 kB / 254.9 MB, free: 3.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.00693, allocations: 130.7 kB / 255 MB, free: 3.531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.00694, allocations: 25.7 kB / 255 MB, free: 3.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.006965, allocations: 96.11 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.006995, allocations: 31.67 kB / 255.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.007032, allocations: 25.7 kB / 255.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.007101, allocations: 326.8 kB / 255.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.007129, allocations: 40.53 kB / 255.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.007163, allocations: 67.34 kB / 255.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.00723, allocations: 128 kB / 255.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007232, allocations: 0 / 255.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.148e-05/0.007323, allocations: 147.8 kB / 255.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.007353, allocations: 33.7 kB / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007357, allocations: 4 kB / 255.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.007364, allocations: 0 / 255.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.007413, allocations: 15.92 kB / 255.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.007417, allocations: 4 kB / 255.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.00745, allocations: 11.89 kB / 255.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.007457, allocations: 4 kB / 256 MB, free: 2.5 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.007527, allocations: 158.4 kB / 256.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.007541, allocations: 15.92 kB / 256.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.00756, allocations: 12.44 kB / 256.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007561, allocations: 0 / 256.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007563, allocations: 0 / 256.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007566, allocations: 3.984 kB / 256.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.74e-05/0.007633, allocations: 81.88 kB / 256.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007634, allocations: 0 / 256.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.007658, allocations: 8 kB / 256.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.007669, allocations: 15.88 kB / 256.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.007671, allocations: 11.94 kB / 256.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.007679, allocations: 4 kB / 256.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.007679, allocations: 0 / 256.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007681, allocations: 4 kB / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.007797, allocations: 191 kB / 256.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.007816, allocations: 11.94 kB / 256.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.007841, allocations: 8 kB / 256.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.007863, allocations: 7.984 kB / 256.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.007872, allocations: 4 kB / 256.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.007893, allocations: 24.84 kB / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007893, allocations: 0 / 256.5 MB, free: 1.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.008061, allocations: 79.73 kB / 256.6 MB, free: 1.797 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.009349, allocations: 0.6586 MB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.009506, allocations: 187.6 kB / 257.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.009515, allocations: 3.984 kB / 257.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.009572, allocations: 126.2 kB / 257.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.009689, allocations: 36.02 kB / 257.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01017, allocations: 256.6 kB / 257.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.01023, allocations: 63.34 kB / 257.9 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.01027, allocations: 7.984 kB / 257.9 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.01039, allocations: 83.3 kB / 258 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01039, allocations: 0 / 258 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of Templates: time 0.006733/0.01713, allocations: 2.909 MB / 260.9 MB, free: 13.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestXPath.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath.pipe >> ../files/ExternData_ExternData.Examples.XMLTestXPath.sim & ./ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.504502333700657]