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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.001129/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 191.3 kB / 16.14 MB, free: 6.688 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1217/0.1217, allocations: 2.948 MB / 292.9 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 55.91 kB / 354 MB, free: 4.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1021, allocations: 50.34 MB / 404.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002744/0.1049, allocations: 1.733 MB / 406.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1069, allocations: 1.596 MB / 407.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.107, allocations: 0 / 407.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1073, allocations: 55.72 kB / 407.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1075, allocations: 95.7 kB / 407.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.1077, allocations: 67.81 kB / 407.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.1078, allocations: 83.7 kB / 408 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.476e-05/0.1079, allocations: 16.22 kB / 408 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.108, allocations: 39.78 kB / 408 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1081, allocations: 39.84 kB / 408 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1081, allocations: 0 / 408 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1084, allocations: 203.7 kB / 408.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.1084, allocations: 19.92 kB / 408.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.1085, allocations: 35.75 kB / 408.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1088, allocations: 235.7 kB / 408.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1088, allocations: 0 / 408.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1088, allocations: 0 / 408.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1088, allocations: 0 / 408.5 MB, free: 14.29 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.0004959/0.1093, allocations: 452.9 kB / 409 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1093, allocations: 8.031 kB / 409 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1094, allocations: 12.84 kB / 409 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1096, allocations: 204 kB / 409.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1096, allocations: 384 / 409.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1096, allocations: 8.125 kB / 409.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1098, allocations: 95.38 kB / 409.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1098, allocations: 0 / 409.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1099, allocations: 0 / 409.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1099, allocations: 8 kB / 409.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.11, allocations: 59.89 kB / 409.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1104, allocations: 305.7 kB / 409.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1106, allocations: 105.2 kB / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.1107, allocations: 57.75 kB / 409.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1107, allocations: 0 / 409.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1109, allocations: 134.8 kB / 409.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.111, allocations: 4 kB / 410 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004192/0.1114, allocations: 235.1 kB / 410.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1114, allocations: 110.8 kB / 410.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1116, allocations: 137.8 kB / 410.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1116, allocations: 25.7 kB / 410.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.1116, allocations: 100 kB / 410.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1117, allocations: 23.66 kB / 410.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1117, allocations: 25.7 kB / 410.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.1118, allocations: 326.8 kB / 410.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.1119, allocations: 39.98 kB / 411 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.112, allocations: 57.75 kB / 411 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1122, allocations: 149 kB / 411.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1122, allocations: 0 / 411.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002755/0.1125, allocations: 187.1 kB / 411.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.1125, allocations: 37.69 kB / 411.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1125, allocations: 11.94 kB / 411.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1125, allocations: 0 / 411.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.1126, allocations: 8 kB / 411.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1126, allocations: 3.984 kB / 411.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1127, allocations: 8 kB / 411.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1127, allocations: 7.938 kB / 411.4 MB, free: 11.08 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 9.915e-05/0.1128, allocations: 159.5 kB / 411.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1128, allocations: 7.906 kB / 411.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.1129, allocations: 16.38 kB / 411.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1129, allocations: 0 / 411.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1129, allocations: 0 / 411.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1129, allocations: 7.984 kB / 411.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.113, allocations: 201.5 kB / 411.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.113, allocations: 0 / 411.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1131, allocations: 8 kB / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1131, allocations: 4 kB / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1131, allocations: 3.938 kB / 411.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1131, allocations: 4 kB / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1131, allocations: 0 / 411.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.1135, allocations: 247.5 kB / 412.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1135, allocations: 88.95 kB / 412.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1135, allocations: 12.06 kB / 412.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.1136, allocations: 7.984 kB / 412.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1136, allocations: 3.938 kB / 412.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1137, allocations: 11.94 kB / 412.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.1137, allocations: 121.4 kB / 412.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1138, allocations: 0 / 412.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.114, allocations: 71.98 kB / 412.4 MB, free: 10.02 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.0007852/0.1148, allocations: 430.6 kB / 412.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1151, allocations: 187.3 kB / 413 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1151, allocations: 0 / 413 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1153, allocations: 139.3 kB / 413.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1155, allocations: 11.94 kB / 413.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1159, allocations: 265.1 kB / 413.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1161, allocations: 0.7043 MB / 414.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.1161, allocations: 8 kB / 414.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.1162, allocations: 23.36 kB / 414.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1162, allocations: 3.938 kB / 414.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Templates: time 0.004598/0.1208, allocations: 2.447 MB / 416.6 MB, free: 5.848 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)