Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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.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.357/2.357, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.681e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4073, allocations: 83.13 MB / 441.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4076, allocations: 67.97 kB / 441.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0417/0.4493, allocations: 9.697 MB / 450.9 MB, free: 1.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4494, allocations: 4 kB / 450.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.794e-06/0.4494, allocations: 0 / 450.9 MB, free: 1.906 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.0006562/0.45, allocations: 475.8 kB / 451.4 MB, free: 1.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4501, allocations: 12.03 kB / 451.4 MB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.4501, allocations: 7.891 kB / 451.4 MB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4503, allocations: 159.1 kB / 451.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-06/0.4503, allocations: 0 / 451.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4503, allocations: 0 / 451.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.192e-05/0.4504, allocations: 4 kB / 451.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.4504, allocations: 37.62 kB / 451.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.039e-06/0.4505, allocations: 0 / 451.6 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-06/0.4505, allocations: 3.938 kB / 451.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-06/0.4505, allocations: 3.953 kB / 451.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.4506, allocations: 134.2 kB / 451.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.4507, allocations: 14.58 kB / 451.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.4507, allocations: 4.859 kB / 451.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.014e-06/0.4507, allocations: 0 / 451.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.4508, allocations: 64.8 kB / 451.8 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.079e-06/0.4508, allocations: 0 / 451.8 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.451, allocations: 37.55 kB / 451.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4511, allocations: 81.09 kB / 451.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.352e-05/0.4511, allocations: 89 kB / 452 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4512, allocations: 29.7 kB / 452.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.4512, allocations: 150.6 kB / 452.2 MB, free: 436 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4513, allocations: 0 / 452.2 MB, free: 436 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-06/0.4513, allocations: 4.031 kB / 452.2 MB, free: 432 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4515, allocations: 314.8 kB / 452.5 MB, free: 108 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-06/0.4515, allocations: 0 / 452.5 MB, free: 108 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.4515, allocations: 4 kB / 452.5 MB, free: 104 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.4515, allocations: 0 / 452.5 MB, free: 104 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-06/0.4515, allocations: 0 / 452.5 MB, free: 104 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.223e-05/0.4516, allocations: 29.7 kB / 452.6 MB, free: 68 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.4517, allocations: 37.69 kB / 452.6 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-06/0.4517, allocations: 4.094 kB / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4517, allocations: 0 / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-06/0.4517, allocations: 4 kB / 452.6 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-06/0.4518, allocations: 0 / 452.6 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.4518, allocations: 0 / 452.6 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4518, allocations: 4 kB / 452.6 MB, free: 12 kB / 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.0001219/0.4519, allocations: 140.3 kB / 452.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.452, allocations: 3.938 kB / 452.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.452, allocations: 11.69 kB / 452.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-06/0.452, allocations: 8 kB / 452.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-06/0.452, allocations: 0 / 452.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-06/0.452, allocations: 3.984 kB / 452.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.4521, allocations: 122.2 kB / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4522, allocations: 3.953 kB / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.4522, allocations: 0 / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-06/0.4522, allocations: 0 / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-06/0.4522, allocations: 4 kB / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-06/0.4522, allocations: 0 / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.071e-06/0.4522, allocations: 0 / 452.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.4524, allocations: 65.12 kB / 453 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.4524, allocations: 85 kB / 453 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.4524, allocations: 4 kB / 453 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.4525, allocations: 0 / 453 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.4525, allocations: 0 / 453 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-06/0.4525, allocations: 0 / 453 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.4526, allocations: 79.28 kB / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.4526, allocations: 3.938 kB / 453.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007764/0.4534, allocations: 183.8 kB / 453.3 MB, free: 15.23 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) * 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.0009423/0.4543, allocations: 402.5 kB / 453.7 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4544, allocations: 55.41 kB / 453.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.56e-06/0.4545, allocations: 0 / 453.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.4545, allocations: 55.41 kB / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.568e-05/0.4546, allocations: 0 / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.4548, allocations: 69.72 kB / 453.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4552, allocations: 0.6768 MB / 454.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.4552, allocations: 7.438 kB / 454.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4552, allocations: 128 / 454.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of Templates: time 0.008242/0.4635, allocations: 3.927 MB / 458.5 MB, free: 9.953 MB / 394.7 MB