Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.296e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2763, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4043, allocations: 80.69 MB / 438.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4046, allocations: 59.97 kB / 438.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.4165, allocations: 2.73 MB / 441.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.4165, allocations: 3.938 kB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.936e-06/0.4166, allocations: 0 / 441.5 MB, free: 11.34 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.0004392/0.417, allocations: 392 kB / 441.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4171, allocations: 12.03 kB / 441.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.4171, allocations: 0 / 441.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4172, allocations: 159.1 kB / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4173, allocations: 4 kB / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-06/0.4173, allocations: 0 / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.252e-05/0.4173, allocations: 0 / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.901e-05/0.4174, allocations: 33.66 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.84e-06/0.4174, allocations: 0 / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-06/0.4174, allocations: 0 / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.075e-06/0.4175, allocations: 3.984 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.4176, allocations: 122.2 kB / 442.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.4177, allocations: 26.55 kB / 442.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.4177, allocations: 4.859 kB / 442.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.04e-06/0.4177, allocations: 0 / 442.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.4178, allocations: 64.25 kB / 442.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.077e-06/0.4178, allocations: 64 / 442.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001845/0.418, allocations: 41.64 kB / 442.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.4181, allocations: 77.11 kB / 442.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.4181, allocations: 85 kB / 442.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4182, allocations: 29.73 kB / 442.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.196e-05/0.4182, allocations: 150.6 kB / 442.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.4183, allocations: 4 kB / 442.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-06/0.4183, allocations: 0 / 442.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4185, allocations: 314.8 kB / 443 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.4185, allocations: 0 / 443 MB, free: 9.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-06/0.4185, allocations: 7.938 kB / 443 MB, free: 9.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.4186, allocations: 4 kB / 443 MB, free: 9.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4186, allocations: 4.062 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.4187, allocations: 33.69 kB / 443.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.4187, allocations: 33.7 kB / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.354e-06/0.4188, allocations: 0 / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4188, allocations: 0 / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-06/0.4188, allocations: 0 / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-06/0.4188, allocations: 0 / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.4188, allocations: 3.953 kB / 443.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-06/0.4189, allocations: 0 / 443.1 MB, free: 9.547 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.0001091/0.419, allocations: 134.7 kB / 443.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.419, allocations: 0 / 443.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.419, allocations: 7.734 kB / 443.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.419, allocations: 3.938 kB / 443.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.222e-06/0.419, allocations: 0 / 443.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4191, allocations: 4 kB / 443.2 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.4192, allocations: 126.2 kB / 443.4 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-06/0.4192, allocations: 0 / 443.4 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.4192, allocations: 4 kB / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4192, allocations: 0 / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.4192, allocations: 0 / 443.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2e-06/0.4192, allocations: 7.938 kB / 443.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4193, allocations: 4 kB / 443.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.4194, allocations: 69.06 kB / 443.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.4195, allocations: 77.11 kB / 443.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.4195, allocations: 0 / 443.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.4195, allocations: 4 kB / 443.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.4195, allocations: 3.984 kB / 443.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-06/0.4195, allocations: 4.031 kB / 443.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.4196, allocations: 75.28 kB / 443.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4196, allocations: 0 / 443.6 MB, free: 8.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.4201, allocations: 79.88 kB / 443.7 MB, free: 8.867 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.0005923/0.4207, allocations: 213.7 kB / 443.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.4208, allocations: 59.34 kB / 443.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-06/0.4208, allocations: 3.938 kB / 444 MB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.4209, allocations: 59.41 kB / 444 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.421, allocations: 8.078 kB / 444 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.4212, allocations: 65.78 kB / 444.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.4215, allocations: 0.6768 MB / 444.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.4216, allocations: 7.438 kB / 444.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4216, allocations: 0 / 444.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of Templates: time 0.003841/0.4254, allocations: 1.458 MB / 446.2 MB, free: 6.242 MB / 378.7 MB