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.0008416/0.0008416, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00103/0.00103, allocations: 173.7 kB / 23.28 MB, free: 1.215 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.9479/0.9479, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.01211/0.01211, allocations: 2.252 MB / 262.5 MB, free: 10.65 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.333e-06/1.333e-06, allocations: 0 / 333.2 MB, free: 1.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.381e-05, allocations: 2.312 kB / 333.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002005/0.002019, allocations: 1.727 MB / 335 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.003801, allocations: 1.827 MB / 336.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.003863, allocations: 0 / 336.8 MB, free: 13.51 MB / 314.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.000274/0.004137, allocations: 51.64 kB / 336.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.004595, allocations: 171.1 kB / 337 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.004768, allocations: 83.72 kB / 337.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004879, allocations: 95.69 kB / 337.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.004951, allocations: 12 kB / 337.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.005036, allocations: 63.81 kB / 337.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.005124, allocations: 23.92 kB / 337.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.005142, allocations: 11.94 kB / 337.3 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.005388, allocations: 223.6 kB / 337.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.005431, allocations: 19.92 kB / 337.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.005466, allocations: 27.86 kB / 337.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.005753, allocations: 279.2 kB / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005755, allocations: 0 / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005755, allocations: 4 kB / 337.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.005758, allocations: 0 / 337.8 MB, free: 12.46 MB / 314.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.0004026/0.006161, allocations: 0.4973 MB / 338.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.006195, allocations: 12.03 kB / 338.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.006234, allocations: 12.89 kB / 338.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.006362, allocations: 148.4 kB / 338.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.00637, allocations: 384 / 338.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.006378, allocations: 4.375 kB / 338.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006503, allocations: 123.9 kB / 338.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.00651, allocations: 3.938 kB / 338.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.006518, allocations: 4 kB / 338.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.006522, allocations: 0 / 338.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.006561, allocations: 49.69 kB / 338.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.006806, allocations: 288.1 kB / 339 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.006947, allocations: 107.9 kB / 339.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.00699, allocations: 65.05 kB / 339.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.007009, allocations: 7.938 kB / 339.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.00715, allocations: 151.9 kB / 339.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.007151, allocations: 0 / 339.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000275/0.007426, allocations: 222.6 kB / 339.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.007469, allocations: 106.8 kB / 339.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007571, allocations: 197.9 kB / 339.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.007585, allocations: 25.7 kB / 339.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.007644, allocations: 142.8 kB / 340 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.007676, allocations: 27.75 kB / 340 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.007722, allocations: 39.34 kB / 340 MB, free: 9.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.007859, allocations: 0.4884 MB / 340.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.00789, allocations: 41.69 kB / 340.6 MB, free: 9.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.007934, allocations: 76.92 kB / 340.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.008008, allocations: 106.8 kB / 340.7 MB, free: 9.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008011, allocations: 4 kB / 340.7 MB, free: 9.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001408/0.008152, allocations: 181.2 kB / 340.9 MB, free: 9.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.008177, allocations: 41.69 kB / 341 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.008181, allocations: 0 / 341 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.00819, allocations: 4 kB / 341 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.00823, allocations: 11.94 kB / 341 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.008234, allocations: 4 kB / 341 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.00827, allocations: 11.92 kB / 341 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.008277, allocations: 4 kB / 341 MB, free: 8.922 MB / 314.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 8.543e-05/0.008362, allocations: 202.2 kB / 341.2 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.008388, allocations: 23.89 kB / 341.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.008409, allocations: 16.78 kB / 341.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008411, allocations: 0 / 341.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008412, allocations: 0 / 341.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.008415, allocations: 0 / 341.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.529e-05/0.0085, allocations: 125.2 kB / 341.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008501, allocations: 0 / 341.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.008522, allocations: 8 kB / 341.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008524, allocations: 3.984 kB / 341.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008531, allocations: 7.938 kB / 341.4 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.008534, allocations: 7.938 kB / 341.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008535, allocations: 0 / 341.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.008705, allocations: 243.3 kB / 341.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.008718, allocations: 7.953 kB / 341.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.008737, allocations: 11.94 kB / 341.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.008764, allocations: 7.984 kB / 341.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.008788, allocations: 4 kB / 341.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.008801, allocations: 4 kB / 341.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.00885, allocations: 149.1 kB / 341.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00885, allocations: 4 kB / 341.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.009068, allocations: 91.67 kB / 341.9 MB, free: 7.941 MB / 314.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.0008853/0.009953, allocations: 0.4911 MB / 342.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.01014, allocations: 186.5 kB / 342.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01014, allocations: 0 / 342.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.01022, allocations: 132.7 kB / 342.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.01038, allocations: 20 kB / 342.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.0107, allocations: 268 kB / 343 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.01074, allocations: 63.34 kB / 343 MB, free: 6.797 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.01077, allocations: 7.984 kB / 343 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.01086, allocations: 98.19 kB / 343.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01086, allocations: 0 / 343.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of Templates: time 0.004543/0.0154, allocations: 3.259 MB / 346.4 MB, free: 3.449 MB / 314.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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8485031710006297]