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.001447/0.001447, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001426/0.001426, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.01442/0.01442, allocations: 2.261 MB / 261.4 MB, free: 14.44 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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 385.8 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.35e-05, allocations: 2.281 kB / 385.8 MB, free: 488 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003688/0.003722, allocations: 1.685 MB / 387.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.006535, allocations: 1.699 MB / 389.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.006605, allocations: 4 kB / 389.2 MB, free: 13.07 MB / 318.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.0004271/0.007032, allocations: 47.7 kB / 389.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.007476, allocations: 135.3 kB / 389.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.007766, allocations: 91.33 kB / 389.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.007959, allocations: 91.7 kB / 389.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.00809, allocations: 8.219 kB / 389.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.008234, allocations: 55.83 kB / 389.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.00844, allocations: 27.91 kB / 389.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.00847, allocations: 12 kB / 389.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.008848, allocations: 195.6 kB / 389.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.00894, allocations: 19.92 kB / 389.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.00902, allocations: 27.91 kB / 389.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.009512, allocations: 259.2 kB / 390.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.009517, allocations: 0 / 390.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009519, allocations: 0 / 390.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.009524, allocations: 0 / 390.1 MB, free: 12.11 MB / 318.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.0007647/0.01029, allocations: 388.9 kB / 390.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.01033, allocations: 8.031 kB / 390.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.01038, allocations: 12.89 kB / 390.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.01075, allocations: 145.5 kB / 390.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.01077, allocations: 4.375 kB / 390.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.01079, allocations: 4.375 kB / 390.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.01106, allocations: 125.6 kB / 390.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01107, allocations: 3.938 kB / 390.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.01109, allocations: 4 kB / 390.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.0111, allocations: 4 kB / 390.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01127, allocations: 85.59 kB / 390.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.01168, allocations: 233.5 kB / 391.1 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.01198, allocations: 126.9 kB / 391.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.01211, allocations: 79.59 kB / 391.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.01213, allocations: 0 / 391.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.01239, allocations: 176.4 kB / 391.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.01239, allocations: 0 / 391.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005772/0.01297, allocations: 298.6 kB / 391.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.01304, allocations: 106.8 kB / 391.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01318, allocations: 141.2 kB / 392 MB, free: 9.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.0132, allocations: 29.7 kB / 392.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.01326, allocations: 92.06 kB / 392.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.01331, allocations: 27.75 kB / 392.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.01336, allocations: 33.7 kB / 392.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.01352, allocations: 318.8 kB / 392.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01363, allocations: 65.69 kB / 392.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01374, allocations: 87.38 kB / 392.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.01397, allocations: 161 kB / 392.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.01397, allocations: 7.875 kB / 392.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003621/0.01433, allocations: 224.9 kB / 393.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.01439, allocations: 41.69 kB / 393.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01439, allocations: 0 / 393.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.01441, allocations: 4 kB / 393.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.01448, allocations: 15.92 kB / 393.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01449, allocations: 0 / 393.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.01456, allocations: 11.89 kB / 393.1 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01458, allocations: 8 kB / 393.1 MB, free: 8.777 MB / 318.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.000141/0.01472, allocations: 163.8 kB / 393.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.01475, allocations: 7.953 kB / 393.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.01478, allocations: 20.41 kB / 393.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01478, allocations: 0 / 393.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01479, allocations: 0 / 393.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01479, allocations: 0 / 393.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.01494, allocations: 133.3 kB / 393.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01494, allocations: 3.938 kB / 393.5 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.015, allocations: 11.98 kB / 393.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.015, allocations: 4 kB / 393.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01502, allocations: 4 kB / 393.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01502, allocations: 0 / 393.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01502, allocations: 3.938 kB / 393.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.01544, allocations: 281.3 kB / 393.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.01546, allocations: 11.89 kB / 393.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.01549, allocations: 8 kB / 393.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.01556, allocations: 8.047 kB / 393.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.0156, allocations: 8 kB / 393.8 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.01562, allocations: 4 kB / 393.8 MB, free: 8.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.872e-05/0.0157, allocations: 115.2 kB / 393.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0157, allocations: 0 / 393.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000317/0.01602, allocations: 79.73 kB / 394 MB, free: 7.848 MB / 318.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.001528/0.01755, allocations: 485.2 kB / 394.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01792, allocations: 222.7 kB / 394.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01792, allocations: 0 / 394.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.01811, allocations: 145 kB / 394.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01836, allocations: 23.92 kB / 394.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.01892, allocations: 263.6 kB / 395.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.344e-05/0.019, allocations: 89.11 kB / 395.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01904, allocations: 11.94 kB / 395.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.01909, allocations: 16.5 kB / 395.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01909, allocations: 0 / 395.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of Templates: time 0.00702/0.02611, allocations: 2.611 MB / 397.8 MB, free: 4.039 MB / 318.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.378249246627092] Failed to read output from testmodel.py, exit status != 0: 0.03522530570626259 0.050274537 0.037595927 Calling exit ...