Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.729/2.729, allocations: 234.9 MB / 251.1 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 12 kB / 314.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3565, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.5006, allocations: 79.64 MB / 449.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5009, allocations: 63.97 kB / 449.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006581/0.5075, allocations: 1.901 MB / 451.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5076, allocations: 0 / 451.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.5076, allocations: 0 / 451.4 MB, free: 9.145 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.0003561/0.508, allocations: 361 kB / 451.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.508, allocations: 12.03 kB / 451.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.5081, allocations: 3.953 kB / 451.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5082, allocations: 159.1 kB / 451.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5082, allocations: 0 / 451.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.5082, allocations: 0 / 451.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.5083, allocations: 33.7 kB / 452 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5084, allocations: 3.938 kB / 452 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.5084, allocations: 0 / 452 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5084, allocations: 0 / 452 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.5084, allocations: 7.984 kB / 452 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.5086, allocations: 153.6 kB / 452.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.5086, allocations: 14.58 kB / 452.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.5087, allocations: 4.094 kB / 452.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.5087, allocations: 64.27 kB / 452.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.5087, allocations: 0 / 452.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001989/0.5089, allocations: 75.31 kB / 452.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.509, allocations: 77.11 kB / 452.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.5091, allocations: 93.86 kB / 452.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5091, allocations: 25.7 kB / 452.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.5092, allocations: 150.8 kB / 452.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.5092, allocations: 4 kB / 452.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.5092, allocations: 0 / 452.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5093, allocations: 322.7 kB / 452.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.5094, allocations: 0 / 452.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.5094, allocations: 4 kB / 452.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.5094, allocations: 29.7 kB / 453 MB, free: 7.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5094, allocations: 0 / 453 MB, free: 7.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.162e-05/0.5095, allocations: 63.34 kB / 453 MB, free: 7.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.5096, allocations: 41.78 kB / 453.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5096, allocations: 3.984 kB / 453.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5096, allocations: 0 / 453.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.5096, allocations: 0 / 453.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5097, allocations: 0 / 453.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.5097, allocations: 0 / 453.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.5097, allocations: 0 / 453.1 MB, free: 7.219 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.5098, allocations: 139.5 kB / 453.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.5098, allocations: 0 / 453.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.5098, allocations: 11.12 kB / 453.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5099, allocations: 0 / 453.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.5099, allocations: 4 kB / 453.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5099, allocations: 3.984 kB / 453.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.51, allocations: 145.6 kB / 453.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.51, allocations: 0 / 453.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.51, allocations: 0 / 453.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.51, allocations: 0 / 453.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5101, allocations: 4 kB / 453.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5101, allocations: 7.922 kB / 453.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5101, allocations: 0 / 453.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.5102, allocations: 102.7 kB / 453.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.5103, allocations: 77.11 kB / 453.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5103, allocations: 0 / 453.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.5103, allocations: 3.984 kB / 453.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.5103, allocations: 0 / 453.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5103, allocations: 4 kB / 453.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.5104, allocations: 79.31 kB / 453.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5104, allocations: 0 / 453.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.5107, allocations: 24 kB / 453.7 MB, free: 6.516 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) * 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 (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.0005046/0.5112, allocations: 202.9 kB / 453.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.5113, allocations: 55.41 kB / 453.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5113, allocations: 0 / 453.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.5114, allocations: 59.34 kB / 454 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.5115, allocations: 7.953 kB / 454 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.5118, allocations: 108.4 kB / 454.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.512, allocations: 0.6733 MB / 454.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.326e-05/0.512, allocations: 11.44 kB / 454.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5121, allocations: 0 / 454.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of Templates: time 0.003124/0.5152, allocations: 0.8443 MB / 455.6 MB, free: 4.5 MB / 378.7 MB