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.001172/0.001172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002911, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001157/0.001157, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002675, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9189/0.9189, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0915/1.01, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.009137/0.009137, allocations: 2.254 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002161/0.0113, allocations: 1.426 MB / 247.8 MB, free: 11.06 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.563e-06/1.563e-06, allocations: 0 / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.477e-05, allocations: 2.312 kB / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002698/0.002713, allocations: 1.78 MB / 250.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.005031, allocations: 1.804 MB / 252.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.005099, allocations: 3.938 kB / 252.7 MB, free: 6.168 MB / 250.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.0002518/0.00535, allocations: 47.66 kB / 252.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.005712, allocations: 126.1 kB / 252.9 MB, free: 6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.005972, allocations: 87.64 kB / 252.9 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.006145, allocations: 95.78 kB / 253 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.006234, allocations: 12.22 kB / 253.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.00637, allocations: 71.83 kB / 253.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.006506, allocations: 27.91 kB / 253.2 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.00653, allocations: 8 kB / 253.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.006892, allocations: 211.6 kB / 253.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.006952, allocations: 19.92 kB / 253.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.006995, allocations: 19.94 kB / 253.4 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.007336, allocations: 207.4 kB / 253.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.007347, allocations: 0 / 253.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007348, allocations: 0 / 253.6 MB, free: 5.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.007358, allocations: 0 / 253.6 MB, free: 5.25 MB / 250.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.0005438/0.007901, allocations: 401.4 kB / 254 MB, free: 4.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.007937, allocations: 12.03 kB / 254 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.007981, allocations: 8.922 kB / 254 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.008168, allocations: 137.7 kB / 254.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.008178, allocations: 4.312 kB / 254.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.008195, allocations: 8.375 kB / 254.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.008379, allocations: 117.2 kB / 254.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.008388, allocations: 3.938 kB / 254.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.0084, allocations: 3.984 kB / 254.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.008407, allocations: 4 kB / 254.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.00849, allocations: 64.44 kB / 254.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.008807, allocations: 183.9 kB / 254.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.009004, allocations: 90.91 kB / 254.6 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.009073, allocations: 63.48 kB / 254.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.009088, allocations: 0 / 254.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.009275, allocations: 163.2 kB / 254.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.009276, allocations: 0 / 254.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002477/0.009524, allocations: 205.5 kB / 255 MB, free: 3.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.00961, allocations: 199.9 kB / 255.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.009703, allocations: 122.7 kB / 255.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.009723, allocations: 33.7 kB / 255.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.009755, allocations: 88.12 kB / 255.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.009792, allocations: 31.67 kB / 255.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.009839, allocations: 29.69 kB / 255.5 MB, free: 3.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.009929, allocations: 318.8 kB / 255.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.009973, allocations: 52.47 kB / 255.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.01003, allocations: 63.38 kB / 256 MB, free: 2.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.01013, allocations: 119.8 kB / 256.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01013, allocations: 4 kB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001517/0.01029, allocations: 147.8 kB / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.01033, allocations: 41.69 kB / 256.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01034, allocations: 4 kB / 256.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01035, allocations: 0 / 256.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.01041, allocations: 11.94 kB / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.01042, allocations: 4 kB / 256.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.01047, allocations: 11.94 kB / 256.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.01048, allocations: 0 / 256.3 MB, free: 2.211 MB / 250.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 0.0001058/0.01058, allocations: 164.8 kB / 256.5 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.01061, allocations: 11.94 kB / 256.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.01064, allocations: 16.42 kB / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01064, allocations: 0 / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01064, allocations: 0 / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01064, allocations: 336 / 256.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.01075, allocations: 97.86 kB / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01075, allocations: 0 / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.0108, allocations: 8 kB / 256.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01081, allocations: 15.88 kB / 256.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01082, allocations: 3.938 kB / 256.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01083, allocations: 15.97 kB / 256.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01083, allocations: 3.938 kB / 256.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01083, allocations: 0 / 256.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.01103, allocations: 198.9 kB / 256.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.01106, allocations: 7.938 kB / 256.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.0111, allocations: 4 kB / 256.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01113, allocations: 7.984 kB / 256.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01115, allocations: 4 kB / 256.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.797e-05/0.01118, allocations: 24.83 kB / 256.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01118, allocations: 0 / 256.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.01148, allocations: 79.8 kB / 257 MB, free: 1.488 MB / 250.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.001525/0.01301, allocations: 0.5856 MB / 257.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.01322, allocations: 195.5 kB / 257.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.01323, allocations: 4 kB / 257.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01334, allocations: 133.9 kB / 257.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.01353, allocations: 95.27 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.01413, allocations: 264.5 kB / 258.2 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.01417, allocations: 63.34 kB / 258.3 MB, free: 252 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.902e-05/0.01421, allocations: 7.984 kB / 258.3 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.01433, allocations: 79.36 kB / 258.4 MB, free: 164 kB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01433, allocations: 4 kB / 258.4 MB, free: 160 kB / 250.7 MB Notification: Performance of Templates: time 0.005767/0.02009, allocations: 3.023 MB / 261.4 MB, free: 13.16 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.4977680407464504]