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.0006676/0.0006676, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001572, allocations: 440 kB / 10.41 MB, free: 284 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.001055/0.001055, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.002193, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9273/0.9273, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08072/1.008, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.01075/0.01075, allocations: 2.25 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002486/0.01324, allocations: 1.433 MB / 247.8 MB, free: 11.07 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.403e-06/1.403e-06, allocations: 0 / 249.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.171e-05, allocations: 2.312 kB / 249.1 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003043/0.003065, allocations: 1.769 MB / 250.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.005658, allocations: 1.886 MB / 252.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.005732, allocations: 3.938 kB / 252.8 MB, free: 6.102 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.0002963/0.006029, allocations: 47.7 kB / 252.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.006533, allocations: 169.8 kB / 253 MB, free: 5.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.006766, allocations: 87.7 kB / 253.1 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.006924, allocations: 83.72 kB / 253.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.007005, allocations: 8 kB / 253.2 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.007139, allocations: 75.75 kB / 253.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.007262, allocations: 39.89 kB / 253.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.007283, allocations: 4 kB / 253.3 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.007699, allocations: 243.5 kB / 253.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.007759, allocations: 15.94 kB / 253.5 MB, free: 5.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.007804, allocations: 19.94 kB / 253.5 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.008205, allocations: 247.3 kB / 253.8 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.008217, allocations: 4 kB / 253.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.008218, allocations: 0 / 253.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.008227, allocations: 0 / 253.8 MB, free: 5.078 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.0005723/0.0088, allocations: 417.2 kB / 254.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.00883, allocations: 8.031 kB / 254.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.008877, allocations: 8.938 kB / 254.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.009063, allocations: 141.4 kB / 254.4 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.009074, allocations: 4.375 kB / 254.4 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.009089, allocations: 8.312 kB / 254.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.009262, allocations: 121.2 kB / 254.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.009271, allocations: 3.938 kB / 254.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.009283, allocations: 8 kB / 254.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.00929, allocations: 0 / 254.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.009353, allocations: 48.52 kB / 254.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.009618, allocations: 184 kB / 254.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.009802, allocations: 90.92 kB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.009857, allocations: 59.36 kB / 254.9 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.009871, allocations: 12.03 kB / 254.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.01005, allocations: 147.3 kB / 255 MB, free: 3.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.01005, allocations: 0 / 255 MB, free: 3.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002472/0.0103, allocations: 197.5 kB / 255.2 MB, free: 3.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.01038, allocations: 191.9 kB / 255.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.01048, allocations: 138.6 kB / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.0105, allocations: 29.7 kB / 255.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.01053, allocations: 92.11 kB / 255.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.01057, allocations: 27.73 kB / 255.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.01062, allocations: 29.69 kB / 255.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.01071, allocations: 318.8 kB / 256 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.01076, allocations: 56.45 kB / 256.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.01081, allocations: 59.41 kB / 256.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.01092, allocations: 123.8 kB / 256.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01092, allocations: 0 / 256.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001532/0.01107, allocations: 147.8 kB / 256.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.01111, allocations: 34.95 kB / 256.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01112, allocations: 0 / 256.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.01113, allocations: 0 / 256.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.0112, allocations: 15.98 kB / 256.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01121, allocations: 3.938 kB / 256.5 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.01126, allocations: 8 kB / 256.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01127, allocations: 8 kB / 256.5 MB, free: 2.055 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 9.754e-05/0.01137, allocations: 154.3 kB / 256.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.0114, allocations: 20.19 kB / 256.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.01143, allocations: 12.78 kB / 256.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01143, allocations: 3.984 kB / 256.7 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01143, allocations: 4 kB / 256.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01144, allocations: 3.984 kB / 256.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.01156, allocations: 89.83 kB / 256.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01156, allocations: 0 / 256.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.01161, allocations: 12 kB / 256.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.01163, allocations: 15.92 kB / 256.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01164, allocations: 3.938 kB / 256.8 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01165, allocations: 8 kB / 256.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01165, allocations: 3.938 kB / 256.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01166, allocations: 0 / 256.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.01185, allocations: 191 kB / 257 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01188, allocations: 11.94 kB / 257 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.01193, allocations: 4 kB / 257 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.01196, allocations: 7.984 kB / 257 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01197, allocations: 4 kB / 257 MB, free: 1.441 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.01202, allocations: 35.95 kB / 257 MB, free: 1.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01202, allocations: 0 / 257 MB, free: 1.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.01233, allocations: 95.59 kB / 257.1 MB, free: 1.312 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.001633/0.01397, allocations: 0.6166 MB / 257.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.01417, allocations: 191.5 kB / 257.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.01418, allocations: 0 / 257.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.01428, allocations: 125.9 kB / 258.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.01448, allocations: 87.41 kB / 258.2 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01506, allocations: 276.4 kB / 258.4 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.01511, allocations: 63.34 kB / 258.5 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.01515, allocations: 7.984 kB / 258.5 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.01528, allocations: 79.36 kB / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01529, allocations: 0 / 258.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Templates: time 0.006716/0.022, allocations: 3.265 MB / 261.8 MB, free: 12.72 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.3518629502505064]