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.0007106/0.0007106, 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.0008454/0.0008454, allocations: 181 kB / 23.36 MB, free: 1.133 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.9305/0.9305, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.01638/0.01638, allocations: 2.271 MB / 262.5 MB, free: 10.67 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.144e-06/2.144e-06, allocations: 0 / 280 MB, free: 9.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.62e-05, allocations: 2.312 kB / 280 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.00365/0.003676, allocations: 1.74 MB / 281.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.006173, allocations: 1.769 MB / 283.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.006259, allocations: 4 kB / 283.5 MB, free: 5.68 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.000421/0.00668, allocations: 55.64 kB / 283.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.00716, allocations: 123.3 kB / 283.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.007447, allocations: 95.7 kB / 283.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.007606, allocations: 83.77 kB / 283.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.007705, allocations: 12.22 kB / 283.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.007831, allocations: 51.83 kB / 283.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.008, allocations: 39.89 kB / 283.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.008022, allocations: 4 kB / 283.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.008361, allocations: 183.7 kB / 284.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.008427, allocations: 23.91 kB / 284.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.008474, allocations: 23.92 kB / 284.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.008897, allocations: 251.3 kB / 284.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.008901, allocations: 0 / 284.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.008903, allocations: 0 / 284.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.008907, allocations: 0 / 284.4 MB, free: 4.746 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.000546/0.009453, allocations: 353.8 kB / 284.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.009495, allocations: 12.03 kB / 284.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.009543, allocations: 8.938 kB / 284.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01004, allocations: 141.6 kB / 284.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.01005, allocations: 384 / 284.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.01007, allocations: 8.312 kB / 284.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.01026, allocations: 121.2 kB / 285 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01027, allocations: 3.938 kB / 285 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.01028, allocations: 4 kB / 285.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.01029, allocations: 0 / 285.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.01036, allocations: 44.52 kB / 285.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.01066, allocations: 191.9 kB / 285.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.01084, allocations: 86.83 kB / 285.4 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.01091, allocations: 59.48 kB / 285.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01093, allocations: 4 kB / 285.4 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.0111, allocations: 163.3 kB / 285.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.0111, allocations: 0 / 285.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002411/0.01134, allocations: 181.5 kB / 285.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.01139, allocations: 106.8 kB / 285.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.0115, allocations: 130.7 kB / 286 MB, free: 2.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.01152, allocations: 29.7 kB / 286 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.01156, allocations: 84.12 kB / 286.1 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.01159, allocations: 35.73 kB / 286.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.01165, allocations: 25.69 kB / 286.2 MB, free: 2.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01176, allocations: 318.8 kB / 286.5 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.01183, allocations: 52.47 kB / 286.5 MB, free: 2.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.01189, allocations: 59.39 kB / 286.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.01202, allocations: 107.8 kB / 286.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.01202, allocations: 0 / 286.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001845/0.01221, allocations: 143.8 kB / 286.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.01225, allocations: 37.69 kB / 286.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01225, allocations: 0 / 286.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01227, allocations: 4 kB / 286.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.01234, allocations: 12 kB / 286.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01235, allocations: 3.938 kB / 286.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.01241, allocations: 15.94 kB / 286.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01242, allocations: 4 kB / 286.9 MB, free: 1.922 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 0.0001255/0.01254, allocations: 153.3 kB / 287.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.01258, allocations: 11.94 kB / 287.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.01261, allocations: 16.42 kB / 287.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01262, allocations: 0 / 287.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01262, allocations: 0 / 287.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01262, allocations: 7.938 kB / 287.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.01275, allocations: 81.88 kB / 287.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01275, allocations: 0 / 287.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.0128, allocations: 12 kB / 287.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.01281, allocations: 3.984 kB / 287.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01282, allocations: 11.94 kB / 287.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01282, allocations: 4 kB / 287.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01282, allocations: 3.938 kB / 287.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.01303, allocations: 183 kB / 287.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.01306, allocations: 15.89 kB / 287.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01309, allocations: 7.938 kB / 287.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.01315, allocations: 4 kB / 287.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.01318, allocations: 8.312 kB / 287.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.0132, allocations: 4 kB / 287.4 MB, free: 1.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.01324, allocations: 28.83 kB / 287.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01324, allocations: 0 / 287.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.01359, allocations: 79.8 kB / 287.5 MB, free: 1.227 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.001833/0.01542, allocations: 0.6109 MB / 288.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.01567, allocations: 175.6 kB / 288.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.01568, allocations: 0 / 288.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.01577, allocations: 133.9 kB / 288.4 MB, free: 476 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.01595, allocations: 23.88 kB / 288.5 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.0164, allocations: 240.7 kB / 288.7 MB, free: 172 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.01645, allocations: 68.16 kB / 288.8 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.01649, allocations: 7.984 kB / 288.8 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09954/0.116, allocations: 79.36 kB / 288.9 MB, free: 23.22 MB / 266.7 MB Notification: Performance of SimCode: time 1.864e-06/0.116, allocations: 0 / 288.9 MB, free: 23.22 MB / 266.7 MB Notification: Performance of Templates: time 0.005542/0.1216, allocations: 2.878 MB / 291.7 MB, free: 23.05 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.6643954878672957]