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: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 248.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.204e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3952, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.5661, allocations: 83.8 MB / 448.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5664, allocations: 63.97 kB / 448.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05009/0.6165, allocations: 9.863 MB / 458.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6165, allocations: 0 / 458.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.6166, allocations: 0 / 458.3 MB, free: 2.777 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.0007543/0.6173, allocations: 483.8 kB / 458.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.6174, allocations: 8.031 kB / 458.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.6175, allocations: 34.52 kB / 458.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.6175, allocations: 4 kB / 458.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6176, allocations: 159.1 kB / 459 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6176, allocations: 4 kB / 459 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.6177, allocations: 0.875 kB / 459 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.6178, allocations: 41.61 kB / 459.1 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.6178, allocations: 4 kB / 459.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.6178, allocations: 1.406 kB / 459.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6178, allocations: 3.953 kB / 459.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.6179, allocations: 0 / 459.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.618, allocations: 145.7 kB / 459.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.547e-05/0.6181, allocations: 19.05 kB / 459.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.6181, allocations: 4.859 kB / 459.2 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.6181, allocations: 0 / 459.2 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.6182, allocations: 72.25 kB / 459.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.6182, allocations: 0 / 459.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001857/0.6184, allocations: 55.41 kB / 459.4 MB, free: 1.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.6185, allocations: 89.09 kB / 459.4 MB, free: 1.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.6186, allocations: 85 kB / 459.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6186, allocations: 29.64 kB / 459.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.6187, allocations: 150.6 kB / 459.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.6187, allocations: 0 / 459.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.6187, allocations: 0.6562 kB / 459.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6188, allocations: 310.8 kB / 460 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.6189, allocations: 8 kB / 460 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.6189, allocations: 4 kB / 460 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.6189, allocations: 29.69 kB / 460 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.619, allocations: 0 / 460 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.413e-05/0.6191, allocations: 63.34 kB / 460.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.6191, allocations: 30.92 kB / 460.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6191, allocations: 4.875 kB / 460.1 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6192, allocations: 0 / 460.1 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.6192, allocations: 0 / 460.1 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6192, allocations: 3.984 kB / 460.1 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.6192, allocations: 4.094 kB / 460.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6192, allocations: 3.953 kB / 460.2 MB, free: 0.7031 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.854e-05/0.6194, allocations: 130.7 kB / 460.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.6194, allocations: 0 / 460.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.6194, allocations: 7.078 kB / 460.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6194, allocations: 3.938 kB / 460.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6194, allocations: 0 / 460.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6194, allocations: 0 / 460.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.6196, allocations: 158.3 kB / 460.5 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6196, allocations: 4 kB / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.6196, allocations: 0 / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6196, allocations: 0 / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6196, allocations: 0 / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6196, allocations: 0 / 460.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6196, allocations: 4 kB / 460.5 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.6198, allocations: 99.94 kB / 460.6 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.6199, allocations: 77.11 kB / 460.6 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.6199, allocations: 8.031 kB / 460.6 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.6199, allocations: 0 / 460.6 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.6199, allocations: 0 / 460.6 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.6199, allocations: 0 / 460.6 MB, free: 124 kB / 378.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.62, allocations: 79.22 kB / 460.7 MB, free: 44 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.62, allocations: 0 / 460.7 MB, free: 44 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009051/0.6209, allocations: 179.9 kB / 460.9 MB, free: 15.86 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.001675/0.6226, allocations: 0.9361 MB / 461.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.6228, allocations: 67.39 kB / 461.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6228, allocations: 3.938 kB / 461.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.6229, allocations: 59.41 kB / 462 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.945e-05/0.623, allocations: 0.875 kB / 462 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.6236, allocations: 189 kB / 462.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.6239, allocations: 0.677 MB / 462.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.624, allocations: 7.438 kB / 462.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.624, allocations: 4.125 kB / 462.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.381/3.005, allocations: 3.978 MB / 466.8 MB, free: 9.832 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat