Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.002064/0.002064, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002426/0.002426, allocations: 164.9 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.01606/0.01606, allocations: 2.265 MB / 261.4 MB, free: 14.42 MB / 254.1 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.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 385.8 MB, free: 476 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.461e-05, allocations: 2.281 kB / 385.8 MB, free: 472 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003762/0.003797, allocations: 1.676 MB / 387.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.007197, allocations: 1.765 MB / 389.2 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.007272, allocations: 4 kB / 389.2 MB, free: 13 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:209:3-236:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.007649, allocations: 47.7 kB / 389.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.008209, allocations: 171.1 kB / 389.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.00845, allocations: 87.16 kB / 389.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.0086, allocations: 87.7 kB / 389.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.008691, allocations: 16.16 kB / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.0088, allocations: 55.83 kB / 389.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.008942, allocations: 35.89 kB / 389.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.00897, allocations: 4 kB / 389.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.009397, allocations: 227.5 kB / 390 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.009482, allocations: 19.92 kB / 390 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.00955, allocations: 31.91 kB / 390 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.01007, allocations: 287.2 kB / 390.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.01008, allocations: 4 kB / 390.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.01008, allocations: 0 / 390.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01009, allocations: 4 kB / 390.3 MB, free: 11.94 MB / 318.1 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.0008022/0.01089, allocations: 399 kB / 390.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.01093, allocations: 12.03 kB / 390.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.011, allocations: 12.84 kB / 390.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.01136, allocations: 145.6 kB / 390.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.01138, allocations: 4.375 kB / 390.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.0114, allocations: 4.375 kB / 390.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.01167, allocations: 125.6 kB / 391 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01168, allocations: 3.938 kB / 391 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.0117, allocations: 7.984 kB / 391 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.01171, allocations: 4 kB / 391 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.01189, allocations: 81.67 kB / 391.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.01234, allocations: 249.3 kB / 391.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.01265, allocations: 118.9 kB / 391.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.0128, allocations: 79.44 kB / 391.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01282, allocations: 4 kB / 391.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.01312, allocations: 172.4 kB / 391.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.01312, allocations: 4 kB / 391.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006075/0.01373, allocations: 294.8 kB / 392 MB, free: 10.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.01381, allocations: 110.8 kB / 392.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01396, allocations: 138.1 kB / 392.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01399, allocations: 25.7 kB / 392.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01407, allocations: 100.1 kB / 392.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.0141, allocations: 27.75 kB / 392.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01417, allocations: 29.7 kB / 392.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01432, allocations: 318.8 kB / 392.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.01445, allocations: 69.67 kB / 392.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01457, allocations: 87.39 kB / 392.9 MB, free: 9.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.01481, allocations: 156.9 kB / 393 MB, free: 8.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.01482, allocations: 7.938 kB / 393 MB, free: 8.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003806/0.0152, allocations: 224.9 kB / 393.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.01524, allocations: 37.69 kB / 393.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01525, allocations: 0 / 393.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.01527, allocations: 4 kB / 393.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.01534, allocations: 23.98 kB / 393.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01535, allocations: 0 / 393.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.01542, allocations: 7.938 kB / 393.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01544, allocations: 4 kB / 393.3 MB, free: 8.574 MB / 318.1 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 0.0001561/0.01559, allocations: 166.2 kB / 393.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.01563, allocations: 15.95 kB / 393.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.01566, allocations: 17.09 kB / 393.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01566, allocations: 0 / 393.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01567, allocations: 0 / 393.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.01567, allocations: 7.984 kB / 393.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.01583, allocations: 137.2 kB / 393.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.01584, allocations: 3.938 kB / 393.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.0159, allocations: 11.98 kB / 393.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.0159, allocations: 0 / 393.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.01592, allocations: 8 kB / 393.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01592, allocations: 0 / 393.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01592, allocations: 0 / 393.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.01637, allocations: 277.2 kB / 394 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.0164, allocations: 11.89 kB / 394 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.01643, allocations: 8 kB / 394 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.0165, allocations: 7.984 kB / 394 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01655, allocations: 11.94 kB / 394 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.01657, allocations: 4 kB / 394 MB, free: 7.824 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01668, allocations: 114.3 kB / 394.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01668, allocations: 0 / 394.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.01711, allocations: 91.67 kB / 394.2 MB, free: 7.625 MB / 318.1 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.002353/0.01946, allocations: 0.6013 MB / 394.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.01986, allocations: 238.6 kB / 395 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01986, allocations: 0 / 395 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.0201, allocations: 137.1 kB / 395.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.02036, allocations: 27.92 kB / 395.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.02099, allocations: 271.6 kB / 395.5 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.885e-05/0.02109, allocations: 85.11 kB / 395.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.02114, allocations: 11.95 kB / 395.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.02119, allocations: 20.48 kB / 395.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.02119, allocations: 0 / 395.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of Templates: time 0.007647/0.02884, allocations: 2.894 MB / 398.5 MB, free: 3.441 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.XLSXTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSXTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSXTest.pipe >> ../files/ExternData_ExternData.Examples.XLSXTest.sim & ./ExternData_ExternData.Examples.XLSXTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6110388077795506] Failed to read output from testmodel.py, exit status != 0: 0.03833888843655586 0.055079128000000005 0.041856959 Calling exit ...