Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 264 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001988/0.2836, allocations: 1.18 MB / 309.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2847, allocations: 0.496 MB / 310.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.2848, allocations: 0 / 310.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.467e-05/0.2849, allocations: 11.92 kB / 310.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.285, allocations: 11.98 kB / 310.3 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.2851, allocations: 27.86 kB / 310.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.2852, allocations: 35.95 kB / 310.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2854, allocations: 15.98 kB / 310.3 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2855, allocations: 19.92 kB / 310.3 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.2856, allocations: 35.83 kB / 310.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2856, allocations: 0 / 310.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.2857, allocations: 8 kB / 310.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.2857, allocations: 4 kB / 310.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2857, allocations: 33.64 kB / 310.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.2859, allocations: 43.91 kB / 310.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2859, allocations: 4 kB / 310.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2859, allocations: 0 / 310.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2859, allocations: 0 / 310.5 MB, free: 10.71 MB / 250.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.0007554/0.2867, allocations: 380.2 kB / 310.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2867, allocations: 19.97 kB / 310.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.2868, allocations: 38.55 kB / 310.9 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.2868, allocations: 7.906 kB / 310.9 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.287, allocations: 171 kB / 311.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.287, allocations: 3.938 kB / 311.1 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.2871, allocations: 8 kB / 311.1 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.2875, allocations: 97.58 kB / 311.2 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2875, allocations: 0 / 311.2 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2875, allocations: 0 / 311.2 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2875, allocations: 4 kB / 311.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.2881, allocations: 99.91 kB / 311.3 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.2887, allocations: 308.7 kB / 311.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.2891, allocations: 86.53 kB / 311.7 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2891, allocations: 0 / 311.7 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2892, allocations: 34.59 kB / 311.7 MB, free: 9.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.2892, allocations: 4 kB / 311.7 MB, free: 9.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.001005/0.2902, allocations: 185.6 kB / 311.9 MB, free: 9.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2903, allocations: 51.41 kB / 311.9 MB, free: 9.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2904, allocations: 113.8 kB / 312.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2904, allocations: 25.7 kB / 312.1 MB, free: 8.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.2905, allocations: 96.12 kB / 312.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2905, allocations: 15.66 kB / 312.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.2905, allocations: 8 kB / 312.2 MB, free: 8.777 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2907, allocations: 314.8 kB / 312.5 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.291, allocations: 47.97 kB / 312.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.2913, allocations: 51.89 kB / 312.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.2916, allocations: 47.97 kB / 312.6 MB, free: 8.316 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2916, allocations: 0 / 312.6 MB, free: 8.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006418/0.2922, allocations: 133.6 kB / 312.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2923, allocations: 10.48 kB / 312.8 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2923, allocations: 0 / 312.8 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2923, allocations: 3.953 kB / 312.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2926, allocations: 23.98 kB / 312.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2926, allocations: 384 / 312.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.2927, allocations: 19.98 kB / 312.8 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2928, allocations: 3.938 kB / 312.8 MB, free: 8.121 MB / 250.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 0.0001095/0.2929, allocations: 117.8 kB / 313 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.2929, allocations: 19.77 kB / 313 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.2936, allocations: 150 kB / 313.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.2937, allocations: 0 / 313.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2937, allocations: 7.953 kB / 313.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2937, allocations: 7.984 kB / 313.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.294, allocations: 185.6 kB / 313.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.294, allocations: 0 / 313.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2942, allocations: 23.98 kB / 313.3 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2942, allocations: 0 / 313.3 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2943, allocations: 8 kB / 313.3 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2943, allocations: 3.984 kB / 313.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2943, allocations: 4 kB / 313.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.295, allocations: 243.3 kB / 313.6 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.2951, allocations: 85.02 kB / 313.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2951, allocations: 3.984 kB / 313.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2953, allocations: 19.98 kB / 313.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.2954, allocations: 4 kB / 313.7 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.2954, allocations: 7.984 kB / 313.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.782e-05/0.2955, allocations: 91.23 kB / 313.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2955, allocations: 0 / 313.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.2958, allocations: 8 kB / 313.8 MB, free: 7.047 MB / 250.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.001028/0.2968, allocations: 0.771 MB / 314.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.2975, allocations: 115.9 kB / 314.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2975, allocations: 0 / 314.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.2978, allocations: 55.91 kB / 314.7 MB, free: 6.082 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2981, allocations: 7.984 kB / 314.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.2987, allocations: 206.7 kB / 315 MB, free: 5.832 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.299, allocations: 0.6926 MB / 315.6 MB, free: 5.113 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.274e-05/0.2991, allocations: 4 kB / 315.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.2992, allocations: 27.36 kB / 315.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2992, allocations: 0 / 315.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.323, allocations: 1.631 MB / 317.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003606/0.3234, allocations: 189.6 kB / 317.5 MB, free: 3.242 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.515, allocations: 0 / 317.5 MB, free: 3.242 MB / 250.7 MB "" Variables in the reference:time,len.y,phi.y Variables in the result:complexToReal.im,complexToReal.re,complexToReal.u.im,complexToReal.u.re,complexToReal.useConjugateInput,len.duration,len.height,len.offset,len.startTime,len.y,phi.duration,phi.height,phi.offset,phi.startTime,phi.y,polarToComplex.len,polarToComplex.phi,polarToComplex.y.im,polarToComplex.y.re,time