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.00132/0.00132, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001435/0.001435, allocations: 209.8 kB / 23.01 MB, free: 4.57 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.01493/0.01493, allocations: 3.273 MB / 316.5 MB, free: 15.83 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.001914/0.001914, allocations: 70.39 kB / 440.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1111, allocations: 54.38 MB / 495.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003234/0.1143, allocations: 1.694 MB / 496.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1172, allocations: 1.835 MB / 498.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.1172, allocations: 0 / 498.7 MB, free: 1.785 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.0003511/0.1176, allocations: 55.72 kB / 498.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.118, allocations: 171.2 kB / 499 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1183, allocations: 85.16 kB / 499 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1184, allocations: 91.7 kB / 499.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.1185, allocations: 19.98 kB / 499.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.1186, allocations: 39.84 kB / 499.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1188, allocations: 43.84 kB / 499.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1188, allocations: 4 kB / 499.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.1192, allocations: 251.6 kB / 499.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.1192, allocations: 15.94 kB / 499.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.1193, allocations: 39.78 kB / 499.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.1197, allocations: 279.1 kB / 499.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1197, allocations: 0 / 499.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1197, allocations: 0 / 499.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1197, allocations: 0 / 499.8 MB, free: 0.7109 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.0006309/0.1204, allocations: 407 kB / 0.4885 GB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1204, allocations: 8.031 kB / 0.4885 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1204, allocations: 16.84 kB / 0.4885 GB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1207, allocations: 138.4 kB / 0.4886 GB, free: 96 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1207, allocations: 8.312 kB / 0.4886 GB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1207, allocations: 4.125 kB / 0.4886 GB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.121, allocations: 103.4 kB / 0.4887 GB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.121, allocations: 0 / 0.4887 GB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.121, allocations: 0 / 0.4887 GB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.121, allocations: 4 kB / 0.4887 GB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1211, allocations: 59.88 kB / 0.4888 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1216, allocations: 280.7 kB / 0.4891 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1218, allocations: 93.22 kB / 0.4892 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1219, allocations: 49.69 kB / 0.4892 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1219, allocations: 3.984 kB / 0.4892 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1222, allocations: 134.8 kB / 0.4893 GB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1222, allocations: 0 / 0.4893 GB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004786/0.1226, allocations: 227.2 kB / 0.4896 GB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.1227, allocations: 110.8 kB / 0.4897 GB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1229, allocations: 148.7 kB / 0.4898 GB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1229, allocations: 29.7 kB / 0.4898 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1229, allocations: 100.1 kB / 0.4899 GB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.123, allocations: 35.83 kB / 0.49 GB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.123, allocations: 37.64 kB / 0.49 GB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1232, allocations: 322.8 kB / 0.4903 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.1233, allocations: 35.98 kB / 0.4903 GB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.1234, allocations: 53.69 kB / 0.4904 GB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1236, allocations: 145.1 kB / 0.4905 GB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1236, allocations: 0 / 0.4905 GB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003177/0.1239, allocations: 187.2 kB / 0.4907 GB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.1239, allocations: 37.69 kB / 0.4907 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1239, allocations: 320 / 0.4907 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.124, allocations: 0 / 0.4907 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.124, allocations: 19.92 kB / 0.4908 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.124, allocations: 0 / 0.4908 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.1241, allocations: 7.938 kB / 0.4908 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1241, allocations: 15.98 kB / 0.4908 GB, free: 13.67 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.0001391/0.1242, allocations: 151.5 kB / 0.4909 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1243, allocations: 15.91 kB / 0.4909 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.1243, allocations: 12.7 kB / 0.491 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1243, allocations: 7.938 kB / 0.491 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1243, allocations: 0 / 0.491 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1243, allocations: 4.266 kB / 0.491 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1245, allocations: 172.6 kB / 0.4911 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1245, allocations: 0 / 0.4911 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.1246, allocations: 15.98 kB / 0.4912 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1246, allocations: 4 kB / 0.4912 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1246, allocations: 11.98 kB / 0.4912 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1246, allocations: 4 kB / 0.4912 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1246, allocations: 3.938 kB / 0.4912 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.125, allocations: 247.5 kB / 0.4914 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.125, allocations: 11.94 kB / 0.4914 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.125, allocations: 8 kB / 0.4914 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.1251, allocations: 8 kB / 0.4914 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1251, allocations: 11.92 kB / 0.4914 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1251, allocations: 4 kB / 0.4915 GB, free: 12.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.1252, allocations: 115.2 kB / 0.4916 GB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1252, allocations: 0 / 0.4916 GB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1255, allocations: 95.62 kB / 0.4917 GB, free: 12.69 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.001248/0.1268, allocations: 452.7 kB / 0.4921 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1271, allocations: 155.4 kB / 0.4922 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1271, allocations: 0 / 0.4922 GB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1273, allocations: 111.3 kB / 0.4923 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1275, allocations: 16 kB / 0.4924 GB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.128, allocations: 252.6 kB / 0.4926 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1284, allocations: 0.7001 MB / 0.4933 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1284, allocations: 19.42 kB / 0.4933 GB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1284, allocations: 0 / 0.4933 GB, free: 11.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005437/0.1338, allocations: 2.916 MB / 0.4961 GB, free: 8.109 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: 8.112332022050396] Failed to read output from testmodel.py, exit status != 0: 0.14137542783282697 0.36186430799999997 0.23927687799999994 Calling exit ...