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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.01487/0.01487, allocations: 2.985 MB / 307.5 MB, free: 3.203 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001935/0.001935, allocations: 68.12 kB / 428.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.356, allocations: 53.07 MB / 481.8 MB, free: 27.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003806/0.3598, allocations: 1.709 MB / 483.5 MB, free: 26.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.3626, allocations: 1.69 MB / 485.2 MB, free: 25.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.3627, allocations: 0 / 485.2 MB, free: 25.18 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:281:3-311:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.3632, allocations: 46.05 kB / 485.2 MB, free: 25.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.3637, allocations: 121.3 kB / 485.3 MB, free: 25.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3639, allocations: 90.2 kB / 485.4 MB, free: 25.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3641, allocations: 91.95 kB / 485.5 MB, free: 25.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3642, allocations: 17.05 kB / 485.5 MB, free: 25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.3643, allocations: 37.92 kB / 485.6 MB, free: 24.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.3645, allocations: 46.14 kB / 485.6 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3646, allocations: 6.188 kB / 485.6 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.3649, allocations: 202.5 kB / 485.8 MB, free: 24.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.3649, allocations: 24.44 kB / 485.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.365, allocations: 40.16 kB / 485.9 MB, free: 24.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3653, allocations: 230.6 kB / 486.1 MB, free: 24.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3653, allocations: 3.312 kB / 486.1 MB, free: 24.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3653, allocations: 0 / 486.1 MB, free: 24.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3653, allocations: 0 / 486.1 MB, free: 24.78 MB / 366.1 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.0006885/0.366, allocations: 458 kB / 486.6 MB, free: 24.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3661, allocations: 12.98 kB / 486.6 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.3661, allocations: 15.45 kB / 486.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3665, allocations: 210 kB / 486.8 MB, free: 24.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3665, allocations: 4.375 kB / 486.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3665, allocations: 7.438 kB / 486.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3667, allocations: 99.41 kB / 486.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3667, allocations: 0 / 486.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3667, allocations: 3.125 kB / 486.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3668, allocations: 0 / 486.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3669, allocations: 61.08 kB / 487 MB, free: 24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.3673, allocations: 295.6 kB / 487.3 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3675, allocations: 90.56 kB / 487.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.3676, allocations: 53.59 kB / 487.4 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3676, allocations: 4.797 kB / 487.4 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.3678, allocations: 139.2 kB / 487.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3678, allocations: 0 / 487.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004539/0.3683, allocations: 236.2 kB / 487.8 MB, free: 23.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.3683, allocations: 109.8 kB / 487.9 MB, free: 23.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3684, allocations: 138.6 kB / 488 MB, free: 23.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3684, allocations: 32.48 kB / 488 MB, free: 23.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.3685, allocations: 94.42 kB / 488.1 MB, free: 23.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3685, allocations: 23.03 kB / 488.2 MB, free: 23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3686, allocations: 26.14 kB / 488.2 MB, free: 22.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.3686, allocations: 325.1 kB / 488.5 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.3687, allocations: 39.78 kB / 488.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.3688, allocations: 49.34 kB / 488.6 MB, free: 22.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3689, allocations: 152.2 kB / 488.7 MB, free: 22.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3689, allocations: 3.938 kB / 488.7 MB, free: 22.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002358/0.3692, allocations: 190.7 kB / 488.9 MB, free: 22.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3692, allocations: 45.84 kB / 489 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3692, allocations: 0 / 489 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3692, allocations: 2.688 kB / 489 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.3693, allocations: 17.05 kB / 489 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3693, allocations: 0 / 489 MB, free: 22.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.3694, allocations: 13.14 kB / 489 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3694, allocations: 7.156 kB / 489 MB, free: 22.35 MB / 366.1 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 9.394e-05/0.3695, allocations: 155 kB / 489.2 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3695, allocations: 9.484 kB / 489.2 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.3695, allocations: 15.08 kB / 489.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3695, allocations: 0 / 489.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3695, allocations: 2.75 kB / 489.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3695, allocations: 4 kB / 489.2 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3697, allocations: 208.4 kB / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3697, allocations: 0 / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.3697, allocations: 9.156 kB / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3697, allocations: 3.938 kB / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3697, allocations: 6.328 kB / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3697, allocations: 2.906 kB / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3697, allocations: 0 / 489.4 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.37, allocations: 246.8 kB / 489.7 MB, free: 21.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.3701, allocations: 86.23 kB / 489.7 MB, free: 21.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3701, allocations: 6.906 kB / 489.7 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.3702, allocations: 7.219 kB / 489.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3702, allocations: 9.609 kB / 489.8 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3702, allocations: 11.66 kB / 489.8 MB, free: 21.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.3703, allocations: 112.3 kB / 489.9 MB, free: 21.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3703, allocations: 0 / 489.9 MB, free: 21.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.3706, allocations: 80.8 kB / 490 MB, free: 21.58 MB / 366.1 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.001191/0.3718, allocations: 439 kB / 490.4 MB, free: 21.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.3721, allocations: 162 kB / 490.5 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3721, allocations: 0 / 490.5 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3722, allocations: 108.4 kB / 490.7 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3725, allocations: 18.72 kB / 490.7 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.373, allocations: 236.3 kB / 490.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3731, allocations: 0.7081 MB / 491.6 MB, free: 20.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.3732, allocations: 9.938 kB / 491.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.3732, allocations: 15.69 kB / 491.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3732, allocations: 0 / 491.6 MB, free: 20.32 MB / 366.1 MB Notification: Performance of Templates: time 0.00857/0.3818, allocations: 2.597 MB / 494.2 MB, free: 20.04 MB / 366.1 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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.242156887426972]