Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestReadFile.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.687e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.3909, allocations: 78.9 MB / 436.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.3912, allocations: 55.97 kB / 437 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00579/0.397, allocations: 1.61 MB / 438.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.121e-06/0.397, allocations: 0 / 438.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.38e-06/0.3971, allocations: 0 / 438.6 MB, free: 14.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003542/0.3974, allocations: 360.2 kB / 439 MB, free: 13.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3975, allocations: 8.031 kB / 439 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.3975, allocations: 7.859 kB / 439 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3977, allocations: 167 kB / 439.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3977, allocations: 0 / 439.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3977, allocations: 4 kB / 439.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.077e-05/0.3978, allocations: 0 / 439.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.311e-05/0.3978, allocations: 29.64 kB / 439.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.749e-06/0.3979, allocations: 0 / 439.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-06/0.3979, allocations: 8 kB / 439.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-06/0.3979, allocations: 3.953 kB / 439.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.398, allocations: 122.2 kB / 439.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.3981, allocations: 22.56 kB / 439.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.3981, allocations: 12.89 kB / 439.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-06/0.3981, allocations: 0 / 439.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.3982, allocations: 56.27 kB / 439.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.053e-06/0.3982, allocations: 4 kB / 439.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001925/0.3984, allocations: 33.7 kB / 439.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.3985, allocations: 77.11 kB / 439.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.3986, allocations: 96.92 kB / 439.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3986, allocations: 25.7 kB / 439.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.3987, allocations: 154.6 kB / 439.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.3987, allocations: 0 / 439.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-06/0.3987, allocations: 0 / 439.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3989, allocations: 319 kB / 440.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-06/0.3989, allocations: 0 / 440.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-06/0.3989, allocations: 0 / 440.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.399, allocations: 4 kB / 440.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.399, allocations: 3.938 kB / 440.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001031/0.3991, allocations: 37.69 kB / 440.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.3992, allocations: 29.7 kB / 440.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3992, allocations: 0 / 440.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3992, allocations: 0 / 440.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.648e-06/0.3992, allocations: 4.094 kB / 440.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.429e-06/0.3992, allocations: 4 kB / 440.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.3993, allocations: 4 kB / 440.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-06/0.3993, allocations: 0 / 440.2 MB, free: 12.46 MB / 378.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 (result) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3994, allocations: 134.6 kB / 440.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3994, allocations: 4 kB / 440.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.3995, allocations: 11.69 kB / 440.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-06/0.3995, allocations: 0 / 440.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3995, allocations: 0 / 440.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3995, allocations: 4 kB / 440.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3996, allocations: 126.2 kB / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3996, allocations: 3.953 kB / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-06/0.3996, allocations: 0 / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3996, allocations: 0 / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3997, allocations: 3.984 kB / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3997, allocations: 0 / 440.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3997, allocations: 3.938 kB / 440.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.3998, allocations: 73.06 kB / 440.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3999, allocations: 85.05 kB / 440.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3999, allocations: 0 / 440.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.3999, allocations: 4 kB / 440.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.4, allocations: 0 / 440.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-06/0.4, allocations: 3.938 kB / 440.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.4, allocations: 75.28 kB / 440.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.4, allocations: 0 / 440.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.4003, allocations: 20 kB / 440.7 MB, free: 11.84 MB / 378.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 (result) * Number of discrete states: 1 (result) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004815/0.4008, allocations: 203.7 kB / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.401, allocations: 55.41 kB / 441 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.401, allocations: 3.938 kB / 441 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.401, allocations: 55.41 kB / 441 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.4012, allocations: 0 / 441 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.4013, allocations: 73.7 kB / 441.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.4017, allocations: 0.6729 MB / 441.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.4017, allocations: 7.438 kB / 441.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.464e-06/0.4017, allocations: 4.125 kB / 441.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Templates: time 0.002677/0.4044, allocations: 0.836 MB / 442.6 MB, free: 9.863 MB / 378.7 MB