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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 198.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1049/0.1049, allocations: 2.935 MB / 293.6 MB, free: 3.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 354.6 MB, free: 4.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08208, allocations: 50.34 MB / 405 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002804/0.08495, allocations: 1.743 MB / 406.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.08704, allocations: 1.596 MB / 408.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.08711, allocations: 4 kB / 408.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.08744, allocations: 47.83 kB / 408.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.08771, allocations: 99.59 kB / 408.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.0879, allocations: 67.88 kB / 408.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.08801, allocations: 79.81 kB / 408.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/0.08809, allocations: 12.22 kB / 408.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.08817, allocations: 35.8 kB / 408.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.08835, allocations: 51.77 kB / 408.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.08838, allocations: 4 kB / 408.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.08865, allocations: 195.7 kB / 408.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.08872, allocations: 19.97 kB / 408.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.08877, allocations: 31.8 kB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.089, allocations: 163.9 kB / 409.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.08901, allocations: 4 kB / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.08902, allocations: 0 / 409.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.08903, allocations: 0 / 409.1 MB, free: 13.69 MB / 350.1 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.0005256/0.08956, allocations: 460.8 kB / 409.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.0896, allocations: 12.03 kB / 409.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.08965, allocations: 8.844 kB / 409.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.08983, allocations: 203.9 kB / 409.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.08985, allocations: 4.375 kB / 409.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.08987, allocations: 8.125 kB / 409.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.09009, allocations: 91.38 kB / 409.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.0901, allocations: 0 / 409.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.09012, allocations: 8 kB / 409.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.09013, allocations: 0 / 409.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.09027, allocations: 51.91 kB / 410 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.09062, allocations: 301.8 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.09085, allocations: 109.2 kB / 410.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.091, allocations: 61.73 kB / 410.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.09101, allocations: 3.938 kB / 410.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.09123, allocations: 134.8 kB / 410.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.09124, allocations: 0 / 410.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004535/0.0917, allocations: 227.2 kB / 410.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.09179, allocations: 106.8 kB / 410.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.09192, allocations: 151.7 kB / 411 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.09194, allocations: 25.7 kB / 411 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.09199, allocations: 96.08 kB / 411.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.09203, allocations: 31.55 kB / 411.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.09208, allocations: 25.8 kB / 411.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.09218, allocations: 326.8 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.09227, allocations: 35.97 kB / 411.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.09237, allocations: 53.69 kB / 411.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.09256, allocations: 145.1 kB / 411.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09257, allocations: 0 / 411.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003282/0.09291, allocations: 191.2 kB / 411.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.09295, allocations: 37.7 kB / 412 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.09296, allocations: 0 / 412 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.09298, allocations: 11.94 kB / 412 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.09304, allocations: 11.98 kB / 412 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.09306, allocations: 0 / 412 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.09313, allocations: 7.906 kB / 412 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.09315, allocations: 7.938 kB / 412 MB, free: 10.49 MB / 350.1 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.0001137/0.09327, allocations: 159.5 kB / 412.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.0933, allocations: 11.91 kB / 412.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.09333, allocations: 16.3 kB / 412.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09334, allocations: 4 kB / 412.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.09335, allocations: 0 / 412.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09336, allocations: 0 / 412.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.09355, allocations: 197.5 kB / 412.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09356, allocations: 0 / 412.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.09362, allocations: 15.98 kB / 412.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.09363, allocations: 0 / 412.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.09365, allocations: 8 kB / 412.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.09366, allocations: 7.875 kB / 412.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.09366, allocations: 0 / 412.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.09401, allocations: 243.5 kB / 412.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.09407, allocations: 84.95 kB / 412.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.09411, allocations: 11.98 kB / 412.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.09417, allocations: 8 kB / 412.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.09422, allocations: 7.984 kB / 412.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.09424, allocations: 7.938 kB / 412.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.09431, allocations: 103.3 kB / 412.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.09432, allocations: 0 / 412.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.09466, allocations: 83.92 kB / 413 MB, free: 9.426 MB / 350.1 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.000834/0.0955, allocations: 441.6 kB / 413.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.09579, allocations: 187.3 kB / 413.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.0958, allocations: 0 / 413.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.09596, allocations: 135.3 kB / 413.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.09618, allocations: 19.98 kB / 413.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.09662, allocations: 270.7 kB / 414 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.09685, allocations: 0.6965 MB / 414.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.0969, allocations: 19.42 kB / 414.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09691, allocations: 0 / 414.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.1013, allocations: 2.603 MB / 417.3 MB, free: 5.109 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile (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)