Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.0009981/0.0009981, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001254/0.001254, allocations: 181 kB / 23.36 MB, free: 1.133 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.9397/0.9397, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.00859/0.00859, allocations: 2.256 MB / 262.5 MB, free: 10.68 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 280 MB, free: 9.223 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.387e-05, allocations: 13 kB / 280 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.001994/0.002008, allocations: 1.721 MB / 281.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.00361, allocations: 1.784 MB / 283.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.003669, allocations: 0 / 283.5 MB, free: 5.68 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.0003115/0.003981, allocations: 31.8 kB / 283.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004254, allocations: 135.2 kB / 283.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.004414, allocations: 95.7 kB / 283.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.004537, allocations: 103.7 kB / 283.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.00462, allocations: 8.234 kB / 283.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.004705, allocations: 55.88 kB / 283.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.00483, allocations: 39.66 kB / 283.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.004847, allocations: 8 kB / 284 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.005048, allocations: 191.6 kB / 284.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.005104, allocations: 15.92 kB / 284.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.005139, allocations: 31.91 kB / 284.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.005399, allocations: 243.3 kB / 284.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0054, allocations: 0 / 284.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005401, allocations: 0 / 284.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.005404, allocations: 3.938 kB / 284.4 MB, free: 4.734 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.0003919/0.005796, allocations: 361.8 kB / 284.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.005827, allocations: 12.03 kB / 284.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.005859, allocations: 12.92 kB / 284.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005999, allocations: 129.7 kB / 284.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.006008, allocations: 384 / 284.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.006019, allocations: 4.375 kB / 284.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.006154, allocations: 129 kB / 285.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.006163, allocations: 3.938 kB / 285.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.006172, allocations: 8 kB / 285.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006177, allocations: 0 / 285.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.006223, allocations: 56.5 kB / 285.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.006431, allocations: 183.9 kB / 285.3 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.006562, allocations: 90.91 kB / 285.4 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.0066, allocations: 55.55 kB / 285.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.006612, allocations: 4 kB / 285.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.006732, allocations: 155.2 kB / 285.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.006733, allocations: 0 / 285.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001739/0.006907, allocations: 189.5 kB / 285.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.006948, allocations: 106.8 kB / 285.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.007017, allocations: 134 kB / 286 MB, free: 2.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.007029, allocations: 33.7 kB / 286.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.007054, allocations: 88.11 kB / 286.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.007081, allocations: 31.73 kB / 286.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.007112, allocations: 25.7 kB / 286.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.007183, allocations: 318.8 kB / 286.5 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.007211, allocations: 44.53 kB / 286.6 MB, free: 2.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.007245, allocations: 59.39 kB / 286.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/0.00731, allocations: 115.8 kB / 286.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007312, allocations: 4 kB / 286.7 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.575e-05/0.007408, allocations: 139.8 kB / 286.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.007435, allocations: 49.62 kB / 286.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.00744, allocations: 4 kB / 286.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007452, allocations: 0 / 286.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.007495, allocations: 8.328 kB / 286.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.007499, allocations: 0 / 286.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/0.007532, allocations: 15.88 kB / 287 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.007541, allocations: 4 kB / 287 MB, free: 1.891 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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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.893e-05/0.00762, allocations: 168.7 kB / 287.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.007642, allocations: 15.94 kB / 287.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.007669, allocations: 12.42 kB / 287.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.007672, allocations: 8 kB / 287.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.007674, allocations: 0 / 287.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007678, allocations: 0 / 287.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.007756, allocations: 89.86 kB / 287.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007757, allocations: 0 / 287.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.00778, allocations: 8 kB / 287.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.007782, allocations: 4 kB / 287.3 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.00779, allocations: 3.938 kB / 287.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.00779, allocations: 0 / 287.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.007793, allocations: 8 kB / 287.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.007916, allocations: 186.9 kB / 287.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.007928, allocations: 15.95 kB / 287.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.007951, allocations: 11.92 kB / 287.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.007974, allocations: 4 kB / 287.5 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.007998, allocations: 11.94 kB / 287.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.008011, allocations: 7.969 kB / 287.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.116e-05/0.008032, allocations: 20.84 kB / 287.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008032, allocations: 0 / 287.5 MB, free: 1.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.008197, allocations: 83.73 kB / 287.6 MB, free: 1.172 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.00106/0.009257, allocations: 0.5421 MB / 288.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.009408, allocations: 191.5 kB / 288.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.00941, allocations: 0 / 288.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.00947, allocations: 129.8 kB / 288.5 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.009585, allocations: 26.97 kB / 288.5 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.009877, allocations: 256.7 kB / 288.7 MB, free: 128 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.009913, allocations: 71.33 kB / 288.8 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.503e-05/0.009938, allocations: 4 kB / 288.8 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09793/0.1079, allocations: 72.55 kB / 288.9 MB, free: 23.25 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1079, allocations: 0 / 288.9 MB, free: 23.25 MB / 266.7 MB Notification: Performance of Templates: time 0.005507/0.1134, allocations: 2.969 MB / 291.8 MB, free: 23.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.573015528265387]