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.001164/0.001164, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.003084, allocations: 440 kB / 10.41 MB, free: 284 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.0009655/0.0009655, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.002035, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9943/0.9943, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.099, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.01304/0.01304, allocations: 2.254 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0067/0.01974, allocations: 1.429 MB / 247.8 MB, free: 11.07 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.803e-06/1.803e-06, allocations: 0 / 249.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.479e-05, allocations: 2.312 kB / 249.1 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002764/0.002789, allocations: 1.796 MB / 250.9 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008646/0.01144, allocations: 1.8 MB / 252.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.01151, allocations: 4 kB / 252.7 MB, free: 6.168 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.0003035/0.01181, allocations: 55.59 kB / 252.8 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.01214, allocations: 130 kB / 252.9 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.01542, allocations: 71.73 kB / 253 MB, free: 5.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.01561, allocations: 87.77 kB / 253 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.0157, allocations: 12.16 kB / 253 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.01583, allocations: 75.83 kB / 253.1 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.01598, allocations: 35.89 kB / 253.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.016, allocations: 8 kB / 253.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.01638, allocations: 203.6 kB / 253.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.01643, allocations: 19.94 kB / 253.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.01647, allocations: 12 kB / 253.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.01679, allocations: 211.4 kB / 253.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.01681, allocations: 3.938 kB / 253.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01681, allocations: 4 kB / 253.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01682, allocations: 0 / 253.6 MB, free: 5.254 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.0004985/0.01731, allocations: 393.4 kB / 254 MB, free: 4.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.01735, allocations: 8.031 kB / 254 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.01739, allocations: 12.92 kB / 254 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.01755, allocations: 129.7 kB / 254.1 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.01756, allocations: 384 / 254.1 MB, free: 4.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.01757, allocations: 8.375 kB / 254.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.01773, allocations: 125.1 kB / 254.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.01774, allocations: 3.938 kB / 254.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.01775, allocations: 0 / 254.3 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.01775, allocations: 4 kB / 254.3 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.01781, allocations: 64.48 kB / 254.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.01803, allocations: 176.1 kB / 254.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.02121, allocations: 98.81 kB / 254.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.0213, allocations: 55.45 kB / 254.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.02131, allocations: 0 / 254.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.02147, allocations: 163.2 kB / 254.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.91e-07/0.02147, allocations: 0 / 254.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002187/0.02169, allocations: 185.5 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.02177, allocations: 199.9 kB / 255.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.02186, allocations: 134.7 kB / 255.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.02187, allocations: 25.7 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.0219, allocations: 88.12 kB / 255.4 MB, free: 3.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.02194, allocations: 35.72 kB / 255.5 MB, free: 3.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.02198, allocations: 21.7 kB / 255.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.02206, allocations: 318.8 kB / 255.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.0221, allocations: 48.52 kB / 255.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.02215, allocations: 67.33 kB / 255.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.02225, allocations: 127.7 kB / 256 MB, free: 2.496 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.02225, allocations: 0 / 256 MB, free: 2.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001368/0.02239, allocations: 147.8 kB / 256.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.02243, allocations: 37.69 kB / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.02243, allocations: 0 / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.02244, allocations: 0 / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.02252, allocations: 19.98 kB / 256.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.02252, allocations: 0 / 256.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.02257, allocations: 11.89 kB / 256.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.02258, allocations: 4 kB / 256.3 MB, free: 2.254 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 9.297e-05/0.02267, allocations: 154.3 kB / 256.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.02269, allocations: 15.92 kB / 256.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.02272, allocations: 20.38 kB / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02272, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02272, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.02273, allocations: 0 / 256.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.02283, allocations: 89.86 kB / 256.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02283, allocations: 4 kB / 256.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.02287, allocations: 8 kB / 256.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.02288, allocations: 11.95 kB / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.02289, allocations: 3.938 kB / 256.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.0229, allocations: 3.984 kB / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.0229, allocations: 4 kB / 256.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0229, allocations: 4 kB / 256.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.02307, allocations: 199.2 kB / 256.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.0231, allocations: 3.938 kB / 256.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.02314, allocations: 4 kB / 256.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.02317, allocations: 11.97 kB / 256.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.02318, allocations: 8 kB / 256.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.886e-05/0.02321, allocations: 20.84 kB / 256.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02321, allocations: 0 / 256.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.02349, allocations: 75.73 kB / 256.9 MB, free: 1.551 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.002881/0.02637, allocations: 0.6712 MB / 257.6 MB, free: 1.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.02662, allocations: 183.6 kB / 257.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.02663, allocations: 3.938 kB / 257.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.02674, allocations: 125.9 kB / 257.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.02696, allocations: 95.31 kB / 258 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.02759, allocations: 252.7 kB / 258.2 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.02763, allocations: 69.77 kB / 258.3 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.02768, allocations: 8 kB / 258.3 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.02779, allocations: 79.36 kB / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02779, allocations: 3.938 kB / 258.4 MB, free: 204 kB / 250.7 MB Notification: Performance of Templates: time 0.005948/0.03374, allocations: 2.906 MB / 261.3 MB, free: 13.31 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.6454132199287415]