Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 11.94 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.095, allocations: 44.49 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4799, allocations: 71.42 MB / 379.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4802, allocations: 67.45 kB / 380 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005041/0.4853, allocations: 1.25 MB / 381.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4853, allocations: 4 kB / 381.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4853, allocations: 5.188 kB / 381.3 MB, free: 14.11 MB / 314.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.0005689/0.4859, allocations: 383.6 kB / 381.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.486, allocations: 9.938 kB / 381.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.486, allocations: 41.06 kB / 381.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4861, allocations: 7.531 kB / 381.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4862, allocations: 171.3 kB / 381.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4862, allocations: 2.75 kB / 381.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.4862, allocations: 6.625 kB / 381.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.4867, allocations: 98.25 kB / 382 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4867, allocations: 2.734 kB / 382 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4867, allocations: 5.516 kB / 382 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4868, allocations: 1.188 kB / 382 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.4873, allocations: 98.27 kB / 382.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.4879, allocations: 310 kB / 382.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.4883, allocations: 84.05 kB / 382.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4883, allocations: 0.9375 kB / 382.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.4883, allocations: 31.56 kB / 382.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.715e-06/0.4884, allocations: 1 kB / 382.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009663/0.4893, allocations: 194.2 kB / 382.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4894, allocations: 51.41 kB / 382.7 MB, free: 13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.4895, allocations: 112.2 kB / 382.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4895, allocations: 25.7 kB / 382.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.4896, allocations: 161 kB / 383 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4896, allocations: 23.62 kB / 383 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.4896, allocations: 0 / 383 MB, free: 12.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.4897, allocations: 314 kB / 383.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.49, allocations: 45.41 kB / 383.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4903, allocations: 49.92 kB / 383.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.4906, allocations: 49.78 kB / 383.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4906, allocations: 0 / 383.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006041/0.4912, allocations: 138.2 kB / 383.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4912, allocations: 5.312 kB / 383.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4912, allocations: 1.641 kB / 383.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4913, allocations: 1.812 kB / 383.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.4915, allocations: 23.77 kB / 383.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4915, allocations: 0 / 383.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4917, allocations: 23.98 kB / 383.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4917, allocations: 5.188 kB / 383.7 MB, free: 12.33 MB / 314.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 (5): * Single equations (assignments): 5 * 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 8.144e-05/0.4918, allocations: 112.9 kB / 383.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.4919, allocations: 10.06 kB / 383.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.4925, allocations: 161.2 kB / 384 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4926, allocations: 1.5 kB / 384 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4926, allocations: 0 / 384 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4926, allocations: 5.453 kB / 384 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4928, allocations: 184.7 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4928, allocations: 1.125 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.493, allocations: 26.41 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4931, allocations: 1.375 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4931, allocations: 0.5625 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4931, allocations: 1.406 kB / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4931, allocations: 0 / 384.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.4937, allocations: 254 kB / 384.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.4938, allocations: 79.31 kB / 384.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4938, allocations: 5.219 kB / 384.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.494, allocations: 16.64 kB / 384.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.4941, allocations: 6.188 kB / 384.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4941, allocations: 3.094 kB / 384.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.413e-05/0.4942, allocations: 95.67 kB / 384.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4942, allocations: 0 / 384.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.4945, allocations: 27.89 kB / 384.7 MB, free: 11.64 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0008565/0.4954, allocations: 0.779 MB / 385.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.496, allocations: 108.6 kB / 385.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.496, allocations: 0 / 385.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.4963, allocations: 57.8 kB / 385.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.4966, allocations: 1.375 kB / 385.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.4972, allocations: 237.8 kB / 385.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.4974, allocations: 0.6909 MB / 386.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.4974, allocations: 19.48 kB / 386.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4975, allocations: 0 / 386.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.462/2.959, allocations: 1.254 MB / 387.8 MB, free: 9.953 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat