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.0009107/0.0009107, 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.0009731/0.0009731, 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.9564/0.9564, 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.0108/0.0108, allocations: 2.264 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.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.493e-06/1.493e-06, allocations: 0 / 280 MB, free: 9.156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.524e-05, allocations: 2.312 kB / 280 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002523/0.002548, allocations: 1.772 MB / 281.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.004843, allocations: 1.78 MB / 283.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.00491, allocations: 0 / 283.6 MB, free: 5.578 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.0003316/0.005241, allocations: 43.77 kB / 283.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005565, allocations: 131.2 kB / 283.7 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.005747, allocations: 87.72 kB / 283.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.005868, allocations: 95.77 kB / 283.9 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.005945, allocations: 8.219 kB / 283.9 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.006033, allocations: 59.83 kB / 284 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.006149, allocations: 31.91 kB / 284 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.006166, allocations: 8 kB / 284 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.006452, allocations: 199.7 kB / 284.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.006502, allocations: 23.92 kB / 284.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.006541, allocations: 27.91 kB / 284.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.006831, allocations: 251.2 kB / 284.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.006836, allocations: 4 kB / 284.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006837, allocations: 0 / 284.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.006841, allocations: 0 / 284.5 MB, free: 4.621 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.000397/0.007238, allocations: 357.8 kB / 284.9 MB, free: 4.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.007269, allocations: 8.031 kB / 284.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.007305, allocations: 12.92 kB / 284.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.007459, allocations: 129.7 kB / 285 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.007474, allocations: 8.375 kB / 285 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.007484, allocations: 8.375 kB / 285 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007624, allocations: 125.1 kB / 285.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.007633, allocations: 3.938 kB / 285.2 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.007642, allocations: 4 kB / 285.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007647, allocations: 4 kB / 285.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.007693, allocations: 44.52 kB / 285.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.007912, allocations: 187.9 kB / 285.4 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.008045, allocations: 86.91 kB / 285.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.008089, allocations: 55.55 kB / 285.5 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.008102, allocations: 4 kB / 285.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.008229, allocations: 163.2 kB / 285.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.00823, allocations: 0 / 285.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001812/0.008411, allocations: 185.5 kB / 285.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.008458, allocations: 110.8 kB / 286 MB, free: 2.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.00853, allocations: 130.7 kB / 286.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.008542, allocations: 25.7 kB / 286.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.00857, allocations: 96.11 kB / 286.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.008596, allocations: 27.73 kB / 286.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.008632, allocations: 25.7 kB / 286.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.008708, allocations: 330.8 kB / 286.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.00874, allocations: 40.53 kB / 286.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.008777, allocations: 59.34 kB / 286.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.008851, allocations: 115.8 kB / 286.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008853, allocations: 0 / 286.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001089/0.008962, allocations: 148.1 kB / 287 MB, free: 1.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.008993, allocations: 41.69 kB / 287 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008998, allocations: 0 / 287 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.00901, allocations: 0 / 287 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.009064, allocations: 12 kB / 287 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.009067, allocations: 3.984 kB / 287 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.009104, allocations: 15.89 kB / 287 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.009112, allocations: 4 kB / 287 MB, free: 1.777 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 8.649e-05/0.009199, allocations: 161.5 kB / 287.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.009216, allocations: 15.94 kB / 287.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.009238, allocations: 12.42 kB / 287.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.00924, allocations: 0 / 287.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.009243, allocations: 4 kB / 287.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009245, allocations: 0 / 287.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.322e-05/0.009329, allocations: 93.8 kB / 287.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009331, allocations: 4 kB / 287.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.009367, allocations: 16 kB / 287.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009369, allocations: 0 / 287.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.009378, allocations: 7.938 kB / 287.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.00938, allocations: 3.984 kB / 287.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009381, allocations: 0 / 287.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.009515, allocations: 190.9 kB / 287.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.00953, allocations: 11.94 kB / 287.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.009552, allocations: 11.94 kB / 287.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.009582, allocations: 4 kB / 287.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.009606, allocations: 3.984 kB / 287.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.00962, allocations: 12 kB / 287.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.009644, allocations: 20.84 kB / 287.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009644, allocations: 0 / 287.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.009849, allocations: 79.73 kB / 287.7 MB, free: 1.066 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.001049/0.0109, allocations: 0.5519 MB / 288.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.01107, allocations: 187.5 kB / 288.4 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01107, allocations: 0 / 288.4 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.01114, allocations: 133.8 kB / 288.5 MB, free: 332 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01128, allocations: 22.17 kB / 288.6 MB, free: 316 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.01163, allocations: 256.7 kB / 288.8 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08856/0.1002, allocations: 58.89 kB / 288.9 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.1002, allocations: 7.781 kB / 288.9 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1003, allocations: 76.28 kB / 289 MB, free: 23.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1003, allocations: 0.9688 kB / 289 MB, free: 23.2 MB / 266.7 MB Notification: Performance of Templates: time 0.005339/0.1057, allocations: 2.966 MB / 291.9 MB, free: 23 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6142452307976782]