Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package KeyWordIO with version 0.11.X (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 183 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00727/0.00727, allocations: 1.036 MB / 17.22 MB, free: 4.605 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 243.9 MB, free: 9.055 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008366, allocations: 97.94 kB / 295.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 11.94 kB / 356.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2317, allocations: 50.63 MB / 407.3 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0005112/0.2323, allocations: 228 kB / 407.5 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2341, allocations: 2.307 MB / 409.8 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.2341, allocations: 0 / 409.8 MB, free: 27.16 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function ‘KeyWordIO.readSizeCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function ‘KeyWordIO.readColsCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function ‘KeyWordIO.readStringCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2354, allocations: 247.4 kB / 410 MB, free: 26.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.2354, allocations: 23.92 kB / 410.1 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.254e-05/0.2355, allocations: 7.984 kB / 410.1 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.709e-05/0.2356, allocations: 31.53 kB / 410.1 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.2356, allocations: 3.938 kB / 410.1 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.2356, allocations: 11.98 kB / 410.1 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.2357, allocations: 23.92 kB / 410.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2357, allocations: 0 / 410.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.2362, allocations: 303.5 kB / 410.4 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.2362, allocations: 15.98 kB / 410.5 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.2363, allocations: 41.62 kB / 410.5 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.2366, allocations: 275.5 kB / 410.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2367, allocations: 0.8438 kB / 410.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2367, allocations: 0 / 410.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2367, allocations: 0.8438 kB / 410.8 MB, free: 26.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003737/0.2371, allocations: 399.8 kB / 411.2 MB, free: 25.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2371, allocations: 12.03 kB / 411.2 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.2372, allocations: 76.22 kB / 411.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2374, allocations: 255.6 kB / 411.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.2374, allocations: 153 kB / 411.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2374, allocations: 154.9 kB / 411.8 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.36e-05/0.2375, allocations: 105.1 kB / 411.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.2375, allocations: 83.22 kB / 412 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.2376, allocations: 150.6 kB / 412.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.2376, allocations: 154.6 kB / 412.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.2377, allocations: 150.6 kB / 412.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.2379, allocations: 453.9 kB / 412.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.238, allocations: 177.1 kB / 413 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.238, allocations: 84.08 kB / 413.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.238, allocations: 75.28 kB / 413.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2382, allocations: 71.31 kB / 413.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 3.076e-06/0.2382, allocations: 7.938 kB / 413.3 MB, free: 23.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.2383, allocations: 29.7 kB / 413.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.2384, allocations: 51.41 kB / 413.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.2385, allocations: 117.8 kB / 413.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.2385, allocations: 25.7 kB / 413.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.2385, allocations: 88.27 kB / 413.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.2385, allocations: 0 / 413.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.2385, allocations: 0 / 413.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2386, allocations: 318.8 kB / 413.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.2386, allocations: 0 / 413.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.2386, allocations: 4 kB / 413.9 MB, free: 22.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.2387, allocations: 12.8 kB / 413.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2387, allocations: 0 / 413.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.641e-05/0.2387, allocations: 41.61 kB / 414 MB, free: 22.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2387, allocations: 8 kB / 414 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2388, allocations: 0 / 414 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2388, allocations: 3.984 kB / 414 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.156e-05/0.2388, allocations: 3.984 kB / 414 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2388, allocations: 0 / 414 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.2388, allocations: 3.938 kB / 414 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2389, allocations: 0 / 414 MB, free: 22.77 MB / 298.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.303e-05/0.2389, allocations: 120.2 kB / 414.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.2389, allocations: 11.97 kB / 414.1 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.239, allocations: 7.516 kB / 414.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.239, allocations: 0 / 414.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.239, allocations: 3.938 kB / 414.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.239, allocations: 4 kB / 414.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.2391, allocations: 157.6 kB / 414.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2391, allocations: 3.938 kB / 414.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.2391, allocations: 3.984 kB / 414.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2391, allocations: 0 / 414.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.2391, allocations: 0 / 414.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2391, allocations: 0 / 414.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2391, allocations: 4 kB / 414.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.972e-05/0.2392, allocations: 53.14 kB / 414.3 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.2392, allocations: 96.94 kB / 414.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2392, allocations: 0 / 414.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.2393, allocations: 0 / 414.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.2393, allocations: 7.984 kB / 414.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.2393, allocations: 256 / 414.4 MB, free: 22.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.121e-05/0.2393, allocations: 95.31 kB / 414.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.2393, allocations: 4 kB / 414.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.2397, allocations: 103.9 kB / 414.6 MB, free: 22.01 MB / 298.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.00066/0.2403, allocations: 441.8 kB / 415.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.2404, allocations: 0 / 415.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2404, allocations: 4 kB / 415.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.2404, allocations: 0 / 415.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.2406, allocations: 24.03 kB / 415.1 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.2409, allocations: 126.7 kB / 415.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.241, allocations: 0.6848 MB / 415.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.2411, allocations: 15.92 kB / 415.9 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.2411, allocations: 11.44 kB / 415.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2411, allocations: 0 / 415.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of Templates: time 0.004619/0.2457, allocations: 2.406 MB / 418.3 MB, free: 18.33 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)