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.000766/0.000766, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008467/0.0008467, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8989/0.8989, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.009952/0.009952, allocations: 2.254 MB / 262.2 MB, free: 10.98 MB / 250.7 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.803e-06/1.803e-06, allocations: 0 / 386.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.319e-05, allocations: 4.953 kB / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002195/0.002218, allocations: 1.69 MB / 388.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.004001, allocations: 1.695 MB / 389.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.004078, allocations: 8 kB / 389.9 MB, free: 8.492 MB / 362.7 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.0003905/0.004469, allocations: 43.7 kB / 390 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.00483, allocations: 139.2 kB / 390.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.005024, allocations: 87.72 kB / 390.2 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.005156, allocations: 91.69 kB / 390.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.005244, allocations: 12.22 kB / 390.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.005331, allocations: 51.89 kB / 390.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005454, allocations: 39.89 kB / 390.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.00547, allocations: 4 kB / 390.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.005761, allocations: 195.6 kB / 390.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.005817, allocations: 19.92 kB / 390.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.005861, allocations: 19.94 kB / 390.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.00616, allocations: 259.3 kB / 390.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.006161, allocations: 0 / 390.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006162, allocations: 0 / 390.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.006166, allocations: 0 / 390.9 MB, free: 7.543 MB / 362.7 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.0004791/0.006645, allocations: 383.2 kB / 391.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.00668, allocations: 12.03 kB / 391.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.006745, allocations: 12.84 kB / 391.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.00694, allocations: 145.6 kB / 391.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.00695, allocations: 4.375 kB / 391.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.006964, allocations: 4.375 kB / 391.4 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.007153, allocations: 129.6 kB / 391.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.007162, allocations: 3.938 kB / 391.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.007174, allocations: 8 kB / 391.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007179, allocations: 0 / 391.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.007283, allocations: 85.61 kB / 391.7 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.007572, allocations: 237.4 kB / 391.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.00777, allocations: 122.9 kB / 392 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.007842, allocations: 79.44 kB / 392.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.007857, allocations: 3.984 kB / 392.1 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.008037, allocations: 172.4 kB / 392.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.008038, allocations: 0 / 392.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004816/0.00852, allocations: 294.8 kB / 392.5 MB, free: 5.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.008584, allocations: 114.7 kB / 392.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.008712, allocations: 140.9 kB / 392.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008727, allocations: 29.7 kB / 392.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.008767, allocations: 92 kB / 392.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.0088, allocations: 31.73 kB / 392.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.008835, allocations: 25.72 kB / 393 MB, free: 5.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.008915, allocations: 318.8 kB / 393.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.008988, allocations: 73.67 kB / 393.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.009054, allocations: 79.39 kB / 393.4 MB, free: 4.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.009183, allocations: 161 kB / 393.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.009187, allocations: 3.938 kB / 393.6 MB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.009396, allocations: 232.8 kB / 393.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.009428, allocations: 45.62 kB / 393.9 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.009434, allocations: 0 / 393.9 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.009445, allocations: 4 kB / 393.9 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.009485, allocations: 8 kB / 393.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.00949, allocations: 0 / 393.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.00953, allocations: 15.92 kB / 393.9 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.009538, allocations: 4 kB / 393.9 MB, free: 4.203 MB / 362.7 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 9.52e-05/0.009633, allocations: 167.4 kB / 394.1 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.009647, allocations: 7.953 kB / 394.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.009669, allocations: 12.44 kB / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009671, allocations: 0 / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.009675, allocations: 0 / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.009682, allocations: 11.98 kB / 394.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.016e-05/0.009772, allocations: 137.2 kB / 394.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.009774, allocations: 3.938 kB / 394.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.0098, allocations: 11.94 kB / 394.2 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.009802, allocations: 4 kB / 394.2 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.009812, allocations: 4 kB / 394.2 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.009815, allocations: 3.984 kB / 394.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009816, allocations: 0 / 394.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01014, allocations: 273.7 kB / 394.5 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.01015, allocations: 15.88 kB / 394.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01017, allocations: 8 kB / 394.5 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.0102, allocations: 4 kB / 394.5 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.01024, allocations: 7.984 kB / 394.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.01025, allocations: 15.94 kB / 394.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.0103, allocations: 103.3 kB / 394.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0103, allocations: 3.938 kB / 394.7 MB, free: 3.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.01052, allocations: 79.73 kB / 394.8 MB, free: 3.266 MB / 362.7 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.0007276/0.01125, allocations: 487.5 kB / 395.2 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01148, allocations: 222.8 kB / 395.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01148, allocations: 7.938 kB / 395.5 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.01158, allocations: 137.3 kB / 395.6 MB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.01173, allocations: 20.03 kB / 395.6 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01209, allocations: 273.5 kB / 395.9 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.01214, allocations: 79.33 kB / 396 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.01217, allocations: 20.44 kB / 396 MB, free: 2.062 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01217, allocations: 0 / 396 MB, free: 2.062 MB / 362.7 MB Notification: Performance of Templates: time 0.003269/0.01544, allocations: 2.656 MB / 398.6 MB, free: 15.41 MB / 378.7 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.644922325387597] Failed to read output from testmodel.py, exit status != 0: 0.02025736030191183 0.028147557 0.020262523 Calling exit ...