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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.549/2.549, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.001e-05, allocations: 4 kB / 309.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 54.85 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4393, allocations: 79.58 MB / 444.1 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4395, allocations: 59.97 kB / 444.2 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006019/0.4456, allocations: 1.72 MB / 445.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4456, allocations: 4 kB / 445.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.608e-06/0.4456, allocations: 0 / 445.9 MB, free: 15.18 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.0003273/0.446, allocations: 360.7 kB / 446.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.446, allocations: 8.031 kB / 446.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.4461, allocations: 5.016 kB / 446.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4462, allocations: 159.1 kB / 446.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4462, allocations: 5.031 kB / 446.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4463, allocations: 4.625 kB / 446.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.4463, allocations: 25.7 kB / 446.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4464, allocations: 0 / 446.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-06/0.4464, allocations: 7.219 kB / 446.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-06/0.4464, allocations: 4 kB / 446.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.4464, allocations: 7.938 kB / 446.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.4466, allocations: 145.7 kB / 446.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.4467, allocations: 22.61 kB / 446.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.4467, allocations: 4.859 kB / 446.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-06/0.4467, allocations: 0 / 446.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.4468, allocations: 62.36 kB / 446.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.9e-06/0.4468, allocations: 0 / 446.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.447, allocations: 63.33 kB / 446.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.447, allocations: 85.11 kB / 446.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.4471, allocations: 89.03 kB / 446.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4472, allocations: 25.7 kB / 446.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.4472, allocations: 150.6 kB / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4473, allocations: 1.031 kB / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.4473, allocations: 0 / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4474, allocations: 318.8 kB / 447.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.4475, allocations: 0 / 447.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-06/0.4475, allocations: 0 / 447.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.4475, allocations: 37.88 kB / 447.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-06/0.4475, allocations: 0 / 447.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.4477, allocations: 67.34 kB / 447.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.4477, allocations: 29.7 kB / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-06/0.4477, allocations: 0 / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4477, allocations: 0 / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-06/0.4478, allocations: 5.016 kB / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-06/0.4478, allocations: 0 / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.4478, allocations: 7.984 kB / 447.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-06/0.4478, allocations: 0 / 447.5 MB, free: 13.28 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 9.784e-05/0.4479, allocations: 134.7 kB / 447.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.448, allocations: 7.938 kB / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.448, allocations: 7.078 kB / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-06/0.448, allocations: 0 / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-06/0.448, allocations: 0 / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-06/0.448, allocations: 3.75 kB / 447.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.4481, allocations: 149.6 kB / 447.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-06/0.4482, allocations: 7.938 kB / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-06/0.4482, allocations: 0 / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.88e-06/0.4482, allocations: 4 kB / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-06/0.4482, allocations: 0 / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.79e-06/0.4482, allocations: 0 / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-06/0.4482, allocations: 0 / 447.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4484, allocations: 98.72 kB / 448 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.4484, allocations: 77.11 kB / 448 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4485, allocations: 4 kB / 448 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.4485, allocations: 0 / 448 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.4485, allocations: 8.031 kB / 448 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-06/0.4485, allocations: 0 / 448 MB, free: 12.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.324e-05/0.4486, allocations: 75.28 kB / 448.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4486, allocations: 0 / 448.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.4489, allocations: 23.98 kB / 448.1 MB, free: 12.59 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.0004732/0.4494, allocations: 199.6 kB / 448.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.4495, allocations: 59.41 kB / 448.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4495, allocations: 3.938 kB / 448.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.4496, allocations: 55.41 kB / 448.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.4497, allocations: 12.06 kB / 448.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.4499, allocations: 74.7 kB / 448.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4502, allocations: 0.6731 MB / 449.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.4502, allocations: 11.44 kB / 449.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.451e-06/0.4502, allocations: 0 / 449.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.002624/0.4529, allocations: 0.8376 MB / 450.1 MB, free: 10.62 MB / 378.7 MB