Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07873, allocations: 44.51 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.3987, allocations: 71.4 MB / 379.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3989, allocations: 65.16 kB / 379.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004394/0.4033, allocations: 1.257 MB / 381.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.397e-06/0.4034, allocations: 0 / 381.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.709e-06/0.4034, allocations: 0.9688 kB / 381.2 MB, free: 18.41 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.0004318/0.4038, allocations: 395.4 kB / 381.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4039, allocations: 10.17 kB / 381.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.4039, allocations: 6.188 kB / 381.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.748e-05/0.404, allocations: 169 kB / 381.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4041, allocations: 1.188 kB / 381.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.4041, allocations: 10.38 kB / 381.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.4045, allocations: 95.73 kB / 381.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4045, allocations: 0 / 381.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4045, allocations: 1.344 kB / 381.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-06/0.4046, allocations: 1.438 kB / 381.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.405, allocations: 105.4 kB / 381.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.4054, allocations: 314.3 kB / 382.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.4057, allocations: 90.42 kB / 382.3 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4057, allocations: 0 / 382.3 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.4058, allocations: 34.73 kB / 382.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.767e-06/0.4058, allocations: 0 / 382.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000711/0.4065, allocations: 190.7 kB / 382.6 MB, free: 17.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.4065, allocations: 52.47 kB / 382.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.4066, allocations: 107.9 kB / 382.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4066, allocations: 26.73 kB / 382.7 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.4067, allocations: 155.6 kB / 382.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.4067, allocations: 17.91 kB / 382.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4068, allocations: 4.125 kB / 382.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.4068, allocations: 313.9 kB / 383.2 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.407, allocations: 47.19 kB / 383.3 MB, free: 16.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4072, allocations: 52.7 kB / 383.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4074, allocations: 47.81 kB / 383.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-06/0.4074, allocations: 0 / 383.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004278/0.4079, allocations: 132.4 kB / 383.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4079, allocations: 5.094 kB / 383.5 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-06/0.4079, allocations: 9.156 kB / 383.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4079, allocations: 0 / 383.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.4081, allocations: 24.58 kB / 383.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.696e-06/0.4081, allocations: 1.188 kB / 383.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.4083, allocations: 20.42 kB / 383.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4083, allocations: 5.203 kB / 383.6 MB, free: 16.66 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 6.592e-05/0.4084, allocations: 117.2 kB / 383.7 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.4084, allocations: 6.656 kB / 383.7 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.4089, allocations: 153.3 kB / 383.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-06/0.4089, allocations: 0.9688 kB / 383.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-06/0.409, allocations: 5.188 kB / 383.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.833e-06/0.409, allocations: 0 / 383.8 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.4092, allocations: 191 kB / 384 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-06/0.4092, allocations: 0 / 384 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4094, allocations: 32.91 kB / 384 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4094, allocations: 0 / 384 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4094, allocations: 1.875 kB / 384.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.617e-06/0.4094, allocations: 0 / 384.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-06/0.4094, allocations: 0 / 384.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.4099, allocations: 245.1 kB / 384.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.4099, allocations: 82.23 kB / 384.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.41, allocations: 7.688 kB / 384.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.4102, allocations: 16.77 kB / 384.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4102, allocations: 10.06 kB / 384.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-06/0.4102, allocations: 1.406 kB / 384.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.4103, allocations: 87.98 kB / 384.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4103, allocations: 0 / 384.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.4106, allocations: 22.12 kB / 384.5 MB, free: 15.98 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.0001226/0.4108, allocations: 106.8 kB / 384.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.4112, allocations: 106.8 kB / 384.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.4112, allocations: 0 / 384.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.4115, allocations: 64.53 kB / 384.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4117, allocations: 13.05 kB / 384.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.4121, allocations: 197.8 kB / 385 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.4122, allocations: 0.6933 MB / 385.7 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.4123, allocations: 14.12 kB / 385.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4123, allocations: 0 / 385.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Templates: time 0.002624/0.4149, allocations: 0.9559 MB / 386.7 MB, free: 14.93 MB / 314.7 MB