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/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.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.397/2.397, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 15.94 kB / 314.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4378, allocations: 83.88 MB / 453.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.438, allocations: 71.89 kB / 453.2 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06353/0.5016, allocations: 9.893 MB / 463.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.32e-06/0.5017, allocations: 4 kB / 463.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.092e-06/0.5017, allocations: 0 / 463.1 MB, free: 12.72 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.001019/0.5027, allocations: 486 kB / 463.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.5028, allocations: 12.03 kB / 463.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.5029, allocations: 3.953 kB / 463.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.5031, allocations: 159.1 kB / 463.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5031, allocations: 0 / 463.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5032, allocations: 0 / 463.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5033, allocations: 33.69 kB / 463.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5034, allocations: 4 kB / 463.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5034, allocations: 0 / 463.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5034, allocations: 0 / 463.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.5035, allocations: 7.891 kB / 463.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.5037, allocations: 149.7 kB / 463.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.5038, allocations: 14.58 kB / 464 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.5039, allocations: 0 / 464 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.561e-05/0.504, allocations: 68.78 kB / 464 MB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.103e-06/0.504, allocations: 0 / 464 MB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002624/0.5043, allocations: 71.25 kB / 464.1 MB, free: 11.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.5044, allocations: 77.11 kB / 464.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.5045, allocations: 85 kB / 464.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5045, allocations: 25.7 kB / 464.3 MB, free: 11.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5047, allocations: 150.6 kB / 464.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.5047, allocations: 0 / 464.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5047, allocations: 128 / 464.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.505, allocations: 322.8 kB / 464.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.505, allocations: 4 kB / 464.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.5051, allocations: 0 / 464.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.5051, allocations: 29.7 kB / 464.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.386e-06/0.5052, allocations: 0 / 464.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000175/0.5053, allocations: 67.28 kB / 464.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.5054, allocations: 37.69 kB / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-06/0.5055, allocations: 0 / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5055, allocations: 4.094 kB / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-06/0.5055, allocations: 0 / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.508e-06/0.5055, allocations: 0 / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.5056, allocations: 0 / 464.9 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5056, allocations: 0 / 464.9 MB, free: 10.7 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 0.0001741/0.5058, allocations: 139.5 kB / 465 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.5058, allocations: 4 kB / 465 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.5059, allocations: 7.062 kB / 465 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-06/0.5059, allocations: 0 / 465 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5059, allocations: 4 kB / 465 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.506, allocations: 7.984 kB / 465 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.5062, allocations: 149.6 kB / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-06/0.5062, allocations: 0 / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-06/0.5062, allocations: 0 / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.886e-06/0.5062, allocations: 0 / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5063, allocations: 0 / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.963e-06/0.5063, allocations: 4 kB / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.753e-06/0.5063, allocations: 0 / 465.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.5065, allocations: 98.72 kB / 465.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.5066, allocations: 85.09 kB / 465.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5067, allocations: 0 / 465.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.5067, allocations: 0 / 465.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.5068, allocations: 3.984 kB / 465.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-06/0.5068, allocations: 0 / 465.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.086e-05/0.5069, allocations: 75.28 kB / 465.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.016e-06/0.5069, allocations: 4 kB / 465.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001379/0.5083, allocations: 171.8 kB / 465.6 MB, free: 9.848 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.001737/0.5101, allocations: 411.4 kB / 466 MB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.5103, allocations: 67.34 kB / 466.1 MB, free: 9.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.232e-06/0.5103, allocations: 4 kB / 466.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.5104, allocations: 59.34 kB / 466.1 MB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.5106, allocations: 9.203 kB / 466.1 MB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.5109, allocations: 100.5 kB / 466.2 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.5115, allocations: 0.677 MB / 466.9 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.5115, allocations: 7.438 kB / 466.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of SimCode: time 1.789e-06/0.5115, allocations: 0 / 466.9 MB, free: 8.438 MB / 394.7 MB Notification: Performance of Templates: time 0.01467/0.5262, allocations: 3.848 MB / 470.8 MB, free: 4.586 MB / 394.7 MB