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.001706/0.001706, allocations: 79.58 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002149/0.002149, allocations: 159.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.01405/0.01405, allocations: 2.259 MB / 262 MB, free: 14.39 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 71.89 kB / 386.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1056, allocations: 54.34 MB / 440.6 MB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003823/0.1094, allocations: 1.692 MB / 442.3 MB, free: 9.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1124, allocations: 1.703 MB / 444 MB, free: 7.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.1125, allocations: 0 / 444 MB, free: 7.84 MB / 414.1 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.0003678/0.1128, allocations: 47.77 kB / 444.1 MB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1133, allocations: 127.5 kB / 444.2 MB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1135, allocations: 87.77 kB / 444.3 MB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1137, allocations: 91.7 kB / 444.4 MB, free: 7.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.1138, allocations: 8.234 kB / 444.4 MB, free: 7.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1139, allocations: 43.83 kB / 444.4 MB, free: 7.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.114, allocations: 31.84 kB / 444.5 MB, free: 7.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.114, allocations: 11.94 kB / 444.5 MB, free: 7.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.1144, allocations: 187.8 kB / 444.7 MB, free: 7.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.1145, allocations: 23.92 kB / 444.7 MB, free: 7.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.1145, allocations: 27.86 kB / 444.7 MB, free: 7.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1149, allocations: 239.2 kB / 444.9 MB, free: 6.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1149, allocations: 0 / 444.9 MB, free: 6.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1149, allocations: 0 / 444.9 MB, free: 6.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1149, allocations: 0 / 444.9 MB, free: 6.926 MB / 414.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.0006612/0.1156, allocations: 383.2 kB / 445.3 MB, free: 6.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1156, allocations: 8.031 kB / 445.3 MB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1157, allocations: 12.88 kB / 445.3 MB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.116, allocations: 142.4 kB / 445.5 MB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.116, allocations: 4.375 kB / 445.5 MB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.116, allocations: 12.11 kB / 445.5 MB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1163, allocations: 132.9 kB / 445.6 MB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1163, allocations: 0 / 445.6 MB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1163, allocations: 8 kB / 445.6 MB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1163, allocations: 0 / 445.6 MB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1165, allocations: 77.67 kB / 445.7 MB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1169, allocations: 245.3 kB / 446 MB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1172, allocations: 119 kB / 446.1 MB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1173, allocations: 83.44 kB / 446.1 MB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1174, allocations: 7.875 kB / 446.2 MB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.1176, allocations: 176.6 kB / 446.3 MB, free: 5.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1176, allocations: 0 / 446.3 MB, free: 5.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005643/0.1182, allocations: 294.6 kB / 446.6 MB, free: 5.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.1183, allocations: 110.8 kB / 446.7 MB, free: 4.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1184, allocations: 133.8 kB / 446.9 MB, free: 4.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1184, allocations: 29.7 kB / 446.9 MB, free: 4.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1185, allocations: 96.12 kB / 447 MB, free: 4.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1186, allocations: 31.75 kB / 447 MB, free: 4.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1186, allocations: 25.7 kB / 447 MB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1188, allocations: 326.8 kB / 447.4 MB, free: 4.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1189, allocations: 65.69 kB / 447.4 MB, free: 4.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.119, allocations: 87.33 kB / 447.5 MB, free: 4.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1193, allocations: 157 kB / 447.7 MB, free: 3.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1193, allocations: 0 / 447.7 MB, free: 3.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003587/0.1196, allocations: 228.9 kB / 447.9 MB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.1197, allocations: 37.69 kB / 447.9 MB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1197, allocations: 0 / 447.9 MB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1197, allocations: 4 kB / 447.9 MB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1198, allocations: 11.98 kB / 447.9 MB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1198, allocations: 0 / 447.9 MB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.1198, allocations: 19.89 kB / 448 MB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1198, allocations: 0 / 448 MB, free: 3.59 MB / 414.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 0.0001473/0.12, allocations: 163.4 kB / 448.1 MB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.12, allocations: 11.89 kB / 448.1 MB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1201, allocations: 24.36 kB / 448.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1201, allocations: 336 / 448.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1201, allocations: 0 / 448.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1201, allocations: 4 kB / 448.2 MB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1202, allocations: 133.2 kB / 448.3 MB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1202, allocations: 0 / 448.3 MB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1203, allocations: 15.97 kB / 448.3 MB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1203, allocations: 0 / 448.3 MB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1203, allocations: 4 kB / 448.3 MB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1203, allocations: 0 / 448.3 MB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1203, allocations: 0 / 448.3 MB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1207, allocations: 293.1 kB / 448.6 MB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.1208, allocations: 7.953 kB / 448.6 MB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1208, allocations: 4 kB / 448.6 MB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1209, allocations: 11.98 kB / 448.6 MB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1209, allocations: 4 kB / 448.6 MB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1209, allocations: 4.062 kB / 448.6 MB, free: 2.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.121, allocations: 110.5 kB / 448.7 MB, free: 2.734 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.121, allocations: 0 / 448.7 MB, free: 2.734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1214, allocations: 87.67 kB / 448.8 MB, free: 2.648 MB / 414.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.001504/0.1229, allocations: 469 kB / 449.3 MB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.1232, allocations: 238.6 kB / 449.5 MB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1232, allocations: 0 / 449.5 MB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.1234, allocations: 141 kB / 449.6 MB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1237, allocations: 18.8 kB / 449.7 MB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.1242, allocations: 268.3 kB / 449.9 MB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.1243, allocations: 89.11 kB / 450 MB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.1244, allocations: 15.97 kB / 450 MB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1244, allocations: 16.44 kB / 450 MB, free: 1.449 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1244, allocations: 0 / 450 MB, free: 1.449 MB / 414.1 MB Notification: Performance of Templates: time 0.006694/0.1311, allocations: 2.58 MB / 452.6 MB, free: 14.88 MB / 430.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 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.526173333986662] Failed to read output from testmodel.py, exit status != 0: 0.13941974891349673 0.15501199400000001 0.036836206 Calling exit ...