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.0008318/0.0008318, allocations: 81.11 kB / 9.988 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002023, allocations: 444 kB / 10.42 MB, free: 268 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.0008943/0.0008943, allocations: 157.2 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003994/0.004888, allocations: 479.5 kB / 11.8 MB, free: 2.363 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 1/1, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08039/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.01437/0.01437, allocations: 2.247 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002737/0.01711, allocations: 1.422 MB / 247.8 MB, free: 11.08 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.553e-06/1.553e-06, allocations: 0 / 249.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.515e-05, allocations: 2.312 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001841/0.001856, allocations: 1.615 MB / 250.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003172, allocations: 1.446 MB / 252.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.003221, allocations: 3.938 kB / 252.2 MB, free: 6.707 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.0002212/0.003442, allocations: 51.72 kB / 252.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.003504, allocations: 35.78 kB / 252.3 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.003675, allocations: 67.73 kB / 252.3 MB, free: 6.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.00378, allocations: 67.77 kB / 252.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.003811, allocations: 0 / 252.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.003899, allocations: 51.91 kB / 252.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.004006, allocations: 23.91 kB / 252.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.004022, allocations: 4 kB / 252.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.004205, allocations: 111.8 kB / 252.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.004254, allocations: 15.94 kB / 252.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.004285, allocations: 11.94 kB / 252.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.00446, allocations: 107.7 kB / 252.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.004474, allocations: 0 / 252.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004475, allocations: 0 / 252.7 MB, free: 6.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.004484, allocations: 0 / 252.7 MB, free: 6.168 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.0004121/0.004896, allocations: 325.9 kB / 253 MB, free: 5.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.004924, allocations: 16.03 kB / 253 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.004961, allocations: 4.938 kB / 253.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.005089, allocations: 125.6 kB / 253.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.005098, allocations: 4.375 kB / 253.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.005107, allocations: 384 / 253.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.005199, allocations: 82.77 kB / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005206, allocations: 192 / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.005212, allocations: 384 / 253.3 MB, free: 5.555 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.005218, allocations: 3.938 kB / 253.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.005251, allocations: 45.69 kB / 253.3 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.526e-05/0.005327, allocations: 67.88 kB / 253.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.005374, allocations: 64.28 kB / 253.4 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.005409, allocations: 54.66 kB / 253.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.005415, allocations: 7.938 kB / 253.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.005522, allocations: 121.6 kB / 253.6 MB, free: 5.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.005524, allocations: 3.984 kB / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000151/0.005675, allocations: 174.7 kB / 253.8 MB, free: 4.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.005731, allocations: 170.2 kB / 254 MB, free: 4.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.005803, allocations: 142.5 kB / 254.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.005814, allocations: 25.7 kB / 254.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.005837, allocations: 88.14 kB / 254.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.005862, allocations: 15.83 kB / 254.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.005893, allocations: 25.69 kB / 254.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.005969, allocations: 322.8 kB / 254.6 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.005997, allocations: 44.52 kB / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.00602, allocations: 41.69 kB / 254.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.00609, allocations: 107 kB / 254.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006091, allocations: 0 / 254.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.334e-05/0.006175, allocations: 129 kB / 254.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.006206, allocations: 33.7 kB / 254.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006211, allocations: 7.984 kB / 254.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.006218, allocations: 0 / 254.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.006266, allocations: 4 kB / 254.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.006271, allocations: 4 kB / 254.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.006313, allocations: 11.89 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006321, allocations: 4 kB / 254.9 MB, free: 3.645 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.679e-05/0.006387, allocations: 150.3 kB / 255.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.006402, allocations: 15.98 kB / 255.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.006431, allocations: 8.438 kB / 255.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.006433, allocations: 0 / 255.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006434, allocations: 4 kB / 255.1 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006438, allocations: 3.938 kB / 255.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.006499, allocations: 81.81 kB / 255.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.0065, allocations: 0 / 255.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.006512, allocations: 4 kB / 255.2 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.006521, allocations: 7.891 kB / 255.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.006522, allocations: 0 / 255.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.00653, allocations: 15.98 kB / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006531, allocations: 0 / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-07/0.006531, allocations: 0 / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.006641, allocations: 178.1 kB / 255.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.006657, allocations: 11.94 kB / 255.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.00668, allocations: 0 / 255.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.006704, allocations: 11.98 kB / 255.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.006713, allocations: 0 / 255.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.937e-05/0.006733, allocations: 20.84 kB / 255.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006733, allocations: 0 / 255.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.006933, allocations: 35.94 kB / 255.5 MB, free: 3.035 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.0005936/0.007527, allocations: 285.7 kB / 255.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.007696, allocations: 178.7 kB / 255.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.007702, allocations: 7.922 kB / 255.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.007802, allocations: 122 kB / 256.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.007911, allocations: 45.69 kB / 256.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.008282, allocations: 219.5 kB / 256.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.008311, allocations: 63.34 kB / 256.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.008328, allocations: 7.938 kB / 256.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.008398, allocations: 75.36 kB / 256.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008398, allocations: 0 / 256.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of Templates: time 0.00307/0.01147, allocations: 1.731 MB / 258.2 MB, free: 312 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 & (cd run_cvode && ../ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.CSVTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.CSVTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.CSVTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.CSVTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.CSVTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.CSVTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.CSVTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.CSVTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.CSVTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5989135522395372]