Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 15.98 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3475, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.501, allocations: 83.87 MB / 453.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5014, allocations: 71.97 kB / 453.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04596/0.5474, allocations: 9.897 MB / 463.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5474, allocations: 0 / 463.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.5474, allocations: 0 / 463.6 MB, free: 12.76 MB / 394.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.000685/0.5481, allocations: 480.6 kB / 464.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5482, allocations: 12.03 kB / 464.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.5482, allocations: 3.953 kB / 464.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5483, allocations: 163 kB / 464.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5484, allocations: 0 / 464.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5484, allocations: 0 / 464.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.5485, allocations: 41.69 kB / 464.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5485, allocations: 3.938 kB / 464.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.5485, allocations: 0 / 464.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5485, allocations: 0 / 464.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.5486, allocations: 3.953 kB / 464.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.5487, allocations: 145.7 kB / 464.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.5488, allocations: 18.52 kB / 464.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.5488, allocations: 0 / 464.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.5489, allocations: 68.8 kB / 464.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.5489, allocations: 0 / 464.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.5491, allocations: 67.3 kB / 464.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.5491, allocations: 77.11 kB / 464.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.228e-05/0.5492, allocations: 89.86 kB / 464.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.5492, allocations: 25.7 kB / 464.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.5493, allocations: 150.6 kB / 465 MB, free: 11.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.5493, allocations: 4.125 kB / 465 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.5493, allocations: 3.938 kB / 465 MB, free: 11.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5495, allocations: 322.8 kB / 465.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.5495, allocations: 4 kB / 465.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.5495, allocations: 0 / 465.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.5495, allocations: 25.7 kB / 465.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5496, allocations: 0 / 465.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.197e-05/0.5496, allocations: 59.41 kB / 465.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.5497, allocations: 37.73 kB / 465.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5497, allocations: 7.984 kB / 465.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5497, allocations: 0 / 465.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.5498, allocations: 0 / 465.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5498, allocations: 0 / 465.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.5498, allocations: 4 kB / 465.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5498, allocations: 0 / 465.4 MB, free: 10.72 MB / 394.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 9.992e-05/0.5499, allocations: 143.5 kB / 465.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.5499, allocations: 3.984 kB / 465.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.55, allocations: 3.125 kB / 465.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.55, allocations: 7.938 kB / 465.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.55, allocations: 0 / 465.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.55, allocations: 4 kB / 465.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5501, allocations: 149.6 kB / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5501, allocations: 0 / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.5501, allocations: 0 / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5502, allocations: 0 / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5502, allocations: 0 / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5502, allocations: 4 kB / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5502, allocations: 0 / 465.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5503, allocations: 98.72 kB / 465.8 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.5504, allocations: 81.11 kB / 465.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.5504, allocations: 0 / 465.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.5504, allocations: 0 / 465.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.5504, allocations: 0 / 465.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.5505, allocations: 3.984 kB / 465.9 MB, free: 10.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.5505, allocations: 75.28 kB / 466 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5505, allocations: 4.031 kB / 466 MB, free: 10.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008398/0.5514, allocations: 175.8 kB / 466.1 MB, free: 9.875 MB / 394.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.00111/0.5525, allocations: 409.1 kB / 466.5 MB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.5526, allocations: 63.41 kB / 466.6 MB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5526, allocations: 7.938 kB / 466.6 MB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.5527, allocations: 51.41 kB / 466.7 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.5528, allocations: 7.953 kB / 466.7 MB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.553, allocations: 100.5 kB / 466.8 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.5533, allocations: 0.6731 MB / 467.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.5533, allocations: 11.55 kB / 467.5 MB, free: 8.48 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5533, allocations: 4 kB / 467.5 MB, free: 8.477 MB / 394.7 MB Notification: Performance of Templates: time 0.01117/0.5645, allocations: 3.851 MB / 471.3 MB, free: 4.621 MB / 394.7 MB