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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.0143/0.0143, allocations: 3.219 MB / 309.5 MB, free: 5.375 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001977/0.001977, allocations: 67.89 kB / 431.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.108, allocations: 53.18 MB / 484.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.00377/0.1117, allocations: 1.696 MB / 486.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.1145, allocations: 1.71 MB / 488 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.1146, allocations: 4 kB / 488 MB, free: 10.92 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.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.000504/0.1151, allocations: 55.7 kB / 488.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.1155, allocations: 130.5 kB / 488.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1158, allocations: 87.78 kB / 488.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1159, allocations: 83.81 kB / 488.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.116, allocations: 16.23 kB / 488.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.074e-05/0.1161, allocations: 39.8 kB / 488.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1163, allocations: 47.77 kB / 488.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1164, allocations: 8 kB / 488.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.1167, allocations: 211.7 kB / 488.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.1168, allocations: 19.97 kB / 488.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.1168, allocations: 35.8 kB / 488.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.1173, allocations: 235.2 kB / 489 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1173, allocations: 0 / 489 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1173, allocations: 0 / 489 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1173, allocations: 0 / 489 MB, free: 9.965 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.0007508/0.118, allocations: 395.1 kB / 489.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1181, allocations: 8.031 kB / 489.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.1181, allocations: 12.88 kB / 489.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1185, allocations: 134.4 kB / 489.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1185, allocations: 12.36 kB / 489.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1185, allocations: 8.125 kB / 489.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1188, allocations: 95.31 kB / 489.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1188, allocations: 3.984 kB / 489.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1188, allocations: 8 kB / 489.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1188, allocations: 0 / 489.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.119, allocations: 51.97 kB / 489.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.1194, allocations: 276.6 kB / 490 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1197, allocations: 89.28 kB / 490.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1198, allocations: 49.75 kB / 490.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1198, allocations: 0 / 490.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.1201, allocations: 146.7 kB / 490.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1201, allocations: 0 / 490.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005874/0.1207, allocations: 231.4 kB / 490.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.1208, allocations: 106.8 kB / 490.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1209, allocations: 133.8 kB / 490.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1209, allocations: 25.7 kB / 490.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.121, allocations: 108 kB / 490.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1211, allocations: 27.75 kB / 490.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.1211, allocations: 25.7 kB / 490.9 MB, free: 7.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1213, allocations: 326.8 kB / 491.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.1214, allocations: 39.92 kB / 491.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1215, allocations: 49.69 kB / 491.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1217, allocations: 156.9 kB / 491.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1217, allocations: 0 / 491.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003421/0.122, allocations: 183.2 kB / 491.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.1221, allocations: 41.69 kB / 491.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1221, allocations: 0 / 491.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1221, allocations: 4 kB / 491.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.1222, allocations: 8 kB / 491.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1222, allocations: 3.984 kB / 491.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.1223, allocations: 4 kB / 491.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1223, allocations: 11.94 kB / 491.7 MB, free: 6.965 MB / 350.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.0001505/0.1224, allocations: 163.4 kB / 491.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1225, allocations: 11.95 kB / 491.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.1225, allocations: 12.38 kB / 491.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1225, allocations: 336 / 491.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1225, allocations: 0 / 491.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1225, allocations: 3.984 kB / 491.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1227, allocations: 184.5 kB / 492.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1227, allocations: 3.984 kB / 492.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1228, allocations: 12 kB / 492.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1228, allocations: 0 / 492.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1228, allocations: 4 kB / 492.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1228, allocations: 3.938 kB / 492.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1228, allocations: 4 kB / 492.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.1232, allocations: 251.4 kB / 492.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.1232, allocations: 15.95 kB / 492.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1232, allocations: 4 kB / 492.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.1233, allocations: 4 kB / 492.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1234, allocations: 7.984 kB / 492.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.1234, allocations: 11.94 kB / 492.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.1235, allocations: 110.6 kB / 492.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1235, allocations: 0 / 492.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1238, allocations: 75.73 kB / 492.6 MB, free: 6.012 MB / 350.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.001519/0.1253, allocations: 461.3 kB / 493 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.1257, allocations: 167.3 kB / 493.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1257, allocations: 0 / 493.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1258, allocations: 103.4 kB / 493.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1261, allocations: 18.75 kB / 493.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.1266, allocations: 235.3 kB / 493.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.127, allocations: 0.7041 MB / 494.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.1271, allocations: 7.938 kB / 494.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.1271, allocations: 15.42 kB / 494.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1271, allocations: 0 / 494.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Templates: time 0.007316/0.1344, allocations: 2.614 MB / 496.9 MB, free: 1.758 MB / 350.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: 4.8369734082371] Failed to read output from testmodel.py, exit status != 0: 0.14276051241904497 0.159208905 0.038874709 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fcb791c17b0>