Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.002047/0.002047, 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.002522/0.002522, allocations: 210.5 kB / 22.24 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.662/1.662, allocations: 230.6 MB / 256 MB, free: 7.777 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.02633/0.02633, allocations: 3.271 MB / 315.7 MB, free: 15.58 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.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [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.002603/0.002603, allocations: 80.11 kB / 440 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1233, allocations: 54.37 MB / 494.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003798/0.1271, allocations: 1.528 MB / 495.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1295, allocations: 1.352 MB / 497.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.1296, allocations: 0 / 497.2 MB, free: 2.031 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.13, allocations: 51.77 kB / 497.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1301, allocations: 31.78 kB / 497.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1305, allocations: 79.78 kB / 497.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1306, allocations: 63.84 kB / 497.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1307, allocations: 4 kB / 497.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.1308, allocations: 27.86 kB / 497.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1309, allocations: 23.91 kB / 497.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1309, allocations: 4 kB / 497.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.1312, allocations: 95.84 kB / 497.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1312, allocations: 15.94 kB / 497.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.1313, allocations: 27.84 kB / 497.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1316, allocations: 123.6 kB / 497.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1317, allocations: 0 / 497.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1317, allocations: 0 / 497.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1317, allocations: 0 / 497.8 MB, free: 1.492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006318/0.1323, allocations: 339.6 kB / 498.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1323, allocations: 8.031 kB / 498.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.1324, allocations: 12.88 kB / 498.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1327, allocations: 122.5 kB / 498.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1328, allocations: 4.375 kB / 498.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1328, allocations: 384 / 498.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.133, allocations: 103.7 kB / 498.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.133, allocations: 3.938 kB / 498.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.133, allocations: 3.984 kB / 498.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.133, allocations: 0 / 498.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1331, allocations: 69.61 kB / 498.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.1333, allocations: 125.2 kB / 498.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1335, allocations: 68.27 kB / 498.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.1336, allocations: 62.59 kB / 498.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1336, allocations: 3.938 kB / 498.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1338, allocations: 142.8 kB / 498.8 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1338, allocations: 0 / 498.8 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004894/0.1343, allocations: 250.6 kB / 499.1 MB, free: 20 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1344, allocations: 89.09 kB / 499.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1345, allocations: 133.7 kB / 499.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1345, allocations: 33.7 kB / 499.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1346, allocations: 88.12 kB / 499.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1347, allocations: 20.05 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1347, allocations: 17.72 kB / 499.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1349, allocations: 318.8 kB / 499.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.135, allocations: 61.69 kB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.135, allocations: 57.69 kB / 499.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1352, allocations: 136.1 kB / 0.4883 GB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1352, allocations: 0 / 0.4883 GB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002945/0.1355, allocations: 197 kB / 0.4885 GB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.1356, allocations: 45.62 kB / 0.4885 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1356, allocations: 4.094 kB / 0.4885 GB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1356, allocations: 3.938 kB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.1357, allocations: 7.938 kB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1357, allocations: 0 / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.1358, allocations: 7.953 kB / 0.4885 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1358, allocations: 4 kB / 0.4885 GB, free: 14.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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.0001515/0.1359, allocations: 151.5 kB / 0.4887 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.136, allocations: 11.92 kB / 0.4887 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.136, allocations: 8.375 kB / 0.4887 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.136, allocations: 4 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.136, allocations: 4 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.136, allocations: 3.938 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1362, allocations: 125.2 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1362, allocations: 0 / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.1362, allocations: 4 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1362, allocations: 4 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1362, allocations: 3.938 kB / 0.4888 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1362, allocations: 0 / 0.4888 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1362, allocations: 0 / 0.4888 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1366, allocations: 256.4 kB / 0.4891 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.1366, allocations: 4 kB / 0.4891 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1366, allocations: 7.938 kB / 0.4891 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.1367, allocations: 4 kB / 0.4891 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1367, allocations: 3.984 kB / 0.4891 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.1367, allocations: 8 kB / 0.4891 GB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1369, allocations: 103.3 kB / 0.4892 GB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1369, allocations: 0 / 0.4892 GB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1371, allocations: 35.94 kB / 0.4893 GB, free: 13.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.0008129/0.138, allocations: 240.5 kB / 0.4895 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.1383, allocations: 198.8 kB / 0.4897 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1383, allocations: 0 / 0.4897 GB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1384, allocations: 129 kB / 0.4898 GB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1387, allocations: 11.47 kB / 0.4898 GB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.1392, allocations: 231 kB / 0.49 GB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.138e-05/0.1393, allocations: 75.33 kB / 0.4901 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.1393, allocations: 15.97 kB / 0.4901 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1393, allocations: 11.44 kB / 0.4901 GB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1393, allocations: 0 / 0.4901 GB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005947/0.1453, allocations: 1.6 MB / 0.4917 GB, free: 11.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & ./ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.120467776432633] Failed to read output from testmodel.py, exit status != 0: 0.15523773431777954 0.178825743 0.042852165000000005 Calling exit ...