Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.587/1.587, allocations: 171.2 MB / 186.8 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003336, allocations: 4 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08034/0.0807, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4315, allocations: 66.07 MB / 338.2 MB, free: 7.402 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4318, allocations: 68.28 kB / 338.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005141/0.437, allocations: 1.239 MB / 339.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.437, allocations: 4 kB / 339.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.437, allocations: 0 / 339.5 MB, free: 6.273 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006479/0.4377, allocations: 384.6 kB / 339.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4378, allocations: 12.03 kB / 339.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.4378, allocations: 38.55 kB / 339.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.4379, allocations: 8.844 kB / 339.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.438, allocations: 163.1 kB / 340.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.438, allocations: 3.312 kB / 340.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.4381, allocations: 7.953 kB / 340.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.4385, allocations: 103 kB / 340.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4385, allocations: 0 / 340.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4385, allocations: 3.984 kB / 340.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4385, allocations: 4 kB / 340.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.4391, allocations: 98.22 kB / 340.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.4397, allocations: 308.7 kB / 340.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4401, allocations: 76.91 kB / 340.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.4401, allocations: 0 / 340.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4402, allocations: 38.5 kB / 340.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4402, allocations: 0 / 340.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009501/0.4412, allocations: 173.8 kB / 340.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.4412, allocations: 51.41 kB / 340.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.4413, allocations: 107.9 kB / 341 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4413, allocations: 26.36 kB / 341 MB, free: 4.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.4414, allocations: 158 kB / 341.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.4415, allocations: 23.73 kB / 341.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.4415, allocations: 0 / 341.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4416, allocations: 314.8 kB / 341.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.4419, allocations: 46.58 kB / 341.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.4422, allocations: 51.27 kB / 341.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4425, allocations: 47.22 kB / 341.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4425, allocations: 0 / 341.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006565/0.4432, allocations: 127.9 kB / 341.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4432, allocations: 4 kB / 341.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4432, allocations: 3.984 kB / 341.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4433, allocations: 0 / 341.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.4435, allocations: 19.98 kB / 341.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4435, allocations: 0 / 341.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4437, allocations: 19.98 kB / 341.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4437, allocations: 4 kB / 341.8 MB, free: 3.805 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001178/0.4438, allocations: 117.5 kB / 342 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.4439, allocations: 7.906 kB / 342 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.4446, allocations: 147.5 kB / 342.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4446, allocations: 0 / 342.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4446, allocations: 0 / 342.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4447, allocations: 4 kB / 342.1 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.4449, allocations: 183.6 kB / 342.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4449, allocations: 0 / 342.3 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.4452, allocations: 31.91 kB / 342.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4452, allocations: 0 / 342.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4452, allocations: 4 kB / 342.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4452, allocations: 0 / 342.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4452, allocations: 0 / 342.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4459, allocations: 244.9 kB / 342.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.446, allocations: 85.06 kB / 342.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.446, allocations: 0 / 342.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.4462, allocations: 15.98 kB / 342.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.4463, allocations: 6.922 kB / 342.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4463, allocations: 4.812 kB / 342.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.4464, allocations: 91.39 kB / 342.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4464, allocations: 0 / 342.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.4467, allocations: 19.92 kB / 342.8 MB, free: 2.809 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.001022/0.4477, allocations: 0.7715 MB / 343.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.4484, allocations: 110.7 kB / 343.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4484, allocations: 0 / 343.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.4487, allocations: 59.02 kB / 343.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.4489, allocations: 7.75 kB / 343.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.4496, allocations: 227.2 kB / 344 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4499, allocations: 0.6887 MB / 344.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.45, allocations: 22.48 kB / 344.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.45, allocations: 0 / 344.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.254/2.704, allocations: 1.163 MB / 345.8 MB, free: 15.73 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat