Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 235 MB / 248.1 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.339e-05/4.343e-05, allocations: 11.98 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3842, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5361, allocations: 84.14 MB / 448.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.5364, allocations: 64.75 kB / 448.8 MB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03039/0.5668, allocations: 6.046 MB / 454.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5668, allocations: 0 / 454.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.5669, allocations: 8 kB / 454.9 MB, free: 6.168 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001066/0.568, allocations: 482.4 kB / 455.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/0.5681, allocations: 12.56 kB / 455.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.5683, allocations: 90.97 kB / 455.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.5701, allocations: 72.66 kB / 455.5 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.5704, allocations: 194.7 kB / 455.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/0.5705, allocations: 24.78 kB / 455.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.5706, allocations: 31.5 kB / 455.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.5715, allocations: 219.7 kB / 456 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5715, allocations: 0 / 456 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.5716, allocations: 11.98 kB / 456 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.5717, allocations: 11.95 kB / 456 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.5724, allocations: 151.1 kB / 456.2 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5739, allocations: 0.6406 MB / 456.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.5748, allocations: 228.6 kB / 457 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.575, allocations: 65.89 kB / 457.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.575, allocations: 4.234 kB / 457.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5751, allocations: 34.8 kB / 457.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.354e-06/0.5751, allocations: 0 / 457.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004648/0.5756, allocations: 159.8 kB / 457.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.5756, allocations: 55.41 kB / 457.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.5757, allocations: 97.84 kB / 457.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5758, allocations: 33.7 kB / 457.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5759, allocations: 218.7 kB / 457.7 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.576, allocations: 82.67 kB / 457.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.5761, allocations: 4 kB / 457.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5762, allocations: 322.8 kB / 458.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5763, allocations: 36 kB / 458.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.5764, allocations: 36 kB / 458.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5766, allocations: 51.95 kB / 458.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5766, allocations: 0.6562 kB / 458.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003628/0.577, allocations: 162.1 kB / 458.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.577, allocations: 4 kB / 458.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.577, allocations: 0 / 458.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5771, allocations: 4 kB / 458.4 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.5778, allocations: 95.94 kB / 458.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.5778, allocations: 0 / 458.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.5779, allocations: 20.88 kB / 458.5 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.578, allocations: 19.22 kB / 458.5 MB, free: 2.332 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 9.423e-05/0.5781, allocations: 105 kB / 458.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.5781, allocations: 19.77 kB / 458.6 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.5782, allocations: 29.11 kB / 458.6 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.5782, allocations: 7.984 kB / 458.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5783, allocations: 0 / 458.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5783, allocations: 0 / 458.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.5787, allocations: 285.4 kB / 458.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5787, allocations: 4 kB / 458.9 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.5794, allocations: 96.14 kB / 459 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5795, allocations: 7.938 kB / 459 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5795, allocations: 11.95 kB / 459 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5795, allocations: 0 / 459 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5795, allocations: 0 / 459 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.5799, allocations: 267.3 kB / 459.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.58, allocations: 88.95 kB / 459.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.58, allocations: 0 / 459.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.5802, allocations: 11.95 kB / 459.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.5803, allocations: 19.97 kB / 459.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.5803, allocations: 4 kB / 459.4 MB, free: 1.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.5804, allocations: 83.28 kB / 459.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5804, allocations: 0 / 459.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.5807, allocations: 59.69 kB / 459.6 MB, free: 1.164 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0008653/0.5816, allocations: 0.8572 MB / 460.4 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.582, allocations: 119.9 kB / 460.5 MB, free: 168 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.582, allocations: 0 / 460.5 MB, free: 168 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.5821, allocations: 67.92 kB / 460.6 MB, free: 100 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.5823, allocations: 11.95 kB / 460.6 MB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.5834, allocations: 357.8 kB / 461 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.5837, allocations: 0.7516 MB / 461.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.5839, allocations: 71.41 kB / 461.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5839, allocations: 0 / 461.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.45/3.034, allocations: 2.54 MB / 464.3 MB, free: 12.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat