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.0008407/0.0008407, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005705/0.005705, allocations: 171 kB / 16.27 MB, free: 6.332 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1621/0.1621, allocations: 2.947 MB / 294.4 MB, free: 3.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 8 kB / 356.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09814, allocations: 51.35 MB / 407.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002083/0.1003, allocations: 1.4 MB / 409.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1024, allocations: 1.569 MB / 410.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.1025, allocations: 4 kB / 410.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1029, allocations: 51.83 kB / 410.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1032, allocations: 99.58 kB / 410.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1034, allocations: 71.75 kB / 411 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1035, allocations: 75.83 kB / 411.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.1036, allocations: 16.2 kB / 411.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.1037, allocations: 35.8 kB / 411.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1039, allocations: 43.77 kB / 411.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1039, allocations: 4 kB / 411.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.1042, allocations: 195.7 kB / 411.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.1043, allocations: 15.98 kB / 411.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1043, allocations: 65.48 kB / 411.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1047, allocations: 227.7 kB / 411.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1047, allocations: 0 / 411.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1047, allocations: 0 / 411.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1047, allocations: 0 / 411.7 MB, free: 12.08 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.0006105/0.1053, allocations: 448.9 kB / 412.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1054, allocations: 8.031 kB / 412.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.1054, allocations: 12.84 kB / 412.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1057, allocations: 192.2 kB / 412.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1057, allocations: 8.375 kB / 412.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1057, allocations: 8.125 kB / 412.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.106, allocations: 107.2 kB / 412.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.106, allocations: 3.938 kB / 412.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.106, allocations: 4 kB / 412.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.106, allocations: 0 / 412.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1062, allocations: 51.97 kB / 412.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1066, allocations: 313.6 kB / 412.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1069, allocations: 101.2 kB / 412.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.107, allocations: 61.75 kB / 413 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.107, allocations: 0 / 413 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1072, allocations: 146.7 kB / 413.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1073, allocations: 3.938 kB / 413.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004377/0.1077, allocations: 231.4 kB / 413.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.1078, allocations: 106.8 kB / 413.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1079, allocations: 141.8 kB / 413.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1079, allocations: 25.7 kB / 413.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.108, allocations: 96.12 kB / 413.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.108, allocations: 35.69 kB / 413.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1081, allocations: 17.72 kB / 413.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1082, allocations: 322.8 kB / 414.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1083, allocations: 39.98 kB / 414.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.1083, allocations: 57.69 kB / 414.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1085, allocations: 153 kB / 414.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1086, allocations: 0 / 414.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002926/0.1089, allocations: 199.1 kB / 414.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.1089, allocations: 37.69 kB / 414.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1089, allocations: 3.938 kB / 414.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1089, allocations: 0 / 414.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.109, allocations: 11.98 kB / 414.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.109, allocations: 4 kB / 414.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.1091, allocations: 4 kB / 414.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1091, allocations: 7.938 kB / 414.6 MB, free: 8.859 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.0001367/0.1093, allocations: 165.2 kB / 414.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.1093, allocations: 11.91 kB / 414.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.1093, allocations: 8.375 kB / 414.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1093, allocations: 7.984 kB / 414.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1093, allocations: 0 / 414.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1094, allocations: 0 / 414.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1095, allocations: 209.4 kB / 415 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1095, allocations: 0 / 415 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.1096, allocations: 8 kB / 415 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1096, allocations: 4 kB / 415 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1096, allocations: 4 kB / 415 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1096, allocations: 0 / 415 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1096, allocations: 7.984 kB / 415 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.11, allocations: 251.4 kB / 415.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.1101, allocations: 96.95 kB / 415.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1101, allocations: 3.984 kB / 415.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.1102, allocations: 12.06 kB / 415.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1103, allocations: 8 kB / 415.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1103, allocations: 11.92 kB / 415.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.1104, allocations: 105.9 kB / 415.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1104, allocations: 0 / 415.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.1107, allocations: 75.98 kB / 415.5 MB, free: 7.781 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.000964/0.1117, allocations: 428.8 kB / 416 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1121, allocations: 199.2 kB / 416.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1121, allocations: 4 kB / 416.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1123, allocations: 135.4 kB / 416.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1125, allocations: 18.23 kB / 416.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.113, allocations: 275.8 kB / 416.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1133, allocations: 0.6926 MB / 417.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.1133, allocations: 11.98 kB / 417.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1134, allocations: 11.44 kB / 417.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1134, allocations: 0 / 417.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.005795/0.1192, allocations: 2.438 MB / 419.7 MB, free: 3.617 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)