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.001363/0.001363, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 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.00206/0.00206, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.9792/0.9792, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.01295/0.01295, allocations: 2.263 MB / 263.3 MB, free: 10.62 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.996e-06/2.996e-06, allocations: 0 / 334 MB, free: 16.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.296e-05, allocations: 2.312 kB / 334 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002454/0.002487, allocations: 1.731 MB / 335.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.003949, allocations: 1.745 MB / 337.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.004025, allocations: 3.938 kB / 337.5 MB, free: 12.65 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.0004116/0.004437, allocations: 51.7 kB / 337.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.004801, allocations: 127.4 kB / 337.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.00498, allocations: 91.72 kB / 337.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.005108, allocations: 87.75 kB / 337.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.005184, allocations: 8.234 kB / 337.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.005261, allocations: 55.81 kB / 337.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.005393, allocations: 31.84 kB / 337.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.00541, allocations: 8 kB / 338 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.005704, allocations: 191.6 kB / 338.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.005764, allocations: 19.92 kB / 338.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.005809, allocations: 23.97 kB / 338.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.006115, allocations: 239.3 kB / 338.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.006118, allocations: 4 kB / 338.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.006119, allocations: 4 kB / 338.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006123, allocations: 0 / 338.4 MB, free: 11.72 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.0003984/0.006521, allocations: 493.3 kB / 338.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006554, allocations: 12.03 kB / 338.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.006595, allocations: 12.89 kB / 338.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.006734, allocations: 140.5 kB / 339.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.006745, allocations: 384 / 339.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.006756, allocations: 4.375 kB / 339.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.006884, allocations: 120 kB / 339.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.006892, allocations: 7.938 kB / 339.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.006902, allocations: 11.94 kB / 339.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.006907, allocations: 0 / 339.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.006952, allocations: 49.67 kB / 339.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.007173, allocations: 272.1 kB / 339.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.007319, allocations: 111.9 kB / 339.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.007355, allocations: 65.11 kB / 339.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.007367, allocations: 3.938 kB / 339.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.007471, allocations: 159.8 kB / 339.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.007471, allocations: 0 / 339.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002436/0.007715, allocations: 222.6 kB / 340.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.007743, allocations: 110.8 kB / 340.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.007809, allocations: 189.8 kB / 340.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.007819, allocations: 29.7 kB / 340.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.007844, allocations: 138.9 kB / 340.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.00787, allocations: 27.8 kB / 340.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.007908, allocations: 31.36 kB / 340.6 MB, free: 9.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.244e-05/0.00795, allocations: 0.4923 MB / 341.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.00798, allocations: 45.69 kB / 341.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.008016, allocations: 69.05 kB / 341.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.008083, allocations: 110.7 kB / 341.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008085, allocations: 0 / 341.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.006186/0.01427, allocations: 184.8 kB / 341.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.01431, allocations: 44.81 kB / 341.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01431, allocations: 0 / 341.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01432, allocations: 0 / 341.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.01438, allocations: 11.98 kB / 341.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.01439, allocations: 0 / 341.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.01443, allocations: 15.88 kB / 341.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01444, allocations: 4 kB / 341.6 MB, free: 8.219 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 8.364e-05/0.01452, allocations: 206.2 kB / 341.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.01455, allocations: 15.89 kB / 341.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.01458, allocations: 12.44 kB / 341.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01458, allocations: 0 / 341.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01458, allocations: 0 / 341.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01459, allocations: 3.984 kB / 341.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.01469, allocations: 125.2 kB / 341.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01469, allocations: 0 / 341.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.01472, allocations: 15.98 kB / 341.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01473, allocations: 8 kB / 341.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01474, allocations: 3.938 kB / 341.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01474, allocations: 4 kB / 341.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01474, allocations: 0 / 341.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.01494, allocations: 235.7 kB / 342.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.01496, allocations: 15.88 kB / 342.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01498, allocations: 11.92 kB / 342.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.01502, allocations: 7.938 kB / 342.2 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.01506, allocations: 11.98 kB / 342.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01507, allocations: 7.984 kB / 342.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/0.01511, allocations: 138.3 kB / 342.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01511, allocations: 4 kB / 342.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000299/0.01541, allocations: 75.8 kB / 342.4 MB, free: 7.25 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.001076/0.01649, allocations: 498.8 kB / 342.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01665, allocations: 190.4 kB / 343.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01665, allocations: 0 / 343.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.01671, allocations: 132.6 kB / 343.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01692, allocations: 23.48 kB / 343.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.02327, allocations: 253.6 kB / 343.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.02329, allocations: 65.78 kB / 343.6 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.02333, allocations: 15.98 kB / 343.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.02342, allocations: 102.2 kB / 343.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02342, allocations: 0 / 343.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of Templates: time 0.01125/0.03467, allocations: 2.934 MB / 346.6 MB, free: 3.102 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: 3.057251130230725]