Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000918/0.0009181, allocations: 178.6 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.005323/0.005323, allocations: 1.037 MB / 17.22 MB, free: 4.609 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.352/1.352, allocations: 225.7 MB / 243.9 MB, free: 9.059 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.0007617/0.0007618, allocations: 98.92 kB / 295.3 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005219, allocations: 8 kB / 356.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2997, allocations: 50.63 MB / 407.3 MB, free: 29.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0007249/0.3005, allocations: 221.8 kB / 407.5 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.3037, allocations: 2.384 MB / 409.9 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.3037, allocations: 0 / 409.9 MB, free: 27.08 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.00191/0.3056, allocations: 244.5 kB / 410.1 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.3057, allocations: 28.75 kB / 410.2 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.291e-05/0.3058, allocations: 7.984 kB / 410.2 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.3059, allocations: 12.5 kB / 410.2 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.3059, allocations: 8.516 kB / 410.2 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.306, allocations: 4 kB / 410.2 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.3061, allocations: 25.08 kB / 410.2 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3062, allocations: 0 / 410.2 MB, free: 26.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.3068, allocations: 291.6 kB / 410.5 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.3069, allocations: 21.25 kB / 410.5 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.307, allocations: 33.64 kB / 410.5 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.3075, allocations: 267.5 kB / 410.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3075, allocations: 2.281 kB / 410.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3075, allocations: 0 / 410.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.3075, allocations: 0 / 410.8 MB, free: 26.16 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.000418/0.308, allocations: 421.1 kB / 411.2 MB, free: 25.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.308, allocations: 8.031 kB / 411.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.3081, allocations: 82.12 kB / 411.3 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.3083, allocations: 249.7 kB / 411.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.3084, allocations: 150.9 kB / 411.7 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.3084, allocations: 151.6 kB / 411.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.235e-05/0.3085, allocations: 108.7 kB / 412 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3085, allocations: 79.27 kB / 412 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3086, allocations: 150.6 kB / 412.2 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/0.3086, allocations: 154.5 kB / 412.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.3087, allocations: 158.5 kB / 412.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.309, allocations: 453.9 kB / 412.9 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.3091, allocations: 169.1 kB / 413.1 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.3091, allocations: 80.14 kB / 413.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3092, allocations: 75.28 kB / 413.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3093, allocations: 77 kB / 413.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 3.487e-06/0.3093, allocations: 0 / 413.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002505/0.3096, allocations: 67.39 kB / 413.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3097, allocations: 136.5 kB / 413.5 MB, free: 23.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3098, allocations: 109.8 kB / 413.6 MB, free: 23.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3098, allocations: 25.7 kB / 413.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.3099, allocations: 80.27 kB / 413.7 MB, free: 22.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3099, allocations: 11.92 kB / 413.7 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3099, allocations: 0 / 413.7 MB, free: 22.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.31, allocations: 322.8 kB / 414.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.31, allocations: 0 / 414.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.3101, allocations: 0 / 414.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.3101, allocations: 60.27 kB / 414.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3101, allocations: 0 / 414.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.447e-05/0.3103, allocations: 67.44 kB / 414.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.3103, allocations: 37.69 kB / 414.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3103, allocations: 0 / 414.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3104, allocations: 0 / 414.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.3104, allocations: 0 / 414.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3104, allocations: 3.938 kB / 414.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.3104, allocations: 4.25 kB / 414.2 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3104, allocations: 0 / 414.2 MB, free: 22.45 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): 0 * 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 8.672e-05/0.3105, allocations: 139.5 kB / 414.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3106, allocations: 7.844 kB / 414.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.3106, allocations: 15.11 kB / 414.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3106, allocations: 0 / 414.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3106, allocations: 4 kB / 414.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3107, allocations: 0 / 414.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.247e-05/0.3108, allocations: 153.7 kB / 414.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3108, allocations: 3.938 kB / 414.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-06/0.3108, allocations: 3.984 kB / 414.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3108, allocations: 0 / 414.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3108, allocations: 0 / 414.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3108, allocations: 0 / 414.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3108, allocations: 0 / 414.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.311, allocations: 94.83 kB / 414.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.311, allocations: 81.05 kB / 414.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3111, allocations: 7.938 kB / 414.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.864e-05/0.3111, allocations: 3.938 kB / 414.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3111, allocations: 7.938 kB / 414.7 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3111, allocations: 0 / 414.7 MB, free: 21.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.3112, allocations: 91.27 kB / 414.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3112, allocations: 4.031 kB / 414.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005132/0.3117, allocations: 99.97 kB / 414.9 MB, free: 21.64 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.001062/0.3128, allocations: 442.7 kB / 415.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.323e-05/0.3129, allocations: 59.39 kB / 415.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3129, allocations: 0 / 415.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.313, allocations: 55.41 kB / 415.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3132, allocations: 11.94 kB / 415.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.3135, allocations: 122.8 kB / 415.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3137, allocations: 0.6809 MB / 416.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.702e-05/0.3137, allocations: 3.938 kB / 416.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.3137, allocations: 15.42 kB / 416.3 MB, free: 20.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3138, allocations: 0 / 416.3 MB, free: 20.26 MB / 298.7 MB Notification: Performance of Templates: time 0.006908/0.3207, allocations: 2.262 MB / 418.6 MB, free: 18 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)