Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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/ExternData 3.0.3-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 ExternData with version 3.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-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(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 178.1 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01927/0.01927, allocations: 2.986 MB / 19.16 MB, free: 2.664 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.282/1.282, allocations: 225.7 MB / 246.6 MB, free: 4.648 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.0007468/0.0007469, allocations: 95.44 kB / 298.7 MB, free: 6.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8 kB / 360.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.209, allocations: 51.35 MB / 412.1 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001282/0.2104, allocations: 1.226 MB / 413.3 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2116, allocations: 1.451 MB / 414.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.2117, allocations: 4 kB / 414.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.2119, allocations: 48.75 kB / 414.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.212, allocations: 23.91 kB / 414.8 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.2122, allocations: 57.17 kB / 414.9 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.2122, allocations: 59.78 kB / 414.9 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.2123, allocations: 9.484 kB / 414.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.2123, allocations: 23.91 kB / 415 MB, free: 24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2126, allocations: 23.86 kB / 415 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2126, allocations: 7.938 kB / 415 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.2128, allocations: 85.77 kB / 415.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2129, allocations: 19.91 kB / 415.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.2129, allocations: 53.52 kB / 415.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2131, allocations: 113.9 kB / 415.3 MB, free: 23.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2131, allocations: 4 kB / 415.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2131, allocations: 0 / 415.3 MB, free: 23.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2131, allocations: 0 / 415.3 MB, free: 23.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003274/0.2135, allocations: 397 kB / 415.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2135, allocations: 8.031 kB / 415.7 MB, free: 23.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.2135, allocations: 16.83 kB / 415.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2137, allocations: 188.2 kB / 415.9 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.2137, allocations: 384 / 415.9 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2137, allocations: 4.375 kB / 415.9 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2138, allocations: 73.92 kB / 415.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2138, allocations: 0 / 415.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2139, allocations: 0 / 415.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2139, allocations: 3.938 kB / 415.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.2139, allocations: 27.98 kB / 416 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.214, allocations: 173.6 kB / 416.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.2141, allocations: 50.56 kB / 416.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.2142, allocations: 36.86 kB / 416.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2142, allocations: 7.938 kB / 416.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2143, allocations: 113.1 kB / 416.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2143, allocations: 0 / 416.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002668/0.2146, allocations: 187.4 kB / 416.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2146, allocations: 81.11 kB / 416.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.2147, allocations: 129.8 kB / 416.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.2147, allocations: 29.64 kB / 416.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.2148, allocations: 100.1 kB / 416.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.2148, allocations: 19.73 kB / 416.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.2148, allocations: 0 / 416.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.2149, allocations: 314.8 kB / 417.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.2149, allocations: 27.98 kB / 417.2 MB, free: 21.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.2149, allocations: 27.98 kB / 417.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.158e-05/0.215, allocations: 120.2 kB / 417.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.215, allocations: 0 / 417.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000145/0.2152, allocations: 167.1 kB / 417.5 MB, free: 21.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2152, allocations: 42.64 kB / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2152, allocations: 0 / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2152, allocations: 0 / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.2153, allocations: 8.078 kB / 417.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2153, allocations: 7.938 kB / 417.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.2154, allocations: 0 / 417.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2154, allocations: 4 kB / 417.6 MB, free: 21.11 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: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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.921e-05/0.2155, allocations: 151.5 kB / 417.7 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2155, allocations: 11.84 kB / 417.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.2155, allocations: 16.38 kB / 417.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2155, allocations: 0 / 417.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2155, allocations: 4 kB / 417.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2155, allocations: 144 / 417.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.2156, allocations: 181.6 kB / 417.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2156, allocations: 0 / 417.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.2156, allocations: 15.86 kB / 417.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2156, allocations: 3.938 kB / 417.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2157, allocations: 8 kB / 418 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2157, allocations: 0 / 418 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2157, allocations: 0 / 418 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.2159, allocations: 210.7 kB / 418.2 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/0.2159, allocations: 88.95 kB / 418.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2159, allocations: 11.98 kB / 418.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.216, allocations: 0 / 418.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.216, allocations: 4 kB / 418.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.216, allocations: 4 kB / 418.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.318e-05/0.2161, allocations: 103.6 kB / 418.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2161, allocations: 4 kB / 418.4 MB, free: 20.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.2163, allocations: 47.98 kB / 418.4 MB, free: 20.14 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: 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.0006725/0.217, allocations: 261.5 kB / 418.7 MB, free: 19.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.2171, allocations: 163.6 kB / 418.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2172, allocations: 0 / 418.8 MB, free: 19.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.2172, allocations: 119.4 kB / 419 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2174, allocations: 15.94 kB / 419 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.2177, allocations: 212.8 kB / 419.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2178, allocations: 0.6965 MB / 419.9 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.95e-05/0.2178, allocations: 3.984 kB / 419.9 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.2179, allocations: 19.38 kB / 419.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2179, allocations: 0 / 419.9 MB, free: 18.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003075/0.221, allocations: 1.41 MB / 421.3 MB, free: 17.23 MB / 298.7 MB make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile (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=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1)