Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadModel(ModelicaTest): time 2.229/2.229, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.72e-05, allocations: 0 / 309.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4477, allocations: 84.15 MB / 448.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4479, allocations: 65.09 kB / 448.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.4733, allocations: 6.034 MB / 454.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.4734, allocations: 0 / 454.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4734, allocations: 4 kB / 454.8 MB, free: 6.16 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.0006967/0.4741, allocations: 478.4 kB / 455.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4742, allocations: 12.62 kB / 455.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4753, allocations: 71.62 kB / 455.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.4755, allocations: 186.8 kB / 455.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4755, allocations: 20.56 kB / 455.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.4756, allocations: 27.98 kB / 455.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.476, allocations: 190.3 kB / 455.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.476, allocations: 3.5 kB / 455.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.4761, allocations: 12 kB / 455.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4761, allocations: 11.95 kB / 455.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.4764, allocations: 130.2 kB / 455.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4776, allocations: 0.5928 MB / 456.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.4783, allocations: 220.6 kB / 456.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4784, allocations: 65.33 kB / 456.8 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4785, allocations: 4.234 kB / 456.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4785, allocations: 38.78 kB / 456.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.839e-06/0.4785, allocations: 0 / 456.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004298/0.479, allocations: 155.8 kB / 457 MB, free: 3.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4791, allocations: 59.34 kB / 457 MB, free: 3.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.4792, allocations: 97 kB / 457.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4792, allocations: 35.02 kB / 457.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4794, allocations: 206.8 kB / 457.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.4795, allocations: 86.64 kB / 457.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.4795, allocations: 4 kB / 457.4 MB, free: 3.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4797, allocations: 326.8 kB / 457.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4798, allocations: 36 kB / 457.8 MB, free: 2.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.4799, allocations: 40 kB / 457.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.48, allocations: 43.97 kB / 457.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-06/0.48, allocations: 0 / 457.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003326/0.4804, allocations: 154.2 kB / 458 MB, free: 2.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4804, allocations: 4 kB / 458 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-06/0.4804, allocations: 4 kB / 458 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4805, allocations: 4 kB / 458 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.481, allocations: 95.89 kB / 458.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8e-06/0.481, allocations: 0.6562 kB / 458.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.4811, allocations: 23.83 kB / 458.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4811, allocations: 12 kB / 458.2 MB, free: 2.562 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 0.0001108/0.4813, allocations: 112.9 kB / 458.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.4813, allocations: 19.09 kB / 458.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.4814, allocations: 25.12 kB / 458.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4814, allocations: 4 kB / 458.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-06/0.4814, allocations: 1.219 kB / 458.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.4815, allocations: 3.984 kB / 458.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.4819, allocations: 269.4 kB / 458.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.4819, allocations: 0 / 458.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.4824, allocations: 103.9 kB / 458.7 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.445e-06/0.4824, allocations: 4 kB / 458.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4825, allocations: 4 kB / 458.7 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-06/0.4825, allocations: 0 / 458.7 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-06/0.4825, allocations: 4 kB / 458.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.4829, allocations: 255.4 kB / 459 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.483, allocations: 88.95 kB / 459 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.483, allocations: 8 kB / 459.1 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4832, allocations: 7.984 kB / 459.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.4832, allocations: 17.67 kB / 459.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.4833, allocations: 7.938 kB / 459.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.4833, allocations: 87.53 kB / 459.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4833, allocations: 0 / 459.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.4837, allocations: 43.75 kB / 459.2 MB, free: 1.426 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.0001332/0.4839, allocations: 107.4 kB / 459.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4842, allocations: 120.4 kB / 459.4 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.443e-06/0.4842, allocations: 0 / 459.4 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4844, allocations: 76.33 kB / 459.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.4846, allocations: 7.953 kB / 459.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.4852, allocations: 260.6 kB / 459.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.4857, allocations: 0.7402 MB / 460.5 MB, free: 60 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.4858, allocations: 19.44 kB / 460.5 MB, free: 40 kB / 378.7 MB Notification: Performance of SimCode: time 1.378e-06/0.4858, allocations: 0 / 460.5 MB, free: 40 kB / 378.7 MB Notification: Performance of Templates: time 0.004111/0.4899, allocations: 1.695 MB / 462.2 MB, free: 14.35 MB / 394.7 MB