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.0009521/0.0009521, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009889/0.0009889, allocations: 173 kB / 23.49 MB, free: 1.055 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.01177/0.01177, allocations: 2.262 MB / 262.5 MB, free: 10.86 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.954e-06/1.954e-06, allocations: 0 / 332.8 MB, free: 16.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.153e-05, allocations: 2.312 kB / 332.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002832/0.002864, allocations: 1.725 MB / 334.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.004855, allocations: 1.757 MB / 336.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.004944, allocations: 0 / 336.3 MB, free: 13.27 MB / 266.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.0004459/0.00539, allocations: 47.66 kB / 336.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.005757, allocations: 131.4 kB / 336.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.005943, allocations: 83.72 kB / 336.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.006063, allocations: 95.69 kB / 336.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.006153, allocations: 8.219 kB / 336.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.006231, allocations: 55.84 kB / 336.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.006365, allocations: 31.89 kB / 336.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.006382, allocations: 4 kB / 336.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.006598, allocations: 195.6 kB / 336.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.006651, allocations: 19.92 kB / 336.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.006694, allocations: 15.94 kB / 337 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006958, allocations: 247.3 kB / 337.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.006963, allocations: 4 kB / 337.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006964, allocations: 0 / 337.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006969, allocations: 0 / 337.2 MB, free: 12.34 MB / 266.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.000481/0.00745, allocations: 493.4 kB / 337.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.007486, allocations: 8.031 kB / 337.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.007548, allocations: 16.89 kB / 337.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.007711, allocations: 145 kB / 337.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.007722, allocations: 4.375 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.007735, allocations: 4.375 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.007891, allocations: 128 kB / 338 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007899, allocations: 3.938 kB / 338 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.00791, allocations: 4 kB / 338 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.007918, allocations: 0 / 338 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.00797, allocations: 57.61 kB / 338 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.008228, allocations: 295.5 kB / 338.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.008389, allocations: 119.8 kB / 338.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.008433, allocations: 61.11 kB / 338.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.008445, allocations: 4 kB / 338.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.00857, allocations: 159.8 kB / 338.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.008571, allocations: 3.938 kB / 338.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002574/0.008828, allocations: 230.8 kB / 338.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.008857, allocations: 110.8 kB / 339 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.008933, allocations: 201.1 kB / 339.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.008941, allocations: 25.7 kB / 339.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.008969, allocations: 138.9 kB / 339.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.008996, allocations: 23.8 kB / 339.4 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.009031, allocations: 35.38 kB / 339.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.009075, allocations: 0.4923 MB / 339.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.009109, allocations: 49.69 kB / 340 MB, free: 9.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.009144, allocations: 69.06 kB / 340 MB, free: 9.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.013e-05/0.009224, allocations: 114.7 kB / 340.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.009227, allocations: 7.938 kB / 340.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001395/0.009367, allocations: 184.8 kB / 340.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.009392, allocations: 37.69 kB / 340.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009397, allocations: 0 / 340.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.009412, allocations: 0 / 340.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.009468, allocations: 15.98 kB / 340.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.009474, allocations: 0 / 340.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.009511, allocations: 11.94 kB / 340.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.009519, allocations: 8 kB / 340.4 MB, free: 8.758 MB / 266.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 6.125e-05/0.009581, allocations: 198.2 kB / 340.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.009599, allocations: 15.95 kB / 340.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.009621, allocations: 8.438 kB / 340.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009624, allocations: 3.938 kB / 340.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.009627, allocations: 4 kB / 340.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009631, allocations: 3.984 kB / 340.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.319e-05/0.009704, allocations: 144.6 kB / 340.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.009706, allocations: 3.938 kB / 340.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.009731, allocations: 8 kB / 340.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009733, allocations: 7.938 kB / 340.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.009744, allocations: 8 kB / 340.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.009744, allocations: 0 / 340.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.009746, allocations: 4 kB / 340.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.009914, allocations: 243.4 kB / 341 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.009929, allocations: 24.08 kB / 341.1 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.009951, allocations: 8 kB / 341.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.00998, allocations: 4 kB / 341.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.01001, allocations: 3.984 kB / 341.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.01003, allocations: 8 kB / 341.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.636e-05/0.01007, allocations: 147.2 kB / 341.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01007, allocations: 0 / 341.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01029, allocations: 71.8 kB / 341.3 MB, free: 7.762 MB / 266.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.001047/0.01134, allocations: 0.5038 MB / 341.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.01151, allocations: 198.4 kB / 342 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01151, allocations: 0 / 342 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.01156, allocations: 128.8 kB / 342.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01174, allocations: 23.92 kB / 342.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.01207, allocations: 253.6 kB / 342.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.639e-05/0.0121, allocations: 72.14 kB / 342.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.01213, allocations: 8 kB / 342.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.01216, allocations: 20.48 kB / 342.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01216, allocations: 0 / 342.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of Templates: time 0.004097/0.01626, allocations: 2.625 MB / 345.1 MB, free: 3.988 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.9608914819546044]