Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003462, allocations: 8 kB / 233.2 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06836/0.06872, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.3961, allocations: 66.06 MB / 338.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3964, allocations: 64.47 kB / 338.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004486/0.4009, allocations: 1.234 MB / 339.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.012e-06/0.4009, allocations: 0 / 339.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.401, allocations: 7.938 kB / 339.4 MB, free: 6.617 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.0005605/0.4015, allocations: 390.1 kB / 339.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4016, allocations: 10.44 kB / 339.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.4016, allocations: 11.84 kB / 339.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.4018, allocations: 163.1 kB / 339.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4018, allocations: 3.984 kB / 339.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4018, allocations: 6.875 kB / 339.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.4022, allocations: 99.47 kB / 340 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-06/0.4022, allocations: 0 / 340 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4022, allocations: 3.375 kB / 340 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.59e-06/0.4022, allocations: 4 kB / 340 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.4026, allocations: 98.91 kB / 340.1 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.4031, allocations: 312.2 kB / 340.5 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.4034, allocations: 76.78 kB / 340.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4035, allocations: 0 / 340.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4035, allocations: 30.56 kB / 340.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.4035, allocations: 4 kB / 340.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006808/0.4042, allocations: 174.8 kB / 340.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4043, allocations: 51.41 kB / 340.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.4044, allocations: 99.8 kB / 340.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4044, allocations: 29.7 kB / 340.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.4045, allocations: 161.8 kB / 341.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.4046, allocations: 11.75 kB / 341.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-06/0.4046, allocations: 4 kB / 341.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4048, allocations: 322.9 kB / 341.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.405, allocations: 43.47 kB / 341.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.4051, allocations: 46.83 kB / 341.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.4053, allocations: 43.22 kB / 341.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4054, allocations: 0 / 341.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004324/0.4058, allocations: 132.5 kB / 341.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4058, allocations: 7.938 kB / 341.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.781e-06/0.4058, allocations: 0 / 341.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4059, allocations: 0 / 341.7 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.406, allocations: 19.98 kB / 341.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4061, allocations: 4 kB / 341.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.4062, allocations: 19.8 kB / 341.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4062, allocations: 11.92 kB / 341.7 MB, free: 4.188 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.0001028/0.4063, allocations: 109.8 kB / 341.8 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4064, allocations: 11.42 kB / 341.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.4069, allocations: 143.5 kB / 342 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-06/0.4069, allocations: 4 kB / 342 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-06/0.4069, allocations: 7.984 kB / 342 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4069, allocations: 0 / 342 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.4072, allocations: 179.9 kB / 342.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-06/0.4072, allocations: 3.984 kB / 342.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.4074, allocations: 23.98 kB / 342.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.505e-06/0.4074, allocations: 0 / 342.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-06/0.4074, allocations: 0 / 342.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-06/0.4074, allocations: 4 kB / 342.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-06/0.4075, allocations: 4 kB / 342.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.408, allocations: 236.8 kB / 342.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.408, allocations: 81.06 kB / 342.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4081, allocations: 4.875 kB / 342.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.4082, allocations: 19.48 kB / 342.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4083, allocations: 3.984 kB / 342.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4083, allocations: 8 kB / 342.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.4084, allocations: 86.58 kB / 342.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.4084, allocations: 0 / 342.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.4087, allocations: 23.5 kB / 342.7 MB, free: 3.199 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.0001638/0.4089, allocations: 107.2 kB / 342.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.4093, allocations: 98.8 kB / 342.9 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.4094, allocations: 4 kB / 342.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.4096, allocations: 58.7 kB / 342.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4098, allocations: 9.047 kB / 342.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.4103, allocations: 193.5 kB / 343.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4107, allocations: 0.6887 MB / 343.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.4107, allocations: 11.44 kB / 343.8 MB, free: 2 MB / 266.7 MB Notification: Performance of SimCode: time 1.37e-06/0.4107, allocations: 0 / 343.8 MB, free: 2 MB / 266.7 MB Notification: Performance of Templates: time 0.002707/0.4134, allocations: 0.9035 MB / 344.7 MB, free: 1.105 MB / 266.7 MB