Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 181.2 kB / 15.43 MB, free: 5.766 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.005278/0.005278, allocations: 1.031 MB / 17.21 MB, free: 4.477 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.438/1.438, allocations: 225.7 MB / 243.9 MB, free: 9.051 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.0007916/0.0007916, allocations: 93.3 kB / 295.3 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8 kB / 356.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 50.62 MB / 407.3 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001064/0.2262, allocations: 0.984 MB / 408.3 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.2278, allocations: 1.94 MB / 410.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.2279, allocations: 1 kB / 410.2 MB, free: 26.85 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function ‘KeyWordIO.readRealCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2292, allocations: 211.5 kB / 410.4 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.2293, allocations: 64.73 kB / 410.5 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.2293, allocations: 0 / 410.5 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2294, allocations: 115.8 kB / 410.6 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.2295, allocations: 9.047 kB / 410.6 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.2295, allocations: 15.88 kB / 410.6 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2296, allocations: 39.95 kB / 410.6 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2297, allocations: 0.5312 kB / 410.6 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.23, allocations: 241.3 kB / 410.9 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.23, allocations: 27.98 kB / 410.9 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.2301, allocations: 49.55 kB / 411 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2303, allocations: 223.6 kB / 411.2 MB, free: 25.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2304, allocations: 0 / 411.2 MB, free: 25.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2304, allocations: 0.5 kB / 411.2 MB, free: 25.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.2304, allocations: 1.188 kB / 411.2 MB, free: 25.88 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.0002784/0.2307, allocations: 394.4 kB / 411.6 MB, free: 25.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2307, allocations: 13.03 kB / 411.6 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.2307, allocations: 76.22 kB / 411.7 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2309, allocations: 260.6 kB / 411.9 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2309, allocations: 156.2 kB / 412.1 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2309, allocations: 150.9 kB / 412.2 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.422e-05/0.231, allocations: 109 kB / 412.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.231, allocations: 75.28 kB / 412.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.231, allocations: 150.6 kB / 412.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.231, allocations: 154.6 kB / 412.7 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.2311, allocations: 150.6 kB / 412.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2313, allocations: 463.2 kB / 413.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.64e-05/0.2313, allocations: 166.1 kB / 413.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.2313, allocations: 84.12 kB / 413.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2314, allocations: 79.28 kB / 413.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2314, allocations: 117.8 kB / 413.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.2314, allocations: 0 / 413.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.488e-05/0.2315, allocations: 33.55 kB / 413.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2315, allocations: 126.7 kB / 413.9 MB, free: 23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2316, allocations: 145.7 kB / 414 MB, free: 22.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.2316, allocations: 29.7 kB / 414 MB, free: 22.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.2317, allocations: 84.14 kB / 414.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.2317, allocations: 0 / 414.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2317, allocations: 3.938 kB / 414.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2317, allocations: 318.8 kB / 414.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-06/0.2317, allocations: 0 / 414.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-06/0.2317, allocations: 0 / 414.4 MB, free: 22.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.353e-05/0.2318, allocations: 75.28 kB / 414.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.2318, allocations: 75.28 kB / 414.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.746e-05/0.2318, allocations: 41.58 kB / 414.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2319, allocations: 79.28 kB / 414.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.2319, allocations: 79.28 kB / 414.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.2319, allocations: 154.6 kB / 414.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.117e-05/0.2319, allocations: 83.2 kB / 415 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.2319, allocations: 154.6 kB / 415.2 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.232, allocations: 87.22 kB / 415.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.232, allocations: 75.28 kB / 415.3 MB, free: 21.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.768e-05/0.2321, allocations: 264.4 kB / 415.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.2321, allocations: 108.9 kB / 415.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.2322, allocations: 116.4 kB / 415.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.2322, allocations: 180.3 kB / 416 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.2322, allocations: 180.2 kB / 416.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.2323, allocations: 176.3 kB / 416.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2324, allocations: 413.2 kB / 416.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.2324, allocations: 108.9 kB / 416.8 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.2325, allocations: 108.9 kB / 416.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/0.2325, allocations: 184.2 kB / 417.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.2325, allocations: 180.3 kB / 417.3 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/0.2326, allocations: 184.2 kB / 417.5 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.64e-05/0.2326, allocations: 176.3 kB / 417.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.701e-05/0.2327, allocations: 315.7 kB / 418 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.2327, allocations: 190.4 kB / 418.2 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.2328, allocations: 180.2 kB / 418.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.2328, allocations: 101 kB / 418.4 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.2329, allocations: 192.3 kB / 418.6 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2329, allocations: 104.9 kB / 418.7 MB, free: 17.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.2329, allocations: 115.2 kB / 418.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2329, allocations: 0 / 418.8 MB, free: 17.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.2333, allocations: 79.98 kB / 418.9 MB, free: 17.69 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005569/0.2339, allocations: 435.8 kB / 419.3 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.065e-05/0.2339, allocations: 0 / 419.3 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2339, allocations: 3.938 kB / 419.3 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2339, allocations: 0 / 419.3 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2342, allocations: 0.5379 MB / 419.9 MB, free: 16.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.2345, allocations: 261.7 kB / 420.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2346, allocations: 0.6887 MB / 420.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.019e-05/0.2346, allocations: 0 / 420.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.2346, allocations: 15.44 kB / 420.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2347, allocations: 0 / 420.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003788/0.2384, allocations: 1.806 MB / 422.6 MB, free: 13.96 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)