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.001727/0.001727, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001874/0.001874, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.01895/0.01895, allocations: 2.258 MB / 261.8 MB, free: 10.79 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 2.595e-06/2.595e-06, allocations: 0 / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.189e-05, allocations: 2.312 kB / 332.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.00359/0.003622, allocations: 1.682 MB / 333.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.006567, allocations: 1.707 MB / 335.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.006701, allocations: 0 / 335.5 MB, free: 13.36 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.0005584/0.00726, allocations: 51.7 kB / 335.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.007916, allocations: 131.3 kB / 335.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.008269, allocations: 83.72 kB / 335.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.008477, allocations: 95.69 kB / 335.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.008587, allocations: 8.234 kB / 335.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.008718, allocations: 51.84 kB / 335.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.008917, allocations: 43.83 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.008943, allocations: 4 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.01281, allocations: 0.5331 MB / 336.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.01292, allocations: 23.92 kB / 336.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01303, allocations: 27.84 kB / 336.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008007/0.01383, allocations: 259.2 kB / 336.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.01384, allocations: 4 kB / 336.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.01384, allocations: 0 / 336.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01385, allocations: 0 / 336.8 MB, free: 12.25 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.0008255/0.01468, allocations: 383.2 kB / 337.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.01473, allocations: 8.031 kB / 337.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.01484, allocations: 24.84 kB / 337.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.0151, allocations: 139.6 kB / 337.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.01512, allocations: 8.375 kB / 337.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.01514, allocations: 384 / 337.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.01542, allocations: 129.6 kB / 337.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.01543, allocations: 3.938 kB / 337.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.01545, allocations: 0 / 337.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.01546, allocations: 0 / 337.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.01563, allocations: 89.66 kB / 337.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.01607, allocations: 237.4 kB / 337.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.01637, allocations: 126.8 kB / 337.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.01648, allocations: 79.45 kB / 338 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.01651, allocations: 0 / 338 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.01673, allocations: 176.4 kB / 338.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.01673, allocations: 0 / 338.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005612/0.0173, allocations: 298.7 kB / 338.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.01735, allocations: 114.8 kB / 338.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.01747, allocations: 137.8 kB / 338.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01749, allocations: 29.7 kB / 338.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.01754, allocations: 88.14 kB / 338.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.01757, allocations: 31.73 kB / 338.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.01764, allocations: 21.72 kB / 338.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.01772, allocations: 322.8 kB / 339.2 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.01781, allocations: 73.67 kB / 339.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.0179, allocations: 83.41 kB / 339.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.01808, allocations: 157 kB / 339.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01808, allocations: 3.938 kB / 339.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003042/0.01839, allocations: 236.8 kB / 339.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.01843, allocations: 37.7 kB / 339.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01844, allocations: 0 / 339.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.01847, allocations: 7.984 kB / 339.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.01855, allocations: 8 kB / 339.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.01856, allocations: 0 / 339.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.01865, allocations: 11.92 kB / 339.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.01866, allocations: 4 kB / 339.8 MB, free: 8.914 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 0.0001208/0.01878, allocations: 167.4 kB / 339.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.01883, allocations: 15.95 kB / 339.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.01886, allocations: 12.44 kB / 340 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01887, allocations: 0 / 340 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.01887, allocations: 0 / 340 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01888, allocations: 0 / 340 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01903, allocations: 141.2 kB / 340.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01903, allocations: 3.938 kB / 340.1 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.01909, allocations: 15.92 kB / 340.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01909, allocations: 0 / 340.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01911, allocations: 8 kB / 340.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01911, allocations: 0 / 340.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01911, allocations: 0 / 340.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.01946, allocations: 285.3 kB / 340.4 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.0195, allocations: 15.89 kB / 340.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.01953, allocations: 7.984 kB / 340.4 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.01959, allocations: 4 kB / 340.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.01965, allocations: 12.31 kB / 340.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.01967, allocations: 4 kB / 340.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.01973, allocations: 106.2 kB / 340.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01973, allocations: 4 kB / 340.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.02011, allocations: 83.73 kB / 340.6 MB, free: 7.965 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.001857/0.02197, allocations: 478.3 kB / 341.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.02242, allocations: 230.8 kB / 341.3 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.02242, allocations: 0 / 341.3 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.02256, allocations: 145 kB / 341.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.0229, allocations: 23.19 kB / 341.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.02352, allocations: 280.8 kB / 341.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.02359, allocations: 89.11 kB / 341.8 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.02366, allocations: 11.98 kB / 341.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.02371, allocations: 16.48 kB / 341.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of SimCode: time 1.302e-06/0.02371, allocations: 0 / 341.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of Templates: time 0.006779/0.03049, allocations: 2.626 MB / 344.5 MB, free: 4.133 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.12306744500529]