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.001338/0.001338, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001582/0.001582, allocations: 159.5 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.02153/0.02153, allocations: 2.265 MB / 262 MB, free: 14.42 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 74.39 kB / 386.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1182, allocations: 54.32 MB / 440.6 MB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003219/0.1214, allocations: 1.695 MB / 442.3 MB, free: 9.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1241, allocations: 1.707 MB / 444 MB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.1241, allocations: 0 / 444 MB, free: 7.898 MB / 414.1 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.0003023/0.1244, allocations: 39.77 kB / 444.1 MB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1248, allocations: 123.5 kB / 444.2 MB, free: 7.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.125, allocations: 91.77 kB / 444.3 MB, free: 7.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1252, allocations: 99.7 kB / 444.4 MB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.1253, allocations: 8.234 kB / 444.4 MB, free: 7.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.1253, allocations: 39.89 kB / 444.4 MB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1255, allocations: 43.73 kB / 444.5 MB, free: 7.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1255, allocations: 8 kB / 444.5 MB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.1258, allocations: 191.8 kB / 444.7 MB, free: 7.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1259, allocations: 27.91 kB / 444.7 MB, free: 7.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.1259, allocations: 27.86 kB / 444.7 MB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.1263, allocations: 243.2 kB / 445 MB, free: 6.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1263, allocations: 0 / 445 MB, free: 6.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1263, allocations: 0 / 445 MB, free: 6.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1263, allocations: 4 kB / 445 MB, free: 6.965 MB / 414.1 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.0006024/0.1269, allocations: 391.2 kB / 445.3 MB, free: 6.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.127, allocations: 12.03 kB / 445.4 MB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.127, allocations: 8.891 kB / 445.4 MB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1273, allocations: 150.3 kB / 445.5 MB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1273, allocations: 4.375 kB / 445.5 MB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1273, allocations: 8.125 kB / 445.5 MB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1276, allocations: 141 kB / 445.7 MB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1276, allocations: 0 / 445.7 MB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1276, allocations: 0 / 445.7 MB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1276, allocations: 3.984 kB / 445.7 MB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1278, allocations: 97.66 kB / 445.8 MB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1282, allocations: 249.4 kB / 446 MB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1284, allocations: 126.9 kB / 446.1 MB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1286, allocations: 87.44 kB / 446.2 MB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1286, allocations: 0 / 446.2 MB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1289, allocations: 188.3 kB / 446.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1289, allocations: 0 / 446.4 MB, free: 5.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005658/0.1294, allocations: 322.8 kB / 446.7 MB, free: 5.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.1295, allocations: 114.8 kB / 446.8 MB, free: 4.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1296, allocations: 137.8 kB / 447 MB, free: 4.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1297, allocations: 29.7 kB / 447 MB, free: 4.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.1297, allocations: 88.12 kB / 447.1 MB, free: 4.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1298, allocations: 27.75 kB / 447.1 MB, free: 4.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.1298, allocations: 33.7 kB / 447.1 MB, free: 4.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.13, allocations: 322.8 kB / 447.4 MB, free: 4.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1301, allocations: 77.69 kB / 447.5 MB, free: 4.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1302, allocations: 95.39 kB / 447.6 MB, free: 4.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1305, allocations: 168.9 kB / 447.8 MB, free: 3.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1305, allocations: 0 / 447.8 MB, free: 3.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000377/0.1308, allocations: 240.9 kB / 448 MB, free: 3.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.1309, allocations: 41.69 kB / 448.1 MB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1309, allocations: 0 / 448.1 MB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1309, allocations: 4 kB / 448.1 MB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.131, allocations: 15.92 kB / 448.1 MB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.131, allocations: 0 / 448.1 MB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.1311, allocations: 15.95 kB / 448.1 MB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1311, allocations: 0 / 448.1 MB, free: 3.5 MB / 414.1 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.0001401/0.1312, allocations: 174.2 kB / 448.3 MB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1312, allocations: 11.95 kB / 448.3 MB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1313, allocations: 12.42 kB / 448.3 MB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.1313, allocations: 4 kB / 448.3 MB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1313, allocations: 0 / 448.3 MB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1313, allocations: 0 / 448.3 MB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1314, allocations: 145.2 kB / 448.4 MB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1314, allocations: 3.984 kB / 448.4 MB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.1315, allocations: 12.33 kB / 448.4 MB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1315, allocations: 0 / 448.4 MB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1315, allocations: 7.938 kB / 448.5 MB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1315, allocations: 0 / 448.5 MB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1315, allocations: 0 / 448.5 MB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.132, allocations: 313.1 kB / 448.8 MB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.132, allocations: 3.953 kB / 448.8 MB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.132, allocations: 11.98 kB / 448.8 MB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.1321, allocations: 4 kB / 448.8 MB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1321, allocations: 7.984 kB / 448.8 MB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1322, allocations: 12 kB / 448.8 MB, free: 2.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.1322, allocations: 107.3 kB / 448.9 MB, free: 2.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1322, allocations: 0 / 448.9 MB, free: 2.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1326, allocations: 79.73 kB / 449 MB, free: 2.527 MB / 414.1 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.001249/0.1338, allocations: 431 kB / 449.4 MB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.1342, allocations: 250.6 kB / 449.6 MB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1342, allocations: 0 / 449.6 MB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.1344, allocations: 153.1 kB / 449.8 MB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1346, allocations: 19.22 kB / 449.8 MB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.1352, allocations: 284.2 kB / 450.1 MB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.264e-05/0.1353, allocations: 89.11 kB / 450.2 MB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.1353, allocations: 11.97 kB / 450.2 MB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.1353, allocations: 20.5 kB / 450.2 MB, free: 1.309 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1353, allocations: 0 / 450.2 MB, free: 1.309 MB / 414.1 MB Notification: Performance of Templates: time 0.006437/0.1418, allocations: 2.689 MB / 452.9 MB, free: 14.62 MB / 430.1 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=480 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.540702108992264] Failed to read output from testmodel.py, exit status != 0: 0.15238220908213407 0.16491156899999995 0.035550526 Calling exit ...