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.0008254/0.0008254, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0008955/0.0008955, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9456/0.9456, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.01427/0.01427, allocations: 2.273 MB / 262.5 MB, free: 10.67 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.553e-06/1.553e-06, allocations: 0 / 280 MB, free: 9.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.703e-05, allocations: 2.312 kB / 280 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002965/0.002982, allocations: 1.767 MB / 281.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.005724, allocations: 1.85 MB / 283.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.005807, allocations: 4 kB / 283.6 MB, free: 5.527 MB / 266.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.0003715/0.006178, allocations: 47.7 kB / 283.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.006711, allocations: 167.1 kB / 283.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.006949, allocations: 79.66 kB / 283.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.007107, allocations: 99.75 kB / 284 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.007188, allocations: 4 kB / 284 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.007305, allocations: 59.77 kB / 284.1 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.007417, allocations: 31.91 kB / 284.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.00744, allocations: 8 kB / 284.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.007854, allocations: 247.6 kB / 284.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.007908, allocations: 23.86 kB / 284.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.007959, allocations: 23.92 kB / 284.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.00838, allocations: 279.2 kB / 284.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.008382, allocations: 0 / 284.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.008383, allocations: 7.938 kB / 284.7 MB, free: 4.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.008388, allocations: 0 / 284.7 MB, free: 4.469 MB / 266.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.0004841/0.008872, allocations: 365.7 kB / 285 MB, free: 4.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.008915, allocations: 12.03 kB / 285.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.008958, allocations: 8.922 kB / 285.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.00915, allocations: 145.5 kB / 285.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.009161, allocations: 384 / 285.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.009174, allocations: 4.375 kB / 285.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.009356, allocations: 125.1 kB / 285.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.009369, allocations: 11.94 kB / 285.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.009381, allocations: 0 / 285.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.009389, allocations: 0 / 285.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.009464, allocations: 48.52 kB / 285.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.009744, allocations: 180 kB / 285.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.009928, allocations: 86.92 kB / 285.7 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.009987, allocations: 55.61 kB / 285.7 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.01, allocations: 7.938 kB / 285.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01017, allocations: 151.2 kB / 285.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.01017, allocations: 4 kB / 285.9 MB, free: 3.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002299/0.0104, allocations: 185.5 kB / 286.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.01045, allocations: 110.8 kB / 286.2 MB, free: 2.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.01055, allocations: 134.6 kB / 286.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.01057, allocations: 29.7 kB / 286.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.01061, allocations: 96.05 kB / 286.4 MB, free: 2.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.01064, allocations: 27.8 kB / 286.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.01069, allocations: 25.7 kB / 286.5 MB, free: 2.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.01078, allocations: 326.8 kB / 286.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.01082, allocations: 36.53 kB / 286.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.01087, allocations: 67.28 kB / 286.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.01097, allocations: 115.8 kB / 287 MB, free: 1.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01097, allocations: 0 / 287 MB, free: 1.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.01112, allocations: 144.1 kB / 287.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.01115, allocations: 37.69 kB / 287.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01116, allocations: 7.984 kB / 287.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01117, allocations: 0 / 287.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.01123, allocations: 8 kB / 287.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01123, allocations: 3.984 kB / 287.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.01128, allocations: 11.94 kB / 287.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.01129, allocations: 0 / 287.2 MB, free: 1.625 MB / 266.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 9.352e-05/0.01138, allocations: 161 kB / 287.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.01141, allocations: 19.92 kB / 287.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.01144, allocations: 8.781 kB / 287.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01144, allocations: 4 kB / 287.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01144, allocations: 0 / 287.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01144, allocations: 0 / 287.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.01155, allocations: 89.83 kB / 287.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01155, allocations: 0 / 287.5 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.01161, allocations: 15.98 kB / 287.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01161, allocations: 4 kB / 287.5 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01162, allocations: 7.938 kB / 287.5 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.01163, allocations: 4 kB / 287.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01163, allocations: 0 / 287.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.01184, allocations: 190.9 kB / 287.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01187, allocations: 19.83 kB / 287.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.0119, allocations: 11.92 kB / 287.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.01195, allocations: 4 kB / 287.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.01198, allocations: 8 kB / 287.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.012, allocations: 3.984 kB / 287.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.01204, allocations: 24.84 kB / 287.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01204, allocations: 4 kB / 287.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01234, allocations: 87.73 kB / 287.9 MB, free: 0.8984 MB / 266.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.001465/0.01381, allocations: 0.5815 MB / 288.4 MB, free: 500 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.01401, allocations: 179.6 kB / 288.6 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01402, allocations: 0 / 288.6 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.01411, allocations: 129.9 kB / 288.7 MB, free: 140 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.01427, allocations: 15.98 kB / 288.8 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1322/0.1464, allocations: 247.9 kB / 289 MB, free: 22.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.1465, allocations: 65.62 kB / 289.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.1465, allocations: 8.688 kB / 289.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1466, allocations: 76.67 kB / 289.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1466, allocations: 2.906 kB / 289.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of Templates: time 0.005444/0.1521, allocations: 3.224 MB / 292.4 MB, free: 21.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.558177025988698]