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.001621/0.001621, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001802/0.001802, allocations: 181 kB / 23.36 MB, free: 1.129 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.9504/0.9504, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.008606/0.008606, allocations: 2.259 MB / 262.5 MB, free: 10.63 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 1.302e-06/1.302e-06, allocations: 0 / 280 MB, free: 9.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.649e-05, allocations: 6.25 kB / 280 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002266/0.002282, allocations: 1.775 MB / 281.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003754, allocations: 1.772 MB / 283.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.003803, allocations: 4 kB / 283.6 MB, free: 5.543 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.0002799/0.004083, allocations: 55.7 kB / 283.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.004291, allocations: 127.4 kB / 283.8 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.004412, allocations: 71.72 kB / 283.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.004513, allocations: 99.62 kB / 283.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.004579, allocations: 8.219 kB / 283.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.004652, allocations: 55.89 kB / 284 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004759, allocations: 31.91 kB / 284 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.004773, allocations: 4 kB / 284 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.004987, allocations: 215.5 kB / 284.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.005026, allocations: 19.92 kB / 284.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.005057, allocations: 23.92 kB / 284.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.00529, allocations: 239.3 kB / 284.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.005292, allocations: 0 / 284.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005292, allocations: 0 / 284.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.005296, allocations: 0 / 284.5 MB, free: 4.605 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.0003286/0.005624, allocations: 361.8 kB / 284.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.52e-05/0.005649, allocations: 12.03 kB / 284.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.005681, allocations: 8.922 kB / 284.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.005813, allocations: 133.6 kB / 285 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.00582, allocations: 4.375 kB / 285 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.005828, allocations: 4.375 kB / 285 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.005943, allocations: 121.1 kB / 285.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005951, allocations: 3.938 kB / 285.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.005959, allocations: 4 kB / 285.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.005963, allocations: 4 kB / 285.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.006004, allocations: 52.52 kB / 285.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.006188, allocations: 183.9 kB / 285.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.006299, allocations: 87.05 kB / 285.5 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.006334, allocations: 55.41 kB / 285.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.006342, allocations: 0 / 285.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006445, allocations: 155.2 kB / 285.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 7.52e-07/0.006446, allocations: 0 / 285.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001495/0.006596, allocations: 181.5 kB / 285.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.006629, allocations: 118.8 kB / 286 MB, free: 2.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.006687, allocations: 122.7 kB / 286.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006699, allocations: 29.7 kB / 286.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.006723, allocations: 96.11 kB / 286.2 MB, free: 2.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.006747, allocations: 27.73 kB / 286.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.006777, allocations: 25.7 kB / 286.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.006838, allocations: 322.8 kB / 286.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.006863, allocations: 40.53 kB / 286.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.006896, allocations: 67.28 kB / 286.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.006959, allocations: 115.8 kB / 286.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006961, allocations: 4 kB / 286.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.598e-05/0.007046, allocations: 139.8 kB / 286.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.00707, allocations: 37.69 kB / 287 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.007073, allocations: 0 / 287 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.007083, allocations: 4 kB / 287 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.765e-05/0.007121, allocations: 11.98 kB / 287 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007126, allocations: 0 / 287 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.007185, allocations: 8.281 kB / 287 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.007195, allocations: 8 kB / 287 MB, free: 1.785 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.658e-05/0.007272, allocations: 157.4 kB / 287.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.007295, allocations: 27.91 kB / 287.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.007312, allocations: 8.438 kB / 287.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007314, allocations: 0 / 287.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007315, allocations: 4 kB / 287.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.007318, allocations: 0 / 287.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.969e-05/0.007387, allocations: 85.81 kB / 287.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007389, allocations: 4 kB / 287.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.007419, allocations: 11.98 kB / 287.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00742, allocations: 0 / 287.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.007428, allocations: 7.938 kB / 287.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007429, allocations: 0 / 287.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.00743, allocations: 4 kB / 287.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.007559, allocations: 198.9 kB / 287.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007569, allocations: 3.953 kB / 287.5 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.007586, allocations: 7.938 kB / 287.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.675e-05/0.007613, allocations: 11.98 kB / 287.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.007634, allocations: 4 kB / 287.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.007644, allocations: 4 kB / 287.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.007666, allocations: 28.83 kB / 287.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007666, allocations: 0 / 287.6 MB, free: 1.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.00782, allocations: 71.8 kB / 287.6 MB, free: 1.086 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.001049/0.00887, allocations: 0.6136 MB / 288.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.009125, allocations: 179.6 kB / 288.4 MB, free: 480 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.009127, allocations: 0 / 288.4 MB, free: 480 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.00918, allocations: 121.9 kB / 288.5 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.009281, allocations: 23.94 kB / 288.6 MB, free: 312 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.009532, allocations: 256.7 kB / 288.8 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08652/0.09605, allocations: 62.23 kB / 288.9 MB, free: 22.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.09612, allocations: 6.031 kB / 288.9 MB, free: 22.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.09623, allocations: 75.67 kB / 289 MB, free: 22.79 MB / 266.7 MB Notification: Performance of SimCode: time 2.124e-06/0.09623, allocations: 0 / 289 MB, free: 22.79 MB / 266.7 MB Notification: Performance of Templates: time 0.005099/0.1013, allocations: 2.881 MB / 291.8 MB, free: 22.61 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.561655015219003]