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.0009162/0.0009162, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009487/0.0009486, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1248/0.1248, allocations: 2.943 MB / 295 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12.22 kB / 357.1 MB, free: 3.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08309, allocations: 51.35 MB / 408.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.001937/0.08505, allocations: 1.396 MB / 409.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.08724, allocations: 1.573 MB / 411.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.08733, allocations: 0 / 411.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.08766, allocations: 51.72 kB / 411.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.08796, allocations: 103.6 kB / 411.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.0882, allocations: 63.86 kB / 411.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.08831, allocations: 79.77 kB / 411.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.0884, allocations: 16.22 kB / 411.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.08848, allocations: 35.84 kB / 411.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.08864, allocations: 39.72 kB / 411.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.0887, allocations: 11.94 kB / 411.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.08901, allocations: 203.7 kB / 412 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.08907, allocations: 8 kB / 412 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.08914, allocations: 57.5 kB / 412.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.0894, allocations: 171.8 kB / 412.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08941, allocations: 0 / 412.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.08941, allocations: 0 / 412.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.08942, allocations: 0 / 412.3 MB, free: 12.17 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.0005541/0.08998, allocations: 448.9 kB / 412.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.09002, allocations: 8.031 kB / 412.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.09006, allocations: 8.844 kB / 412.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.09026, allocations: 196.2 kB / 412.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.09028, allocations: 4.375 kB / 412.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.0903, allocations: 4.125 kB / 412.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.09052, allocations: 107.3 kB / 413 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.09054, allocations: 0 / 413 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.09056, allocations: 8 kB / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.09057, allocations: 0 / 413 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.09072, allocations: 55.97 kB / 413.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.09114, allocations: 297.6 kB / 413.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.0914, allocations: 113.2 kB / 413.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.09152, allocations: 65.69 kB / 413.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.09154, allocations: 0 / 413.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.09181, allocations: 142.7 kB / 413.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.09182, allocations: 0 / 413.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004491/0.09227, allocations: 231.2 kB / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.09234, allocations: 106.8 kB / 414 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.09246, allocations: 144.4 kB / 414.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.0925, allocations: 33.7 kB / 414.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.09258, allocations: 88.28 kB / 414.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.09263, allocations: 39.53 kB / 414.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.09266, allocations: 13.72 kB / 414.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.09277, allocations: 326.8 kB / 414.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.09286, allocations: 35.98 kB / 414.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.09296, allocations: 61.69 kB / 414.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.09316, allocations: 149 kB / 414.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.09318, allocations: 4 kB / 414.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003014/0.09348, allocations: 191.1 kB / 415.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.09353, allocations: 43.56 kB / 415.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.09354, allocations: 0 / 415.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.09356, allocations: 4 kB / 415.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.09363, allocations: 11.98 kB / 415.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.09367, allocations: 0 / 415.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.09376, allocations: 12 kB / 415.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.09378, allocations: 7.938 kB / 415.2 MB, free: 8.957 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.0001219/0.09391, allocations: 159.5 kB / 415.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.09394, allocations: 15.84 kB / 415.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.09397, allocations: 8.375 kB / 415.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.09398, allocations: 4 kB / 415.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.09399, allocations: 3.984 kB / 415.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09399, allocations: 0 / 415.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.09415, allocations: 205.5 kB / 415.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.09416, allocations: 0 / 415.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.09422, allocations: 8 kB / 415.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.09423, allocations: 0 / 415.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.09425, allocations: 8 kB / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.09426, allocations: 4 kB / 415.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.09427, allocations: 3.984 kB / 415.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.09463, allocations: 255.4 kB / 415.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.09469, allocations: 85.02 kB / 415.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.09474, allocations: 11.98 kB / 415.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.09485, allocations: 16 kB / 415.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.09489, allocations: 336 / 415.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.09491, allocations: 11.92 kB / 416 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.09499, allocations: 107.3 kB / 416.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.095, allocations: 3.938 kB / 416.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.09532, allocations: 75.98 kB / 416.1 MB, free: 7.879 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.0008976/0.09622, allocations: 434.3 kB / 416.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.09654, allocations: 195.2 kB / 416.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.09656, allocations: 0 / 416.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.09672, allocations: 139.4 kB / 416.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.09697, allocations: 19.36 kB / 416.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.09739, allocations: 277.6 kB / 417.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.09763, allocations: 0.6926 MB / 417.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.09768, allocations: 19.42 kB / 417.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.09769, allocations: 0 / 417.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Templates: time 0.004552/0.1022, allocations: 2.586 MB / 420.5 MB, free: 3.578 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)