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.0008942/0.0008943, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001025/0.001026, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1874/0.1874, allocations: 2.954 MB / 294 MB, free: 3.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 355.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 51.34 MB / 407.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002006/0.1166, allocations: 1.377 MB / 408.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1186, allocations: 1.495 MB / 410.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.1186, allocations: 3.938 kB / 410.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1189, allocations: 35.84 kB / 410.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1192, allocations: 107.6 kB / 410.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1194, allocations: 59.92 kB / 410.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1195, allocations: 71.72 kB / 410.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.1196, allocations: 16.2 kB / 410.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.1197, allocations: 31.86 kB / 410.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1199, allocations: 35.83 kB / 410.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1199, allocations: 4 kB / 410.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.1202, allocations: 187.7 kB / 410.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1203, allocations: 19.97 kB / 410.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1204, allocations: 41.64 kB / 410.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1206, allocations: 159.9 kB / 410.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1206, allocations: 0 / 410.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1206, allocations: 0 / 410.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1206, allocations: 0 / 410.8 MB, free: 12.68 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.0006038/0.1212, allocations: 444.7 kB / 411.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.1213, allocations: 8.031 kB / 411.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.1213, allocations: 15.83 kB / 411.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1216, allocations: 198.8 kB / 411.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1216, allocations: 11.94 kB / 411.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1216, allocations: 4 kB / 411.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1218, allocations: 91.38 kB / 411.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1218, allocations: 0 / 411.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1219, allocations: 7.984 kB / 411.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1219, allocations: 0 / 411.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.122, allocations: 63.91 kB / 411.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1224, allocations: 305.6 kB / 412 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1227, allocations: 101.2 kB / 412.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1228, allocations: 57.75 kB / 412.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1229, allocations: 4 kB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.1231, allocations: 138.8 kB / 412.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1231, allocations: 0 / 412.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004633/0.1236, allocations: 235.3 kB / 412.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1237, allocations: 110.8 kB / 412.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1239, allocations: 143.6 kB / 412.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1239, allocations: 33.69 kB / 412.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1239, allocations: 96.14 kB / 412.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.124, allocations: 27.64 kB / 412.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.124, allocations: 3.938 kB / 412.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1242, allocations: 318.8 kB / 413.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1243, allocations: 39.97 kB / 413.2 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.1244, allocations: 53.7 kB / 413.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/0.1245, allocations: 73.59 kB / 413.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1245, allocations: 0 / 413.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003281/0.1248, allocations: 191.2 kB / 413.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.1248, allocations: 37.7 kB / 413.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1249, allocations: 3.984 kB / 413.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1249, allocations: 0 / 413.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.1249, allocations: 8 kB / 413.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.125, allocations: 8 kB / 413.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.125, allocations: 7.938 kB / 413.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.125, allocations: 7.984 kB / 413.6 MB, free: 9.59 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.1252, allocations: 159.5 kB / 413.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1252, allocations: 11.91 kB / 413.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.1252, allocations: 8.375 kB / 413.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1252, allocations: 4 kB / 413.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1253, allocations: 4 kB / 413.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1253, allocations: 3.938 kB / 413.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.1256, allocations: 209.5 kB / 414 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1256, allocations: 0 / 414 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.1256, allocations: 11.98 kB / 414 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1256, allocations: 0 / 414 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1257, allocations: 4 kB / 414 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1257, allocations: 0 / 414 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1257, allocations: 4 kB / 414 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.126, allocations: 255.7 kB / 414.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1261, allocations: 92.94 kB / 414.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1261, allocations: 4 kB / 414.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.1262, allocations: 12.06 kB / 414.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1262, allocations: 11.97 kB / 414.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1263, allocations: 8 kB / 414.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.964e-05/0.1263, allocations: 114.2 kB / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1264, allocations: 0 / 414.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1266, allocations: 75.98 kB / 414.6 MB, free: 8.508 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1277, allocations: 427.2 kB / 415 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.128, allocations: 187.3 kB / 415.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.128, allocations: 0 / 415.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1283, allocations: 147.3 kB / 415.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1286, allocations: 15.95 kB / 415.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1291, allocations: 259.9 kB / 415.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.1295, allocations: 0.7004 MB / 416.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.1296, allocations: 15.97 kB / 416.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1297, allocations: 11.44 kB / 416.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1297, allocations: 0 / 416.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Templates: time 0.005646/0.1354, allocations: 2.398 MB / 418.7 MB, free: 4.398 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)