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.0006518/0.0006518, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008753/0.001527, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001071/0.001071, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002497, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8831/0.8831, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0719/0.955, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.008346/0.008346, allocations: 2.242 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001953/0.0103, allocations: 1.422 MB / 247.8 MB, free: 11.07 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.135e-06/9.207e-06, allocations: 6.312 kB / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001624/0.001633, allocations: 1.619 MB / 250.7 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002733, allocations: 1.445 MB / 252.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.002771, allocations: 0 / 252.2 MB, free: 6.691 MB / 250.7 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.0003121/0.003083, allocations: 55.7 kB / 252.2 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.003135, allocations: 35.78 kB / 252.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.003272, allocations: 67.73 kB / 252.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.00336, allocations: 67.78 kB / 252.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.545e-05/0.003386, allocations: 0 / 252.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.003463, allocations: 51.89 kB / 252.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.003541, allocations: 19.92 kB / 252.5 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003553, allocations: 4 kB / 252.5 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.003691, allocations: 107.8 kB / 252.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.003728, allocations: 11.94 kB / 252.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003755, allocations: 19.98 kB / 252.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.003908, allocations: 111.7 kB / 252.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.003916, allocations: 0 / 252.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003917, allocations: 0 / 252.7 MB, free: 6.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.003924, allocations: 0 / 252.7 MB, free: 6.148 MB / 250.7 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.0002885/0.004212, allocations: 321.8 kB / 253 MB, free: 5.805 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.511e-05/0.004237, allocations: 8.031 kB / 253 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.004263, allocations: 12.88 kB / 253 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004366, allocations: 125.7 kB / 253.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.004373, allocations: 384 / 253.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.004382, allocations: 8.375 kB / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.761e-05/0.00445, allocations: 82.77 kB / 253.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-06/0.004454, allocations: 192 / 253.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00446, allocations: 384 / 253.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004464, allocations: 3.938 kB / 253.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.004497, allocations: 45.67 kB / 253.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.84e-05/0.004565, allocations: 75.8 kB / 253.4 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.004605, allocations: 60.27 kB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.004633, allocations: 42.56 kB / 253.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.004637, allocations: 0 / 253.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.427e-05/0.004721, allocations: 129.7 kB / 253.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 5.01e-07/0.004721, allocations: 0 / 253.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001293/0.004851, allocations: 186.8 kB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.004896, allocations: 170.1 kB / 254 MB, free: 4.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.004951, allocations: 134.5 kB / 254.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.004961, allocations: 29.7 kB / 254.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.748e-05/0.004978, allocations: 84.12 kB / 254.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.005, allocations: 19.84 kB / 254.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.005026, allocations: 25.69 kB / 254.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.005083, allocations: 314.8 kB / 254.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.005108, allocations: 48.52 kB / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.005129, allocations: 45.7 kB / 254.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.005182, allocations: 106.9 kB / 254.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.005183, allocations: 0 / 254.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.152e-05/0.005254, allocations: 129.1 kB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.005281, allocations: 37.7 kB / 254.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.005283, allocations: 0 / 254.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.005289, allocations: 0 / 254.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-05/0.005321, allocations: 7.984 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.005322, allocations: 0 / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.005356, allocations: 15.83 kB / 254.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005362, allocations: 4 kB / 254.9 MB, free: 3.629 MB / 250.7 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 6.195e-05/0.005424, allocations: 154.4 kB / 255.1 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.005435, allocations: 8 kB / 255.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.00545, allocations: 12.42 kB / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005451, allocations: 0 / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005453, allocations: 0 / 255.1 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005456, allocations: 3.938 kB / 255.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.29e-05/0.005509, allocations: 77.88 kB / 255.2 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005509, allocations: 0 / 255.2 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/0.005517, allocations: 4 kB / 255.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.005526, allocations: 15.83 kB / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-07/0.005527, allocations: 4 kB / 255.2 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005533, allocations: 4 kB / 255.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005534, allocations: 0 / 255.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005535, allocations: 3.984 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.8e-05/0.005634, allocations: 182 kB / 255.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.00565, allocations: 8 kB / 255.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.005669, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.005689, allocations: 3.984 kB / 255.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.005697, allocations: 4 kB / 255.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.619e-05/0.005713, allocations: 16.84 kB / 255.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005713, allocations: 0 / 255.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001304/0.005843, allocations: 47.94 kB / 255.5 MB, free: 3.016 MB / 250.7 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.0007264/0.00657, allocations: 289.1 kB / 255.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.006687, allocations: 171.6 kB / 255.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.006692, allocations: 0 / 255.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.00676, allocations: 129.9 kB / 256.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.079e-05/0.00685, allocations: 57.55 kB / 256.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.007184, allocations: 207.6 kB / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.007213, allocations: 63.34 kB / 256.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.478e-05/0.007228, allocations: 0 / 256.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.007292, allocations: 75.36 kB / 256.5 MB, free: 2 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007293, allocations: 0 / 256.5 MB, free: 2 MB / 250.7 MB Notification: Performance of Templates: time 0.00281/0.0101, allocations: 1.738 MB / 258.2 MB, free: 292 kB / 250.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.235032968223095]