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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 177.1 MB / 203.4 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01162/0.01162, allocations: 2.263 MB / 262.2 MB, free: 10.79 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 3.984 kB / 332.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.062e-05, allocations: 6.25 kB / 332.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002068/0.002098, allocations: 1.727 MB / 334.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003547, allocations: 1.749 MB / 336.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.003616, allocations: 8 kB / 336.3 MB, free: 12.93 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:269:3-299:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.003962, allocations: 55.64 kB / 336.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.004235, allocations: 119.4 kB / 336.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.004393, allocations: 95.64 kB / 336.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.004501, allocations: 83.77 kB / 336.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.004581, allocations: 12.22 kB / 336.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.004658, allocations: 55.83 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.004788, allocations: 35.89 kB / 336.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.004805, allocations: 12 kB / 336.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.004993, allocations: 187.6 kB / 336.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.005046, allocations: 23.92 kB / 336.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.005087, allocations: 19.92 kB / 337 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.005352, allocations: 247.3 kB / 337.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005356, allocations: 0 / 337.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005357, allocations: 0 / 337.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005362, allocations: 0 / 337.2 MB, free: 11.99 MB / 266.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.0004217/0.005784, allocations: 489.4 kB / 337.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.00582, allocations: 8.031 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.005869, allocations: 20.89 kB / 337.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.006007, allocations: 139.4 kB / 337.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.006018, allocations: 384 / 337.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.00603, allocations: 12.31 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.006187, allocations: 124 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.006194, allocations: 3.938 kB / 338 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006204, allocations: 0 / 338 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.00621, allocations: 4 kB / 338 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.006262, allocations: 53.67 kB / 338 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.006534, allocations: 303.5 kB / 338.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.006693, allocations: 119.8 kB / 338.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.006736, allocations: 61.2 kB / 338.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.006748, allocations: 4 kB / 338.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.006868, allocations: 159.8 kB / 338.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.52e-07/0.006869, allocations: 0 / 338.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002596/0.007128, allocations: 226.6 kB / 338.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.007155, allocations: 106.8 kB / 339 MB, free: 9.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.007228, allocations: 193.8 kB / 339.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.007237, allocations: 29.7 kB / 339.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.007266, allocations: 142.9 kB / 339.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.007291, allocations: 27.88 kB / 339.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.007324, allocations: 35.36 kB / 339.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.007366, allocations: 0.4961 MB / 339.9 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.007398, allocations: 41.7 kB / 340 MB, free: 8.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.007433, allocations: 69.05 kB / 340 MB, free: 8.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.007503, allocations: 118.8 kB / 340.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.007506, allocations: 3.938 kB / 340.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.007636, allocations: 188.8 kB / 340.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.007662, allocations: 41.69 kB / 340.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007667, allocations: 4 kB / 340.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.007678, allocations: 0 / 340.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.007731, allocations: 11.94 kB / 340.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007737, allocations: 4 kB / 340.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.007773, allocations: 11.92 kB / 340.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007781, allocations: 4 kB / 340.4 MB, free: 8.414 MB / 266.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 5.854e-05/0.00784, allocations: 202.2 kB / 340.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.007858, allocations: 11.95 kB / 340.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.007879, allocations: 12.44 kB / 340.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007881, allocations: 0 / 340.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007885, allocations: 4 kB / 340.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.007887, allocations: 4 kB / 340.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.998e-05/0.007957, allocations: 140.6 kB / 340.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007959, allocations: 7.875 kB / 340.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.007984, allocations: 19.92 kB / 340.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007985, allocations: 0 / 340.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.007995, allocations: 8 kB / 340.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007997, allocations: 0 / 340.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007998, allocations: 0 / 340.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.008167, allocations: 243.9 kB / 341 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.008181, allocations: 23.81 kB / 341.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.008203, allocations: 0 / 341.1 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.008233, allocations: 8 kB / 341.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.008266, allocations: 11.97 kB / 341.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.00828, allocations: 4 kB / 341.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.435e-05/0.008314, allocations: 145.8 kB / 341.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008314, allocations: 3.938 kB / 341.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.008514, allocations: 75.8 kB / 341.3 MB, free: 7.414 MB / 266.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.0009575/0.009472, allocations: 0.4956 MB / 341.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.009647, allocations: 190.4 kB / 342 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009648, allocations: 3.938 kB / 342 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.009701, allocations: 128.8 kB / 342.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.009885, allocations: 27.92 kB / 342.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.01022, allocations: 249.7 kB / 342.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.01025, allocations: 69.78 kB / 342.5 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.01028, allocations: 15.92 kB / 342.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.01031, allocations: 12.5 kB / 342.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01031, allocations: 0 / 342.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of Templates: time 0.004472/0.01478, allocations: 2.878 MB / 345.4 MB, free: 3.398 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7661649719811976]