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.175/2.175, allocations: 234.9 MB / 250.5 MB, free: 10.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 12 kB / 314.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2792, allocations: 54.86 MB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4103, allocations: 84.25 MB / 453.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.4106, allocations: 67.91 kB / 453.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02495/0.4355, allocations: 6.045 MB / 459.6 MB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.532e-06/0.4356, allocations: 0 / 459.6 MB, free: 252 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.4356, allocations: 4 kB / 459.6 MB, free: 248 kB / 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.0007217/0.4363, allocations: 498.3 kB / 460.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4364, allocations: 8.031 kB / 460.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.4374, allocations: 63.72 kB / 460.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4376, allocations: 190.7 kB / 460.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.4377, allocations: 16.56 kB / 460.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.4377, allocations: 28 kB / 460.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.4382, allocations: 204.8 kB / 460.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4383, allocations: 0 / 460.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4383, allocations: 8 kB / 460.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4383, allocations: 8 kB / 460.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.4387, allocations: 154.1 kB / 460.8 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4398, allocations: 0.589 MB / 461.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.4405, allocations: 231.3 kB / 461.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4406, allocations: 4.234 kB / 461.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.4406, allocations: 38.73 kB / 461.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.617e-06/0.4406, allocations: 4 kB / 461.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006324/0.4413, allocations: 224.2 kB / 461.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4414, allocations: 55.41 kB / 461.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.4415, allocations: 93 kB / 462 MB, free: 13.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4415, allocations: 25.7 kB / 462 MB, free: 13.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4416, allocations: 203 kB / 462.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4418, allocations: 98.59 kB / 462.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.4418, allocations: 4 kB / 462.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.442, allocations: 326.8 kB / 462.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4421, allocations: 35.98 kB / 462.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.4423, allocations: 47.97 kB / 462.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4424, allocations: 61.31 kB / 462.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4424, allocations: 0 / 462.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004073/0.4429, allocations: 173.5 kB / 462.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4429, allocations: 4 kB / 463 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.437e-06/0.4429, allocations: 0 / 463 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4429, allocations: 4 kB / 463 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.4434, allocations: 100.1 kB / 463.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4434, allocations: 0 / 463.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.4436, allocations: 27.77 kB / 463.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.4436, allocations: 8 kB / 463.1 MB, free: 12.56 MB / 394.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 (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.000163/0.4438, allocations: 125.8 kB / 463.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.4438, allocations: 15.81 kB / 463.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.4439, allocations: 25.06 kB / 463.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.4439, allocations: 4 kB / 463.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.223e-06/0.4439, allocations: 4 kB / 463.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.444, allocations: 3.984 kB / 463.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.4444, allocations: 269.4 kB / 463.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-06/0.4444, allocations: 0 / 463.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.4448, allocations: 99.94 kB / 463.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-06/0.4449, allocations: 4 kB / 463.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4449, allocations: 4 kB / 463.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-06/0.4449, allocations: 4 kB / 463.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-06/0.4449, allocations: 0 / 463.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.4454, allocations: 275.3 kB / 463.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.4455, allocations: 88.95 kB / 464 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4455, allocations: 8 kB / 464 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.4457, allocations: 15.98 kB / 464 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4457, allocations: 15.97 kB / 464 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.4457, allocations: 8 kB / 464 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.4458, allocations: 79.28 kB / 464.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.656e-06/0.4458, allocations: 0 / 464.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.4463, allocations: 55.69 kB / 464.2 MB, free: 11.38 MB / 394.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 (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.0001312/0.4464, allocations: 103.2 kB / 464.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.4468, allocations: 135.9 kB / 464.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.758e-06/0.4468, allocations: 0 / 464.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.447, allocations: 80.84 kB / 464.5 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.4472, allocations: 4 kB / 464.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4482, allocations: 0.6285 MB / 465.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.4487, allocations: 0.7402 MB / 465.9 MB, free: 9.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.4488, allocations: 19.44 kB / 465.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4488, allocations: 0 / 465.9 MB, free: 9.605 MB / 394.7 MB Notification: Performance of Templates: time 0.004017/0.4528, allocations: 1.679 MB / 467.6 MB, free: 7.93 MB / 394.7 MB