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.001445/0.001445, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001637/0.001637, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.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.01978/0.01978, allocations: 3.271 MB / 315.7 MB, free: 15.65 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.002202/0.002202, allocations: 70.7 kB / 440 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1266, allocations: 54.38 MB / 494.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.004238/0.1308, allocations: 1.666 MB / 496 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.1342, allocations: 1.765 MB / 497.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.1343, allocations: 0 / 497.8 MB, free: 1.582 MB / 350.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.0004153/0.1347, allocations: 55.66 kB / 497.9 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.1354, allocations: 167.3 kB / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1357, allocations: 90.28 kB / 498.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1359, allocations: 95.69 kB / 498.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1361, allocations: 12 kB / 498.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1362, allocations: 35.91 kB / 498.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1364, allocations: 39.78 kB / 498.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1364, allocations: 8 kB / 498.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1369, allocations: 223.7 kB / 498.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1369, allocations: 23.92 kB / 498.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.137, allocations: 27.86 kB / 498.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.1376, allocations: 267.1 kB / 498.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1376, allocations: 8 kB / 498.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1376, allocations: 0 / 498.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1376, allocations: 0 / 498.8 MB, free: 0.5508 MB / 350.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.0007164/0.1383, allocations: 395.1 kB / 499.2 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1384, allocations: 12.03 kB / 499.2 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1384, allocations: 12.84 kB / 499.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1388, allocations: 150.3 kB / 499.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1388, allocations: 4.359 kB / 499.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1388, allocations: 8.125 kB / 499.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1391, allocations: 140.9 kB / 499.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1391, allocations: 0 / 499.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1391, allocations: 4 kB / 499.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1391, allocations: 0 / 499.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1393, allocations: 77.67 kB / 499.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1397, allocations: 253.2 kB / 499.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.14, allocations: 115 kB / 500 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1402, allocations: 91.36 kB / 0.4884 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1402, allocations: 4 kB / 0.4884 GB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1404, allocations: 168.5 kB / 0.4885 GB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/0.1405, allocations: 0 / 0.4885 GB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005791/0.141, allocations: 298.8 kB / 0.4888 GB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.1411, allocations: 102.8 kB / 0.4889 GB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1413, allocations: 152.4 kB / 0.489 GB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1413, allocations: 29.69 kB / 0.4891 GB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.1414, allocations: 96.09 kB / 0.4892 GB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1414, allocations: 35.73 kB / 0.4892 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1415, allocations: 25.66 kB / 0.4892 GB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1416, allocations: 326.8 kB / 0.4895 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1418, allocations: 73.61 kB / 0.4896 GB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1419, allocations: 87.34 kB / 0.4897 GB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1421, allocations: 149.1 kB / 0.4898 GB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1421, allocations: 0 / 0.4898 GB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003984/0.1425, allocations: 228.9 kB / 0.49 GB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.1426, allocations: 33.7 kB / 0.4901 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1426, allocations: 7.984 kB / 0.4901 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1426, allocations: 0 / 0.4901 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.1427, allocations: 16 kB / 0.4901 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1427, allocations: 0 / 0.4901 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.1427, allocations: 11.92 kB / 0.4901 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1428, allocations: 4 kB / 0.4901 GB, free: 13.18 MB / 366.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.0001609/0.1429, allocations: 163.5 kB / 0.4903 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.143, allocations: 15.91 kB / 0.4903 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.143, allocations: 8.719 kB / 0.4903 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.143, allocations: 8.328 kB / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.143, allocations: 0 / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.143, allocations: 0 / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1432, allocations: 145.1 kB / 0.4904 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1432, allocations: 0 / 0.4904 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.1432, allocations: 12 kB / 0.4905 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1432, allocations: 0 / 0.4905 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1433, allocations: 8 kB / 0.4905 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1433, allocations: 0 / 0.4905 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1433, allocations: 0 / 0.4905 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.1438, allocations: 293 kB / 0.4907 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.1438, allocations: 11.94 kB / 0.4908 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1438, allocations: 8 kB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.1439, allocations: 4 kB / 0.4908 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1439, allocations: 7.984 kB / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.144, allocations: 8 kB / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1441, allocations: 110.4 kB / 0.4909 GB, free: 12.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1441, allocations: 0 / 0.4909 GB, free: 12.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1445, allocations: 99.61 kB / 0.491 GB, free: 12.21 MB / 366.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.001508/0.146, allocations: 463.1 kB / 0.4914 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004636/0.1464, allocations: 226.7 kB / 0.4916 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1464, allocations: 0 / 0.4916 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.1466, allocations: 145 kB / 0.4918 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1469, allocations: 15.88 kB / 0.4918 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.1475, allocations: 280.5 kB / 0.4921 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1476, allocations: 85.31 kB / 0.4921 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.1477, allocations: 7.953 kB / 0.4921 GB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1477, allocations: 19.42 kB / 0.4922 GB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1477, allocations: 0 / 0.4922 GB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.007291/0.155, allocations: 2.953 MB / 0.4951 GB, free: 8.062 MB / 366.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 -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.131669659167528] Failed to read output from testmodel.py, exit status != 0: 0.16436649300158024 0.18323714700000002 0.041739378 Calling exit ...