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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.563/2.563, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.155e-05, allocations: 4 kB / 303.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3583, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5128, allocations: 83.14 MB / 441.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5131, allocations: 63.97 kB / 441.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05108/0.5642, allocations: 9.705 MB / 451 MB, free: 1.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5643, allocations: 3.938 kB / 451 MB, free: 1.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.5643, allocations: 0 / 451 MB, free: 1.82 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.0008859/0.5652, allocations: 483.8 kB / 451.5 MB, free: 1.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.5653, allocations: 12.02 kB / 451.5 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.5654, allocations: 7.953 kB / 451.5 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.5655, allocations: 159.1 kB / 451.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5655, allocations: 0 / 451.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.5656, allocations: 0 / 451.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.961e-05/0.5656, allocations: 3.938 kB / 451.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.395e-05/0.5657, allocations: 33.7 kB / 451.7 MB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5657, allocations: 0 / 451.7 MB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5658, allocations: 0 / 451.7 MB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5658, allocations: 3.953 kB / 451.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.566, allocations: 126.2 kB / 451.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.566, allocations: 22.61 kB / 451.9 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.5661, allocations: 4.859 kB / 451.9 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5661, allocations: 4 kB / 451.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.5662, allocations: 56.7 kB / 451.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.5662, allocations: 0 / 451.9 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002173/0.5664, allocations: 37.7 kB / 452 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.5665, allocations: 81.09 kB / 452 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.5666, allocations: 85 kB / 452.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5666, allocations: 25.7 kB / 452.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.5667, allocations: 150.6 kB / 452.3 MB, free: 360 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.5668, allocations: 11.97 kB / 452.3 MB, free: 348 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5668, allocations: 4 kB / 452.3 MB, free: 344 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.567, allocations: 314.8 kB / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.567, allocations: 0 / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-06/0.567, allocations: 0 / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.5671, allocations: 0 / 452.6 MB, free: 20 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5671, allocations: 4 kB / 452.6 MB, free: 16 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001403/0.5672, allocations: 29.7 kB / 452.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.5673, allocations: 33.78 kB / 452.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5673, allocations: 11.94 kB / 452.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5674, allocations: 3.984 kB / 452.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.5674, allocations: 4 kB / 452.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.5674, allocations: 0 / 452.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.5674, allocations: 0 / 452.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.5675, allocations: 0 / 452.7 MB, free: 15.92 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 () * 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.0001281/0.5676, allocations: 136.7 kB / 452.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001201/0.5677, allocations: 41.69 kB / 452.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.5678, allocations: 4.031 kB / 452.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.5678, allocations: 11.64 kB / 452.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5678, allocations: 0 / 452.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5678, allocations: 4 kB / 452.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5678, allocations: 0 / 452.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.568, allocations: 126.2 kB / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.568, allocations: 0 / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.568, allocations: 3.984 kB / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.568, allocations: 0 / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5681, allocations: 4 kB / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5681, allocations: 0 / 453 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5681, allocations: 4 kB / 453 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.5683, allocations: 65.03 kB / 453.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.5683, allocations: 81.09 kB / 453.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.5684, allocations: 4 kB / 453.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.5684, allocations: 0 / 453.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5684, allocations: 0 / 453.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.5684, allocations: 0 / 453.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.5685, allocations: 83.31 kB / 453.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5685, allocations: 3.938 kB / 453.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001245/0.5698, allocations: 179.8 kB / 453.4 MB, free: 15.1 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.002022/0.5718, allocations: 0.8894 MB / 454.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.572, allocations: 59.34 kB / 454.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.572, allocations: 4 kB / 454.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.5721, allocations: 51.41 kB / 454.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5722, allocations: 10.94 kB / 454.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.573, allocations: 199.1 kB / 454.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5734, allocations: 0.669 MB / 455.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.5734, allocations: 11.44 kB / 455.3 MB, free: 13.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5734, allocations: 0 / 455.3 MB, free: 13.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.574/3.148, allocations: 4.072 MB / 459.4 MB, free: 9.012 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