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.001297/0.001297, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001424/0.001424, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.01443/0.01443, allocations: 3.267 MB / 316.5 MB, free: 15.83 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.002/0.002, allocations: 67.89 kB / 440.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 54.38 MB / 495.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003565/0.1309, allocations: 1.705 MB / 496.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.134, allocations: 1.765 MB / 498.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1341, allocations: 0 / 498.7 MB, free: 1.801 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.0004124/0.1345, allocations: 47.77 kB / 498.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.1349, allocations: 127.4 kB / 498.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1351, allocations: 83.8 kB / 498.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1353, allocations: 95.69 kB / 499 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.1354, allocations: 12.22 kB / 499 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.1355, allocations: 39.86 kB / 499.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1357, allocations: 43.77 kB / 499.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1357, allocations: 8 kB / 499.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.136, allocations: 207.8 kB / 499.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1361, allocations: 23.91 kB / 499.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.1361, allocations: 35.81 kB / 499.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.1365, allocations: 235.2 kB / 499.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1365, allocations: 0 / 499.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1365, allocations: 4 kB / 499.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1365, allocations: 0 / 499.6 MB, free: 0.8516 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.0006404/0.1372, allocations: 387.2 kB / 500 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1372, allocations: 8.031 kB / 0.4883 GB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1373, allocations: 12.89 kB / 0.4883 GB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1376, allocations: 148.4 kB / 0.4884 GB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1376, allocations: 4.375 kB / 0.4884 GB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1376, allocations: 8.125 kB / 0.4884 GB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1378, allocations: 99.36 kB / 0.4885 GB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1378, allocations: 0 / 0.4885 GB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.1379, allocations: 4 kB / 0.4885 GB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1379, allocations: 0 / 0.4885 GB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.138, allocations: 55.89 kB / 0.4886 GB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1384, allocations: 276.8 kB / 0.4889 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1387, allocations: 85.22 kB / 0.4889 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.1388, allocations: 49.69 kB / 0.489 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1388, allocations: 4 kB / 0.489 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.139, allocations: 138.8 kB / 0.4891 GB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.139, allocations: 4 kB / 0.4891 GB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004965/0.1395, allocations: 231.3 kB / 0.4894 GB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.1396, allocations: 106.8 kB / 0.4895 GB, free: 15.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1398, allocations: 141.7 kB / 0.4896 GB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1398, allocations: 33.7 kB / 0.4896 GB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.1398, allocations: 92.12 kB / 0.4897 GB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1399, allocations: 31.75 kB / 0.4897 GB, free: 14.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.1399, allocations: 25.7 kB / 0.4898 GB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1401, allocations: 322.8 kB / 0.4901 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.1402, allocations: 35.98 kB / 0.4901 GB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.1403, allocations: 53.69 kB / 0.4902 GB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1405, allocations: 153 kB / 0.4903 GB, free: 14.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1405, allocations: 0 / 0.4903 GB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003259/0.1408, allocations: 187.2 kB / 0.4905 GB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.1409, allocations: 37.7 kB / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1409, allocations: 0 / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1409, allocations: 0 / 0.4905 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.141, allocations: 19.92 kB / 0.4905 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.141, allocations: 0 / 0.4905 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.1411, allocations: 15.89 kB / 0.4906 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.1411, allocations: 12.23 kB / 0.4906 GB, free: 13.85 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.000165/0.1413, allocations: 151.5 kB / 0.4907 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1413, allocations: 15.94 kB / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.1413, allocations: 8.375 kB / 0.4907 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1413, allocations: 7.938 kB / 0.4907 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1413, allocations: 4 kB / 0.4907 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1413, allocations: 336 / 0.4907 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1415, allocations: 172.6 kB / 0.4909 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1415, allocations: 7.938 kB / 0.4909 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.1416, allocations: 15.98 kB / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1416, allocations: 0 / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1416, allocations: 4 kB / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1416, allocations: 0 / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.1416, allocations: 11.92 kB / 0.4909 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.142, allocations: 247.5 kB / 0.4912 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.142, allocations: 15.88 kB / 0.4912 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1421, allocations: 8 kB / 0.4912 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.1421, allocations: 4 kB / 0.4912 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1422, allocations: 7.984 kB / 0.4912 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1422, allocations: 11.94 kB / 0.4912 GB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.1423, allocations: 106.2 kB / 0.4913 GB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1423, allocations: 0 / 0.4913 GB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.1426, allocations: 75.75 kB / 0.4914 GB, free: 12.9 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.001511/0.1441, allocations: 449 kB / 0.4918 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.1445, allocations: 159.4 kB / 0.492 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1445, allocations: 0 / 0.492 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1447, allocations: 115.3 kB / 0.4921 GB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1449, allocations: 15.94 kB / 0.4921 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.1455, allocations: 240.6 kB / 0.4923 GB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1459, allocations: 0.6963 MB / 0.493 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.146, allocations: 19.42 kB / 0.493 GB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.146, allocations: 4 kB / 0.493 GB, free: 11.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005353/0.1513, allocations: 2.602 MB / 0.4956 GB, free: 8.656 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: 8.08024545502849] Failed to read output from testmodel.py, exit status != 0: 0.15990586811676621 0.42681363999999994 0.28721119500000003 Calling exit ...