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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01076/0.01076, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 244.2 MB, free: 7.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 110.2 kB / 295.4 MB, free: 7.594 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009676/0.0009676, allocations: 47.92 kB / 356.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.204, allocations: 50.33 MB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002308/0.2064, allocations: 1.733 MB / 408.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2078, allocations: 1.607 MB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.2079, allocations: 4 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.2082, allocations: 47.78 kB / 410.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.2084, allocations: 91.72 kB / 410.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.2086, allocations: 68.88 kB / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.2087, allocations: 91.22 kB / 410.4 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.2088, allocations: 4.234 kB / 410.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.2088, allocations: 47.78 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.209, allocations: 31.84 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.209, allocations: 4 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.2092, allocations: 195.8 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.2093, allocations: 23.91 kB / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.2093, allocations: 39.75 kB / 410.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.2095, allocations: 225.6 kB / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2096, allocations: 0 / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2096, allocations: 0 / 411 MB, free: 24.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2096, allocations: 0 / 411 MB, free: 24.8 MB / 298.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.0004472/0.21, allocations: 459.4 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2101, allocations: 12.03 kB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.2101, allocations: 8.844 kB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2103, allocations: 212.1 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.2103, allocations: 4.375 kB / 411.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2103, allocations: 8.125 kB / 411.7 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2105, allocations: 91.38 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2105, allocations: 4 kB / 411.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2105, allocations: 3.984 kB / 411.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2105, allocations: 0 / 411.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2106, allocations: 59.89 kB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.2109, allocations: 305.6 kB / 412.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2111, allocations: 97.22 kB / 412.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.2112, allocations: 61.75 kB / 412.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2112, allocations: 0 / 412.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.2114, allocations: 134.8 kB / 412.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.2114, allocations: 0 / 412.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003534/0.2118, allocations: 231.3 kB / 412.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2118, allocations: 114.7 kB / 412.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.2119, allocations: 141.9 kB / 412.9 MB, free: 22.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2119, allocations: 29.7 kB / 412.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.212, allocations: 96.03 kB / 413 MB, free: 22.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.212, allocations: 23.66 kB / 413 MB, free: 22.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.212, allocations: 25.7 kB / 413.1 MB, free: 22.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.2121, allocations: 326.8 kB / 413.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.2122, allocations: 39.98 kB / 413.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.2122, allocations: 53.69 kB / 413.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.2124, allocations: 141.1 kB / 413.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2124, allocations: 0 / 413.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000213/0.2126, allocations: 187.1 kB / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2126, allocations: 52.06 kB / 413.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2127, allocations: 320 / 413.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2127, allocations: 4 kB / 413.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.2127, allocations: 15.98 kB / 413.9 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.2127, allocations: 0 / 413.9 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.2128, allocations: 7.938 kB / 413.9 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2128, allocations: 11.92 kB / 413.9 MB, free: 21.59 MB / 298.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 6.959e-05/0.2129, allocations: 155.5 kB / 414 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.2129, allocations: 11.91 kB / 414 MB, free: 21.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.2129, allocations: 8.375 kB / 414.1 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.213, allocations: 11.98 kB / 414.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.213, allocations: 0 / 414.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.213, allocations: 0 / 414.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.2131, allocations: 209.4 kB / 414.3 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2131, allocations: 0 / 414.3 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.2131, allocations: 8 kB / 414.3 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2131, allocations: 3.938 kB / 414.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2132, allocations: 7.938 kB / 414.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2132, allocations: 0 / 414.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2132, allocations: 7.984 kB / 414.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.2136, allocations: 0.8489 MB / 415.1 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.2137, allocations: 89.33 kB / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2137, allocations: 7.938 kB / 415.2 MB, free: 20.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.2138, allocations: 4 kB / 415.2 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2138, allocations: 15.98 kB / 415.3 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2138, allocations: 7.984 kB / 415.3 MB, free: 20.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.2139, allocations: 103.3 kB / 415.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2139, allocations: 0 / 415.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.2142, allocations: 79.98 kB / 415.4 MB, free: 19.87 MB / 298.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.0007105/0.215, allocations: 441.5 kB / 415.9 MB, free: 19.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2152, allocations: 187.3 kB / 416.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2152, allocations: 0 / 416.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.2153, allocations: 139.3 kB / 416.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.2155, allocations: 15.98 kB / 416.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.2159, allocations: 407.7 kB / 416.6 MB, free: 18.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.216, allocations: 0.7043 MB / 417.3 MB, free: 18.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.2161, allocations: 7.984 kB / 417.3 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.2161, allocations: 15.44 kB / 417.3 MB, free: 18 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2161, allocations: 3.938 kB / 417.3 MB, free: 18 MB / 298.7 MB Notification: Performance of Templates: time 0.004028/0.2201, allocations: 2.5 MB / 419.8 MB, free: 15.51 MB / 298.7 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)