Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.001132/0.001132, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008399/0.0008399, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8217/0.8217, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.01351/0.01351, allocations: 2.243 MB / 262.2 MB, free: 10.98 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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.651e-05, allocations: 2.281 kB / 386.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.001764/0.001781, allocations: 1.681 MB / 388.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003398, allocations: 1.772 MB / 390 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.003464, allocations: 0 / 390 MB, free: 8.43 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000301/0.003765, allocations: 47.7 kB / 390.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.004073, allocations: 179 kB / 390.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.004205, allocations: 83.77 kB / 390.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.00431, allocations: 95.69 kB / 390.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.329e-05/0.004383, allocations: 15.92 kB / 390.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.004453, allocations: 59.83 kB / 390.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.00454, allocations: 27.91 kB / 390.5 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.004555, allocations: 8 kB / 390.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.004759, allocations: 223.6 kB / 390.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.004816, allocations: 27.91 kB / 390.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.004851, allocations: 19.92 kB / 390.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.005129, allocations: 299.2 kB / 391.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005131, allocations: 0 / 391.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005132, allocations: 0 / 391.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.005136, allocations: 0 / 391.1 MB, free: 7.363 MB / 362.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.0004239/0.00556, allocations: 418.9 kB / 391.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.005589, allocations: 8.031 kB / 391.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.005624, allocations: 8.891 kB / 391.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005779, allocations: 145.5 kB / 391.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.005788, allocations: 4.375 kB / 391.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.005799, allocations: 4.375 kB / 391.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.005953, allocations: 125.6 kB / 391.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005961, allocations: 3.938 kB / 391.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.00597, allocations: 4 kB / 391.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005974, allocations: 0 / 391.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.006063, allocations: 93.59 kB / 391.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.006549, allocations: 237.5 kB / 392.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.006715, allocations: 122.9 kB / 392.2 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.006778, allocations: 83.44 kB / 392.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.006791, allocations: 0 / 392.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.006928, allocations: 172.4 kB / 392.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 6.41e-07/0.006929, allocations: 0 / 392.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003013/0.00723, allocations: 298.6 kB / 392.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.00727, allocations: 110.8 kB / 392.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.007355, allocations: 145.1 kB / 393 MB, free: 5.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.007367, allocations: 25.7 kB / 393 MB, free: 5.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.007405, allocations: 99.98 kB / 393.1 MB, free: 5.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.007439, allocations: 31.81 kB / 393.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.007483, allocations: 25.7 kB / 393.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.007573, allocations: 326.8 kB / 393.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.007655, allocations: 65.69 kB / 393.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.007713, allocations: 87.39 kB / 393.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.007824, allocations: 160.9 kB / 393.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007826, allocations: 4 kB / 393.8 MB, free: 4.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001797/0.008006, allocations: 228.8 kB / 394 MB, free: 4.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.008032, allocations: 41.69 kB / 394.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.008035, allocations: 0 / 394.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.008043, allocations: 0 / 394.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.008081, allocations: 15.98 kB / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.008085, allocations: 0 / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.008121, allocations: 11.95 kB / 394.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008129, allocations: 4.328 kB / 394.1 MB, free: 3.988 MB / 362.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.284e-05/0.008202, allocations: 159.5 kB / 394.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.008218, allocations: 15.94 kB / 394.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.008239, allocations: 16.77 kB / 394.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.00824, allocations: 0 / 394.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.008248, allocations: 0 / 394.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008251, allocations: 0 / 394.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.149e-05/0.008332, allocations: 145.1 kB / 394.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008334, allocations: 4 kB / 394.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.008358, allocations: 19.92 kB / 394.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008359, allocations: 0 / 394.5 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.008369, allocations: 4 kB / 394.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-07/0.008369, allocations: 0 / 394.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00837, allocations: 0 / 394.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.008582, allocations: 293.2 kB / 394.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.008593, allocations: 3.953 kB / 394.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.008611, allocations: 8 kB / 394.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.008638, allocations: 7.984 kB / 394.8 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.008668, allocations: 8 kB / 394.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.008679, allocations: 11.92 kB / 394.8 MB, free: 3.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.076e-05/0.008729, allocations: 117.9 kB / 394.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00873, allocations: 0 / 394.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.008925, allocations: 91.67 kB / 395 MB, free: 3.02 MB / 362.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.000604/0.009529, allocations: 479.5 kB / 395.5 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.009728, allocations: 222.7 kB / 395.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009729, allocations: 0 / 395.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.009809, allocations: 145 kB / 395.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.009951, allocations: 19.06 kB / 395.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.01028, allocations: 278 kB / 396.1 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.01033, allocations: 99.45 kB / 396.2 MB, free: 1.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.01036, allocations: 16.5 kB / 396.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01036, allocations: 3.938 kB / 396.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of Templates: time 0.003365/0.01372, allocations: 2.968 MB / 399.2 MB, free: 14.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & ./ExternData_ExternData.Examples.XLSTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.693315273150802] Failed to read output from testmodel.py, exit status != 0: 0.01856128592044115 0.03162816 0.023970404 Calling exit ...