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.001378/0.001378, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001536/0.001536, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.524/1.524, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.0157/0.0157, allocations: 2.254 MB / 262 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.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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.89 kB / 386.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 54.32 MB / 440.6 MB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.004287/0.1227, allocations: 1.696 MB / 442.3 MB, free: 9.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.1264, allocations: 1.765 MB / 444.1 MB, free: 7.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.1265, allocations: 0 / 444.1 MB, free: 7.828 MB / 414.1 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.000399/0.1269, allocations: 55.7 kB / 444.1 MB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.1275, allocations: 167.2 kB / 444.3 MB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1278, allocations: 91.7 kB / 444.4 MB, free: 7.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.128, allocations: 75.84 kB / 444.5 MB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1281, allocations: 15.98 kB / 444.5 MB, free: 7.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1283, allocations: 47.78 kB / 444.5 MB, free: 7.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1284, allocations: 43.77 kB / 444.6 MB, free: 7.344 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1285, allocations: 8 kB / 444.6 MB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.1289, allocations: 223.7 kB / 444.8 MB, free: 7.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.129, allocations: 23.92 kB / 444.8 MB, free: 7.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1291, allocations: 27.86 kB / 444.8 MB, free: 7.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.1297, allocations: 267.2 kB / 445.1 MB, free: 6.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1297, allocations: 0 / 445.1 MB, free: 6.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1297, allocations: 0 / 445.1 MB, free: 6.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1297, allocations: 0 / 445.1 MB, free: 6.805 MB / 414.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.0007483/0.1304, allocations: 410.9 kB / 445.5 MB, free: 6.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1305, allocations: 12.03 kB / 445.5 MB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.1305, allocations: 8.891 kB / 445.5 MB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1308, allocations: 138.4 kB / 445.7 MB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1309, allocations: 4.375 kB / 445.7 MB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1309, allocations: 12.06 kB / 445.7 MB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1311, allocations: 136.9 kB / 445.8 MB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1311, allocations: 0 / 445.8 MB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1311, allocations: 0 / 445.8 MB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1312, allocations: 11.98 kB / 445.8 MB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1313, allocations: 81.66 kB / 445.9 MB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1317, allocations: 253.2 kB / 446.2 MB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.132, allocations: 115 kB / 446.3 MB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1322, allocations: 79.44 kB / 446.3 MB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1322, allocations: 4 kB / 446.3 MB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1324, allocations: 176.4 kB / 446.5 MB, free: 5.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1324, allocations: 4 kB / 446.5 MB, free: 5.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005481/0.133, allocations: 294.8 kB / 446.8 MB, free: 4.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.133, allocations: 106.8 kB / 446.9 MB, free: 4.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1332, allocations: 152.8 kB / 447.1 MB, free: 4.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1332, allocations: 25.7 kB / 447.1 MB, free: 4.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1333, allocations: 96.12 kB / 447.2 MB, free: 4.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.1333, allocations: 27.75 kB / 447.2 MB, free: 4.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.1334, allocations: 29.7 kB / 447.2 MB, free: 4.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1336, allocations: 326.8 kB / 447.6 MB, free: 4.086 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1337, allocations: 69.69 kB / 447.6 MB, free: 4.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1338, allocations: 87.39 kB / 447.7 MB, free: 3.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.134, allocations: 152.9 kB / 447.9 MB, free: 3.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.134, allocations: 3.938 kB / 447.9 MB, free: 3.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003758/0.1344, allocations: 228.9 kB / 448.1 MB, free: 3.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.1345, allocations: 41.69 kB / 448.1 MB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1345, allocations: 0 / 448.1 MB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1345, allocations: 3.938 kB / 448.1 MB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.1346, allocations: 11.98 kB / 448.1 MB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1346, allocations: 12 kB / 448.2 MB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.1346, allocations: 7.953 kB / 448.2 MB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1347, allocations: 4 kB / 448.2 MB, free: 3.414 MB / 414.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.0001585/0.1348, allocations: 163.4 kB / 448.3 MB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.1349, allocations: 11.95 kB / 448.3 MB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.1349, allocations: 12.77 kB / 448.4 MB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1349, allocations: 4 kB / 448.4 MB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1349, allocations: 0 / 448.4 MB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1349, allocations: 0 / 448.4 MB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1351, allocations: 137.2 kB / 448.5 MB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1351, allocations: 4 kB / 448.5 MB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1351, allocations: 11.98 kB / 448.5 MB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1351, allocations: 0 / 448.5 MB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1351, allocations: 8 kB / 448.5 MB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1351, allocations: 0 / 448.5 MB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1351, allocations: 0 / 448.5 MB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.1356, allocations: 289.4 kB / 448.8 MB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1357, allocations: 11.89 kB / 448.8 MB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1357, allocations: 8 kB / 448.8 MB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1358, allocations: 15.97 kB / 448.8 MB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.1358, allocations: 4 kB / 448.8 MB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1358, allocations: 8 kB / 448.8 MB, free: 2.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1359, allocations: 111.2 kB / 449 MB, free: 2.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1359, allocations: 0 / 449 MB, free: 2.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1363, allocations: 87.73 kB / 449 MB, free: 2.461 MB / 414.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.001493/0.1378, allocations: 476.9 kB / 449.5 MB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.1382, allocations: 230.7 kB / 449.7 MB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1382, allocations: 0 / 449.7 MB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1384, allocations: 141 kB / 449.9 MB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1387, allocations: 23.2 kB / 449.9 MB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.1392, allocations: 276.3 kB / 450.2 MB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.1393, allocations: 89.44 kB / 450.2 MB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.219e-05/0.1394, allocations: 11.98 kB / 450.3 MB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1394, allocations: 16.5 kB / 450.3 MB, free: 1.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1394, allocations: 0 / 450.3 MB, free: 1.23 MB / 414.1 MB Notification: Performance of Templates: time 0.007684/0.1471, allocations: 2.871 MB / 453.1 MB, free: 14.36 MB / 430.1 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=480 -s ida -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.646282749949023] Failed to read output from testmodel.py, exit status != 0: 0.1567472469760105 0.171889975 0.038910206 Calling exit ...