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.001597/0.001597, allocations: 93.47 kB / 19.44 MB, free: 336 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.001813/0.001813, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.01463/0.01463, allocations: 2.25 MB / 261.8 MB, free: 10.82 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.464e-06/2.464e-06, allocations: 3.984 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.73e-05, allocations: 2.312 kB / 332.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002395/0.002422, allocations: 1.704 MB / 333.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.004171, allocations: 1.722 MB / 335.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.004233, allocations: 0 / 335.5 MB, free: 13.33 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.0003656/0.004599, allocations: 51.7 kB / 335.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.004887, allocations: 131.3 kB / 335.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.005058, allocations: 83.72 kB / 335.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.005162, allocations: 91.69 kB / 335.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.005238, allocations: 12.17 kB / 335.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.005325, allocations: 51.83 kB / 335.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005479, allocations: 43.89 kB / 335.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.0055, allocations: 4 kB / 335.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.005708, allocations: 187.7 kB / 336.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.005762, allocations: 23.92 kB / 336.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.005812, allocations: 19.92 kB / 336.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.006102, allocations: 263.2 kB / 336.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.006105, allocations: 0 / 336.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006106, allocations: 0 / 336.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.006111, allocations: 0 / 336.4 MB, free: 12.38 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.0004808/0.006592, allocations: 489.1 kB / 336.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.00662, allocations: 16.03 kB / 336.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.006677, allocations: 12.84 kB / 336.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.006838, allocations: 144.5 kB / 337.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006852, allocations: 4.375 kB / 337.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.006866, allocations: 4.375 kB / 337.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.007044, allocations: 131.2 kB / 337.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.007055, allocations: 3.938 kB / 337.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.007067, allocations: 0 / 337.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.007072, allocations: 4 kB / 337.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.007188, allocations: 65.67 kB / 337.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.007546, allocations: 303.4 kB / 337.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.007757, allocations: 127.9 kB / 337.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.007833, allocations: 77.11 kB / 337.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.007852, allocations: 7.938 kB / 337.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.008003, allocations: 171.8 kB / 338 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.008004, allocations: 0 / 338 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003889/0.008393, allocations: 250.8 kB / 338.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.008421, allocations: 118.8 kB / 338.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.00851, allocations: 201.8 kB / 338.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.00852, allocations: 29.7 kB / 338.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.008556, allocations: 142.9 kB / 338.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.008582, allocations: 27.75 kB / 338.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.008626, allocations: 35.36 kB / 338.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.008687, allocations: 0.4962 MB / 339.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.008773, allocations: 53.69 kB / 339.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-05/0.008843, allocations: 84.98 kB / 339.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.008965, allocations: 138.8 kB / 339.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.008968, allocations: 7.938 kB / 339.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002207/0.009188, allocations: 213.1 kB / 339.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.009229, allocations: 40.5 kB / 339.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.009235, allocations: 3.984 kB / 339.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.009251, allocations: 0 / 339.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.009307, allocations: 8 kB / 339.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.009314, allocations: 7.938 kB / 339.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.009369, allocations: 7.938 kB / 339.8 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.009381, allocations: 8 kB / 339.8 MB, free: 8.633 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.716e-05/0.009458, allocations: 202.2 kB / 340 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.009487, allocations: 15.95 kB / 340 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.009512, allocations: 12.42 kB / 340 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.009514, allocations: 4 kB / 340 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009518, allocations: 0 / 340 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.009521, allocations: 0 / 340 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.009614, allocations: 152.5 kB / 340.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009616, allocations: 3.938 kB / 340.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.009669, allocations: 11.98 kB / 340.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009672, allocations: 0 / 340.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.009686, allocations: 8 kB / 340.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.009687, allocations: 7.938 kB / 340.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009688, allocations: 7.938 kB / 340.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.009958, allocations: 263.5 kB / 340.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.009974, allocations: 19.88 kB / 340.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.009999, allocations: 4 kB / 340.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.01005, allocations: 0 / 340.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.01009, allocations: 11.98 kB / 340.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.0101, allocations: 4 kB / 340.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.01016, allocations: 150 kB / 340.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 340.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.01044, allocations: 83.73 kB / 340.7 MB, free: 7.598 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.002248/0.01269, allocations: 478.3 kB / 341.2 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.01293, allocations: 218.5 kB / 341.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01293, allocations: 4 kB / 341.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.01303, allocations: 148.7 kB / 341.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01324, allocations: 27.47 kB / 341.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.01363, allocations: 269.3 kB / 341.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.01368, allocations: 85.11 kB / 341.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.01371, allocations: 12 kB / 342 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.01375, allocations: 16.48 kB / 342 MB, free: 6.379 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01375, allocations: 0 / 342 MB, free: 6.379 MB / 266.7 MB Notification: Performance of Templates: time 0.005293/0.01904, allocations: 2.624 MB / 344.6 MB, free: 3.773 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: 4.292454045033082]