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.0007401/0.0007401, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001741, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007316/0.0007316, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009783/0.00171, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9787/0.9787, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07959/1.058, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.009218/0.009218, allocations: 2.259 MB / 246.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002298/0.01152, allocations: 1.421 MB / 247.6 MB, free: 11.16 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.222e-06/1.222e-06, allocations: 0 / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.74e-05, allocations: 6.312 kB / 248.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.001972/0.001989, allocations: 1.769 MB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.003809, allocations: 1.858 MB / 252.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.003873, allocations: 7.938 kB / 252.5 MB, free: 6.238 MB / 250.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.0002167/0.00409, allocations: 55.75 kB / 252.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.004422, allocations: 169.8 kB / 252.8 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.004559, allocations: 79.7 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.004677, allocations: 87.78 kB / 252.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.004752, allocations: 11.92 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004859, allocations: 71.83 kB / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.004949, allocations: 31.89 kB / 253 MB, free: 5.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.004967, allocations: 8 kB / 253 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.005229, allocations: 247.5 kB / 253.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.005277, allocations: 15.94 kB / 253.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.005314, allocations: 15.94 kB / 253.3 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.005585, allocations: 243.3 kB / 253.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.005601, allocations: 0 / 253.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005602, allocations: 3.938 kB / 253.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.005618, allocations: 0 / 253.6 MB, free: 5.219 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.0005204/0.006139, allocations: 409.2 kB / 254 MB, free: 4.789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.006169, allocations: 8.031 kB / 254 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.006207, allocations: 8.938 kB / 254 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.006368, allocations: 153.5 kB / 254.1 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.006377, allocations: 4.375 kB / 254.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.006389, allocations: 8.375 kB / 254.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.006537, allocations: 117.2 kB / 254.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006546, allocations: 3.938 kB / 254.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.006554, allocations: 0 / 254.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.00656, allocations: 0 / 254.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.006612, allocations: 60.45 kB / 254.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.006827, allocations: 180 kB / 254.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.006974, allocations: 98.94 kB / 254.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.007012, allocations: 51.45 kB / 254.6 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007024, allocations: 4 kB / 254.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.007159, allocations: 155.3 kB / 254.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.00716, allocations: 3.938 kB / 254.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001804/0.00734, allocations: 189.6 kB / 255 MB, free: 3.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.007384, allocations: 118.7 kB / 255.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.007457, allocations: 138.2 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.007468, allocations: 29.7 kB / 255.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.007492, allocations: 92.12 kB / 255.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.007517, allocations: 31.73 kB / 255.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.007551, allocations: 25.7 kB / 255.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.007619, allocations: 322.8 kB / 255.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.007649, allocations: 44.52 kB / 255.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.007701, allocations: 71.27 kB / 255.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.007773, allocations: 115.8 kB / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.007776, allocations: 0 / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000108/0.007884, allocations: 152.1 kB / 256.1 MB, free: 2.363 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.007922, allocations: 41.69 kB / 256.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007926, allocations: 0 / 256.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.007937, allocations: 8 kB / 256.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/0.007992, allocations: 11.98 kB / 256.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.007995, allocations: 0 / 256.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.008313, allocations: 8 kB / 256.2 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.00832, allocations: 0 / 256.2 MB, free: 2.289 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 (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.803e-05/0.008398, allocations: 161.7 kB / 256.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.008415, allocations: 23.92 kB / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.008438, allocations: 8.781 kB / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008439, allocations: 4 kB / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008441, allocations: 0 / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008443, allocations: 4 kB / 256.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.452e-05/0.008518, allocations: 89.81 kB / 256.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008519, allocations: 3.938 kB / 256.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.008547, allocations: 12 kB / 256.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.008557, allocations: 7.953 kB / 256.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00856, allocations: 3.938 kB / 256.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008567, allocations: 3.984 kB / 256.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008569, allocations: 4 kB / 256.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00857, allocations: 0 / 256.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.008704, allocations: 194.9 kB / 256.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.008725, allocations: 12 kB / 256.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.008753, allocations: 8 kB / 256.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.008783, allocations: 15.91 kB / 256.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.008795, allocations: 4 kB / 256.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.394e-05/0.008819, allocations: 20.84 kB / 256.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008819, allocations: 0 / 256.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.009004, allocations: 95.67 kB / 256.8 MB, free: 1.551 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,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.00114/0.01014, allocations: 0.6139 MB / 257.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01029, allocations: 187.5 kB / 257.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.0103, allocations: 0 / 257.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.01036, allocations: 125.9 kB / 257.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.01047, allocations: 27.98 kB / 257.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.0109, allocations: 268.5 kB / 258 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.01094, allocations: 71.34 kB / 258.1 MB, free: 376 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.01096, allocations: 7.984 kB / 258.1 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.01104, allocations: 79.3 kB / 258.2 MB, free: 288 kB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01104, allocations: 0 / 258.2 MB, free: 288 kB / 250.7 MB Notification: Performance of Templates: time 0.004441/0.01549, allocations: 3.263 MB / 261.5 MB, free: 13.04 MB / 266.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.4482581531628966]