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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.204/2.204, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.883e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2688, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.3939, allocations: 83.48 MB / 441.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.3941, allocations: 63.97 kB / 441.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.4186, allocations: 5.995 MB / 447.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.341e-06/0.4187, allocations: 0 / 447.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4187, allocations: 8 kB / 447.6 MB, free: 5.164 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.0006679/0.4194, allocations: 478.3 kB / 448 MB, free: 4.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4194, allocations: 12.03 kB / 448.1 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4204, allocations: 67.62 kB / 448.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4206, allocations: 186.8 kB / 448.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4207, allocations: 8 kB / 448.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.4207, allocations: 20 kB / 448.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003157/0.4211, allocations: 117.1 kB / 448.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.4214, allocations: 145.9 kB / 448.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4214, allocations: 0 / 448.6 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.4215, allocations: 7.922 kB / 448.6 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.4215, allocations: 11.95 kB / 448.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.4226, allocations: 0.5337 MB / 449.1 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.4232, allocations: 207.1 kB / 449.3 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4233, allocations: 53.33 kB / 449.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.4234, allocations: 8.172 kB / 449.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4234, allocations: 38.78 kB / 449.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.967e-06/0.4234, allocations: 0 / 449.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003571/0.4238, allocations: 140.1 kB / 449.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4238, allocations: 59.41 kB / 449.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.4239, allocations: 89 kB / 449.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.424, allocations: 25.7 kB / 449.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4241, allocations: 206.7 kB / 450 MB, free: 2.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.4242, allocations: 90.66 kB / 450 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4242, allocations: 0 / 450 MB, free: 2.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4244, allocations: 322.8 kB / 450.4 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.4245, allocations: 28 kB / 450.4 MB, free: 2.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.4246, allocations: 40 kB / 450.4 MB, free: 2.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.4247, allocations: 39.97 kB / 450.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-06/0.4247, allocations: 0 / 450.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002929/0.425, allocations: 138.2 kB / 450.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4251, allocations: 4 kB / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-06/0.4251, allocations: 0 / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4251, allocations: 0 / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.4256, allocations: 104 kB / 450.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.274e-06/0.4256, allocations: 3.938 kB / 450.7 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.4257, allocations: 15.83 kB / 450.7 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.4257, allocations: 4 kB / 450.7 MB, free: 1.82 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 9.785e-05/0.4258, allocations: 104.9 kB / 450.8 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4259, allocations: 11.91 kB / 450.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.426, allocations: 21.75 kB / 450.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-06/0.426, allocations: 4 kB / 450.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-06/0.426, allocations: 4 kB / 450.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.067e-06/0.426, allocations: 3.984 kB / 450.9 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.4264, allocations: 218 kB / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-06/0.4264, allocations: 0 / 451.1 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.4269, allocations: 99.84 kB / 451.2 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.841e-06/0.4269, allocations: 0 / 451.2 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4269, allocations: 11.94 kB / 451.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.708e-06/0.4269, allocations: 0 / 451.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.458e-06/0.4269, allocations: 0 / 451.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.4273, allocations: 247.5 kB / 451.4 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.4274, allocations: 96.88 kB / 451.5 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4274, allocations: 3.953 kB / 451.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4276, allocations: 7.984 kB / 451.5 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4276, allocations: 19.98 kB / 451.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4277, allocations: 7.984 kB / 451.6 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.4277, allocations: 87.53 kB / 451.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4277, allocations: 0 / 451.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.4281, allocations: 39.84 kB / 451.7 MB, free: 0.7734 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.0001242/0.4282, allocations: 95.19 kB / 451.8 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.4285, allocations: 99.98 kB / 451.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.612e-06/0.4285, allocations: 0 / 451.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4287, allocations: 71.86 kB / 452 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.4289, allocations: 7.938 kB / 452 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.4294, allocations: 246.5 kB / 452.2 MB, free: 232 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.4299, allocations: 0.7321 MB / 452.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.43, allocations: 23.44 kB / 453 MB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.498e-06/0.43, allocations: 0 / 453 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Templates: time 0.003905/0.4339, allocations: 1.669 MB / 454.6 MB, free: 13.78 MB / 394.7 MB