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.001634/0.001634, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001775/0.001775, allocations: 214.1 kB / 22.99 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.01643/0.01643, allocations: 3.269 MB / 316.5 MB, free: 15.62 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.002036/0.002036, allocations: 67.89 kB / 440.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09948, allocations: 54.38 MB / 495.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003625/0.1031, allocations: 1.69 MB / 496.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.106, allocations: 1.687 MB / 498.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.1061, allocations: 4 kB / 498.5 MB, free: 1.562 MB / 350.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.0003925/0.1065, allocations: 51.77 kB / 498.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.1069, allocations: 123.4 kB / 498.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.1072, allocations: 87.78 kB / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1074, allocations: 91.69 kB / 498.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.1075, allocations: 8.234 kB / 498.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.1076, allocations: 43.84 kB / 498.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1077, allocations: 42.27 kB / 498.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1078, allocations: 4 kB / 499 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.1081, allocations: 187.8 kB / 499.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.1082, allocations: 23.92 kB / 499.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1082, allocations: 35.78 kB / 499.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1087, allocations: 231.2 kB / 499.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1087, allocations: 0 / 499.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1087, allocations: 0 / 499.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1087, allocations: 0 / 499.4 MB, free: 0.6484 MB / 350.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.000635/0.1093, allocations: 383.2 kB / 499.8 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1093, allocations: 12.03 kB / 499.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1094, allocations: 12.88 kB / 499.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1097, allocations: 142.4 kB / 500 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1097, allocations: 4.375 kB / 500 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1097, allocations: 4.125 kB / 500 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.11, allocations: 144.9 kB / 0.4884 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.11, allocations: 0 / 0.4884 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.11, allocations: 0 / 0.4884 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.11, allocations: 0 / 0.4884 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1102, allocations: 81.67 kB / 0.4885 GB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1106, allocations: 245.3 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1109, allocations: 115 kB / 0.4888 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.111, allocations: 87.38 kB / 0.4889 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.111, allocations: 0 / 0.4889 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.1113, allocations: 164.5 kB / 0.489 GB, free: 15.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1113, allocations: 0 / 0.489 GB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005498/0.1118, allocations: 298.8 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.1119, allocations: 114.8 kB / 0.4894 GB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1121, allocations: 141.7 kB / 0.4896 GB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1121, allocations: 25.7 kB / 0.4896 GB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.1121, allocations: 96.12 kB / 0.4897 GB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1122, allocations: 23.81 kB / 0.4897 GB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1122, allocations: 25.7 kB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1124, allocations: 326.8 kB / 0.4901 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1125, allocations: 65.69 kB / 0.4901 GB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1126, allocations: 95.27 kB / 0.4902 GB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1129, allocations: 156.9 kB / 0.4904 GB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1129, allocations: 0 / 0.4904 GB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003566/0.1132, allocations: 229.3 kB / 0.4906 GB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.1133, allocations: 41.62 kB / 0.4906 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1133, allocations: 0 / 0.4906 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1133, allocations: 0 / 0.4906 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.1133, allocations: 15.98 kB / 0.4906 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1134, allocations: 3.938 kB / 0.4906 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.1134, allocations: 19.89 kB / 0.4906 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1134, allocations: 7.984 kB / 0.4907 GB, free: 13.3 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 0.0001461/0.1136, allocations: 159.5 kB / 0.4908 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1136, allocations: 11.95 kB / 0.4908 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.1136, allocations: 12.36 kB / 0.4908 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1137, allocations: 4 kB / 0.4908 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1137, allocations: 0 / 0.4908 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1137, allocations: 0 / 0.4908 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1138, allocations: 137.2 kB / 0.491 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1138, allocations: 4 kB / 0.491 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.1139, allocations: 11.98 kB / 0.491 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1139, allocations: 0 / 0.491 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1139, allocations: 8 kB / 0.491 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1139, allocations: 0 / 0.491 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1139, allocations: 0 / 0.491 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.1143, allocations: 289.1 kB / 0.4913 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.1144, allocations: 11.89 kB / 0.4913 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1144, allocations: 4 kB / 0.4913 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1145, allocations: 11.98 kB / 0.4913 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1145, allocations: 4 kB / 0.4913 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1145, allocations: 4 kB / 0.4913 GB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.144e-05/0.1146, allocations: 110.1 kB / 0.4914 GB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1146, allocations: 4 kB / 0.4914 GB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1149, allocations: 79.75 kB / 0.4915 GB, free: 12.37 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.001574/0.1165, allocations: 471.7 kB / 0.4919 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1169, allocations: 230.6 kB / 0.4922 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1169, allocations: 0 / 0.4922 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.1171, allocations: 141 kB / 0.4923 GB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1173, allocations: 15.98 kB / 0.4923 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1179, allocations: 278.2 kB / 0.4926 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.898e-05/0.1179, allocations: 79.33 kB / 0.4926 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.118, allocations: 23.42 kB / 0.4927 GB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.118, allocations: 0 / 0.4927 GB, free: 11.18 MB / 366.1 MB Notification: Performance of Templates: time 0.0059/0.1239, allocations: 2.628 MB / 0.4952 GB, free: 8.559 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: 7.589351210277528] Failed to read output from testmodel.py, exit status != 0: 0.13167517120018601 0.14838017899999995 0.036420016999999937 Calling exit ...