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.001106/0.001106, allocations: 93.06 kB / 19.65 MB, free: 276 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.0011/0.0011, allocations: 165 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 1.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.0145/0.0145, allocations: 2.248 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.134e-06/2.134e-06, allocations: 0 / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.65e-05, allocations: 4.844 kB / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003052/0.003079, allocations: 1.725 MB / 334.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.005159, allocations: 1.757 MB / 336.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.00524, allocations: 0 / 336.3 MB, free: 12.94 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.0004247/0.005665, allocations: 55.69 kB / 336.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.006049, allocations: 131.3 kB / 336.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.006284, allocations: 83.72 kB / 336.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.006427, allocations: 95.69 kB / 336.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.006521, allocations: 12.22 kB / 336.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.006622, allocations: 59.83 kB / 336.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.006776, allocations: 31.91 kB / 336.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.006797, allocations: 4 kB / 336.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.007062, allocations: 191.6 kB / 336.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.007126, allocations: 23.92 kB / 336.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.007176, allocations: 23.92 kB / 337 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.007528, allocations: 239.3 kB / 337.2 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.007533, allocations: 0 / 337.2 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007534, allocations: 0 / 337.2 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007539, allocations: 0 / 337.2 MB, free: 12 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.0005247/0.008064, allocations: 493.4 kB / 337.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.008101, allocations: 8.031 kB / 337.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.008163, allocations: 16.89 kB / 337.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.008344, allocations: 143.8 kB / 337.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.008358, allocations: 4.375 kB / 337.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.008377, allocations: 8.375 kB / 337.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.008577, allocations: 127.9 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.00859, allocations: 3.938 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.008603, allocations: 0 / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.008611, allocations: 0 / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.008685, allocations: 61.67 kB / 338 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.009005, allocations: 291.4 kB / 338.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.009207, allocations: 115.9 kB / 338.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.009268, allocations: 65.02 kB / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.009286, allocations: 4.031 kB / 338.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.009437, allocations: 155.8 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.009439, allocations: 4 kB / 338.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003519/0.009791, allocations: 226.7 kB / 338.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.009824, allocations: 114.8 kB / 339 MB, free: 9.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.009925, allocations: 196.2 kB / 339.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.009936, allocations: 29.7 kB / 339.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.009967, allocations: 134.9 kB / 339.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.009999, allocations: 27.8 kB / 339.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.01005, allocations: 35.38 kB / 339.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.0101, allocations: 0.4884 MB / 339.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.01014, allocations: 53.62 kB / 340 MB, free: 8.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.0102, allocations: 65.06 kB / 340 MB, free: 8.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/0.01029, allocations: 118.8 kB / 340.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0103, allocations: 3.938 kB / 340.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002041/0.0105, allocations: 184.8 kB / 340.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.01053, allocations: 41.69 kB / 340.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01054, allocations: 0 / 340.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.01056, allocations: 4 kB / 340.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.01063, allocations: 12.27 kB / 340.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01063, allocations: 3.984 kB / 340.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.01069, allocations: 7.938 kB / 340.4 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.0107, allocations: 4 kB / 340.4 MB, free: 8.434 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 7.747e-05/0.01078, allocations: 202.2 kB / 340.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.01081, allocations: 23.94 kB / 340.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.01084, allocations: 8.438 kB / 340.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01085, allocations: 4 kB / 340.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01085, allocations: 0 / 340.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01085, allocations: 0 / 340.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.928e-05/0.01095, allocations: 148.5 kB / 340.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01096, allocations: 3.938 kB / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.011, allocations: 12 kB / 340.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.011, allocations: 7.938 kB / 340.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01102, allocations: 7.938 kB / 340.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01102, allocations: 4 kB / 340.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01102, allocations: 4.312 kB / 340.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.01126, allocations: 243.5 kB / 341 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01128, allocations: 19.81 kB / 341.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.01131, allocations: 4 kB / 341.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.01137, allocations: 8 kB / 341.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.01141, allocations: 7.984 kB / 341.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.01142, allocations: 4 kB / 341.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.01147, allocations: 139.2 kB / 341.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01147, allocations: 0 / 341.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000329/0.0118, allocations: 79.8 kB / 341.3 MB, free: 7.426 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.00139/0.01319, allocations: 0.4978 MB / 341.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.01342, allocations: 186.5 kB / 342 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01342, allocations: 0 / 342 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.0135, allocations: 136.7 kB / 342.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01375, allocations: 26.36 kB / 342.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.01418, allocations: 253.7 kB / 342.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.01421, allocations: 71.33 kB / 342.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.01425, allocations: 4 kB / 342.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.01429, allocations: 24.42 kB / 342.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01429, allocations: 4 kB / 342.5 MB, free: 6.262 MB / 266.7 MB Notification: Performance of Templates: time 0.005441/0.01974, allocations: 2.625 MB / 345.1 MB, free: 3.648 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.9152344199828804]