Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.001247/0.001247, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001358/0.001358, allocations: 177 kB / 23.36 MB, free: 1.129 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.9529/0.9529, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.01055/0.01055, allocations: 2.263 MB / 262.5 MB, free: 10.66 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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 280 MB, free: 9.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.604e-05, allocations: 8.781 kB / 280 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002426/0.002452, allocations: 1.761 MB / 281.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.00471, allocations: 1.769 MB / 283.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.00478, allocations: 0 / 283.6 MB, free: 5.598 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.005109, allocations: 47.77 kB / 283.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.005398, allocations: 123.3 kB / 283.7 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.005569, allocations: 79.7 kB / 283.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.005677, allocations: 83.77 kB / 283.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.00575, allocations: 8.234 kB / 283.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.005831, allocations: 63.75 kB / 283.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.005942, allocations: 35.91 kB / 284 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.005957, allocations: 4 kB / 284 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.006202, allocations: 195.8 kB / 284.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.006249, allocations: 27.91 kB / 284.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.006282, allocations: 15.94 kB / 284.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.006537, allocations: 243.2 kB / 284.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00654, allocations: 0 / 284.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00654, allocations: 0 / 284.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.006546, allocations: 3.938 kB / 284.5 MB, free: 4.68 MB / 266.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.0003735/0.00692, allocations: 365.8 kB / 284.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.006951, allocations: 8.031 kB / 284.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.006985, allocations: 12.92 kB / 284.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.007133, allocations: 129.7 kB / 285 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.00714, allocations: 384 / 285 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.007148, allocations: 4.375 kB / 285 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.007279, allocations: 121.2 kB / 285.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.007286, allocations: 11.88 kB / 285.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.007293, allocations: 0 / 285.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.007297, allocations: 0 / 285.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.007341, allocations: 52.52 kB / 285.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.007538, allocations: 180.1 kB / 285.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.007662, allocations: 86.78 kB / 285.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.007702, allocations: 55.55 kB / 285.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.007713, allocations: 4 kB / 285.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.007843, allocations: 159.2 kB / 285.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.007844, allocations: 0 / 285.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001723/0.008016, allocations: 185.5 kB / 285.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.008052, allocations: 110.8 kB / 285.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.008124, allocations: 137.9 kB / 286.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.008135, allocations: 25.7 kB / 286.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.00816, allocations: 88.12 kB / 286.2 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.008187, allocations: 31.73 kB / 286.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.00822, allocations: 25.69 kB / 286.2 MB, free: 2.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.008292, allocations: 322.8 kB / 286.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.00832, allocations: 44.53 kB / 286.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.008352, allocations: 51.41 kB / 286.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.008423, allocations: 119.8 kB / 286.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008425, allocations: 0 / 286.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000102/0.008527, allocations: 147.8 kB / 286.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.008556, allocations: 37.69 kB / 286.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00856, allocations: 4 kB / 286.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.008569, allocations: 0 / 286.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.387e-05/0.008613, allocations: 8 kB / 286.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.008615, allocations: 0 / 286.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.008649, allocations: 19.88 kB / 287 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.008656, allocations: 336 / 287 MB, free: 1.863 MB / 266.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 7.404e-05/0.00873, allocations: 154.3 kB / 287.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.008755, allocations: 19.92 kB / 287.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.008774, allocations: 16.42 kB / 287.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.008777, allocations: 4 kB / 287.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008779, allocations: 0 / 287.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008781, allocations: 0 / 287.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.768e-05/0.008859, allocations: 85.81 kB / 287.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00886, allocations: 0 / 287.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.00889, allocations: 19.98 kB / 287.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008892, allocations: 0 / 287.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.008899, allocations: 7.938 kB / 287.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008901, allocations: 0 / 287.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.008901, allocations: 0 / 287.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009027, allocations: 194.9 kB / 287.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.009041, allocations: 11.95 kB / 287.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.00906, allocations: 7.938 kB / 287.5 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.009088, allocations: 7.984 kB / 287.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.009111, allocations: 4 kB / 287.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.009123, allocations: 4 kB / 287.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.443e-05/0.009147, allocations: 24.83 kB / 287.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009147, allocations: 0 / 287.5 MB, free: 1.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.009342, allocations: 79.73 kB / 287.6 MB, free: 1.16 MB / 266.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.001109/0.01045, allocations: 0.5498 MB / 288.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.0106, allocations: 179.6 kB / 288.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01061, allocations: 4 kB / 288.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.01067, allocations: 117.9 kB / 288.4 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.01079, allocations: 31.88 kB / 288.5 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.01111, allocations: 248.7 kB / 288.7 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.01114, allocations: 65.78 kB / 288.8 MB, free: 48 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.01117, allocations: 7.984 kB / 288.8 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08908/0.1002, allocations: 74.67 kB / 288.8 MB, free: 23.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1002, allocations: 0 / 288.8 MB, free: 23.25 MB / 266.7 MB Notification: Performance of Templates: time 0.005391/0.1056, allocations: 2.855 MB / 291.7 MB, free: 23.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.48023309931159]