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.001084/0.001084, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001247/0.001247, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 1.057/1.057, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.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.01039/0.01039, allocations: 2.261 MB / 262.5 MB, free: 10.64 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.413e-06/1.413e-06, allocations: 0 / 333.2 MB, free: 1.266 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.514e-05, allocations: 2.312 kB / 333.2 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002829/0.002854, allocations: 1.729 MB / 335 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.004967, allocations: 1.761 MB / 336.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.005053, allocations: 3.938 kB / 336.7 MB, free: 13.74 MB / 314.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.0003259/0.005378, allocations: 51.64 kB / 336.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.005839, allocations: 127.4 kB / 336.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.006074, allocations: 79.72 kB / 337 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.006216, allocations: 95.75 kB / 337.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.0063, allocations: 8.219 kB / 337.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.006399, allocations: 55.84 kB / 337.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.006548, allocations: 31.89 kB / 337.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.006566, allocations: 4 kB / 337.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.006872, allocations: 195.6 kB / 337.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.006922, allocations: 19.92 kB / 337.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.006967, allocations: 27.91 kB / 337.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.007301, allocations: 235.3 kB / 337.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007303, allocations: 0 / 337.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007303, allocations: 0 / 337.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.007307, allocations: 0 / 337.6 MB, free: 12.82 MB / 314.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.0004484/0.007755, allocations: 493.5 kB / 338.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.007788, allocations: 12.03 kB / 338.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.007827, allocations: 12.83 kB / 338.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.008247, allocations: 144.3 kB / 338.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.008259, allocations: 8.375 kB / 338.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.00827, allocations: 4.375 kB / 338.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.008427, allocations: 123.9 kB / 338.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.008435, allocations: 3.938 kB / 338.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.008444, allocations: 4 kB / 338.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.00845, allocations: 4 kB / 338.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.008504, allocations: 57.61 kB / 338.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.008767, allocations: 268.2 kB / 338.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.008919, allocations: 107.8 kB / 338.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.008967, allocations: 61.2 kB / 338.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.008984, allocations: 7.875 kB / 338.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.009136, allocations: 163.8 kB / 339.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.009137, allocations: 0 / 339.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002774/0.009415, allocations: 218.9 kB / 339.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.009455, allocations: 114.8 kB / 339.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.009547, allocations: 189 kB / 339.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.009561, allocations: 29.7 kB / 339.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.00961, allocations: 146.8 kB / 339.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.009639, allocations: 23.8 kB / 339.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.009684, allocations: 35.34 kB / 339.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.009803, allocations: 0.4962 MB / 340.3 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.009841, allocations: 37.7 kB / 340.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.009888, allocations: 69.03 kB / 340.4 MB, free: 9.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.77e-05/0.009976, allocations: 118.7 kB / 340.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.009978, allocations: 8 kB / 340.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001787/0.01016, allocations: 176.9 kB / 340.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.01019, allocations: 37.69 kB / 340.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01019, allocations: 0 / 340.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.0102, allocations: 0 / 340.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.01026, allocations: 8 kB / 340.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01026, allocations: 0 / 340.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.01031, allocations: 19.92 kB / 340.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.01032, allocations: 0 / 340.8 MB, free: 9.309 MB / 314.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 0.0001031/0.01042, allocations: 202.2 kB / 341 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.01045, allocations: 19.89 kB / 341 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.01048, allocations: 16.38 kB / 341 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01048, allocations: 0 / 341 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01048, allocations: 0 / 341 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01049, allocations: 0 / 341 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.0106, allocations: 129.2 kB / 341.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.0106, allocations: 0 / 341.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.01063, allocations: 8 kB / 341.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01063, allocations: 0 / 341.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01065, allocations: 15.92 kB / 341.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01065, allocations: 0 / 341.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01065, allocations: 8 kB / 341.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.01087, allocations: 231.4 kB / 341.4 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.01089, allocations: 15.89 kB / 341.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.01091, allocations: 7.938 kB / 341.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.01094, allocations: 4 kB / 341.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.01097, allocations: 7.984 kB / 341.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01099, allocations: 8 kB / 341.4 MB, free: 8.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.506e-05/0.01104, allocations: 143.1 kB / 341.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01104, allocations: 0 / 341.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.01133, allocations: 79.73 kB / 341.7 MB, free: 8.348 MB / 314.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.001118/0.01245, allocations: 497.8 kB / 342.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.01266, allocations: 182.4 kB / 342.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.01267, allocations: 4 kB / 342.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.01276, allocations: 136.6 kB / 342.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01297, allocations: 27.38 kB / 342.5 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.01338, allocations: 248.1 kB / 342.7 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.01343, allocations: 64.16 kB / 342.8 MB, free: 7.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.01347, allocations: 4 kB / 342.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.01359, allocations: 110.1 kB / 342.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01359, allocations: 4 kB / 342.9 MB, free: 7.113 MB / 314.7 MB Notification: Performance of Templates: time 0.005721/0.01931, allocations: 2.913 MB / 345.8 MB, free: 4.223 MB / 314.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.9349282779730856]