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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002214/0.002214, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.66/1.66, allocations: 230.6 MB / 256 MB, free: 7.785 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.01741/0.01741, allocations: 3.273 MB / 315.7 MB, free: 15.69 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.002297/0.002297, allocations: 67.89 kB / 440 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1199, allocations: 54.38 MB / 494.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003692/0.1236, allocations: 1.675 MB / 496.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1268, allocations: 1.695 MB / 497.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1269, allocations: 0 / 497.8 MB, free: 1.625 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.000418/0.1273, allocations: 43.78 kB / 497.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.1279, allocations: 127.4 kB / 497.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1282, allocations: 95.77 kB / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1284, allocations: 87.7 kB / 498.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1285, allocations: 8.234 kB / 498.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.1286, allocations: 35.91 kB / 498.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1288, allocations: 39.72 kB / 498.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.1288, allocations: 8 kB / 498.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.1292, allocations: 187.8 kB / 498.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1293, allocations: 23.91 kB / 498.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.1294, allocations: 27.86 kB / 498.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.1299, allocations: 239.2 kB / 498.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1299, allocations: 0 / 498.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1299, allocations: 0 / 498.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1299, allocations: 0 / 498.7 MB, free: 0.7148 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.0008374/0.1307, allocations: 387.2 kB / 499 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1308, allocations: 8.031 kB / 499 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1308, allocations: 16.89 kB / 499.1 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.1312, allocations: 142.4 kB / 499.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1312, allocations: 384 / 499.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1312, allocations: 16.06 kB / 499.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1316, allocations: 129 kB / 499.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1316, allocations: 0 / 499.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1316, allocations: 11.98 kB / 499.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1316, allocations: 0 / 499.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.1318, allocations: 77.67 kB / 499.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1323, allocations: 245.3 kB / 499.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.1326, allocations: 114.9 kB / 499.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1328, allocations: 83.44 kB / 499.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1328, allocations: 4 kB / 499.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.1331, allocations: 164.5 kB / 0.4883 GB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.1331, allocations: 4 kB / 0.4883 GB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006193/0.1337, allocations: 294.9 kB / 0.4886 GB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1339, allocations: 114.8 kB / 0.4887 GB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.134, allocations: 141.7 kB / 0.4888 GB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1341, allocations: 29.7 kB / 0.4889 GB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.1341, allocations: 96.14 kB / 0.489 GB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.1342, allocations: 27.8 kB / 0.489 GB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.1342, allocations: 25.7 kB / 0.489 GB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1344, allocations: 322.8 kB / 0.4893 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1345, allocations: 73.61 kB / 0.4894 GB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1347, allocations: 83.33 kB / 0.4895 GB, free: 13.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1349, allocations: 157 kB / 0.4896 GB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1349, allocations: 0 / 0.4896 GB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004095/0.1353, allocations: 224.9 kB / 0.4898 GB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.1354, allocations: 41.69 kB / 0.4899 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1354, allocations: 4.078 kB / 0.4899 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1354, allocations: 0 / 0.4899 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.1355, allocations: 15.88 kB / 0.4899 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1355, allocations: 3.984 kB / 0.4899 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.1356, allocations: 19.88 kB / 0.4899 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.1356, allocations: 8 kB / 0.4899 GB, free: 13.36 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.0001875/0.1358, allocations: 159.5 kB / 0.4901 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1358, allocations: 7.953 kB / 0.4901 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.1358, allocations: 16.38 kB / 0.4901 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1358, allocations: 0 / 0.4901 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1359, allocations: 0 / 0.4901 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1359, allocations: 7.984 kB / 0.4901 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.136, allocations: 133.2 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.136, allocations: 0 / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1361, allocations: 11.94 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1361, allocations: 336 / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1361, allocations: 7.984 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1361, allocations: 4 kB / 0.4903 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1361, allocations: 0 / 0.4903 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.1367, allocations: 293.2 kB / 0.4905 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.1367, allocations: 11.88 kB / 0.4905 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1367, allocations: 4 kB / 0.4905 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.1368, allocations: 4 kB / 0.4906 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.1368, allocations: 11.98 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1369, allocations: 4 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.137, allocations: 110.5 kB / 0.4907 GB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.137, allocations: 0 / 0.4907 GB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1373, allocations: 79.75 kB / 0.4907 GB, free: 12.43 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.001611/0.1389, allocations: 476.1 kB / 0.4912 GB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.1394, allocations: 222.7 kB / 0.4914 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1394, allocations: 4 kB / 0.4914 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.1396, allocations: 149 kB / 0.4916 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1399, allocations: 12 kB / 0.4916 GB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.1406, allocations: 264.5 kB / 0.4918 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1408, allocations: 92.98 kB / 0.4919 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.428e-05/0.1408, allocations: 11.95 kB / 0.4919 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1409, allocations: 15.42 kB / 0.4919 GB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1409, allocations: 4 kB / 0.4919 GB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.007831/0.1487, allocations: 2.638 MB / 0.4945 GB, free: 8.613 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.290647028014064] Failed to read output from testmodel.py, exit status != 0: 0.1601785570383072 0.183391778 0.048686819000000006 Calling exit ...