Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.3/2.3, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004477, allocations: 12 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4132, allocations: 54.87 MB / 369.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5736, allocations: 84.23 MB / 454 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5739, allocations: 63.97 kB / 454.1 MB, free: 6.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02716/0.6011, allocations: 6.044 MB / 460.1 MB, free: 292 kB / 378.7 MB Notification: Performance of FrontEnd: time 4.728e-06/0.6012, allocations: 0 / 460.1 MB, free: 292 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6012, allocations: 7.938 kB / 460.1 MB, free: 284 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.0008594/0.6021, allocations: 491 kB / 460.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.6022, allocations: 8.031 kB / 460.6 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6033, allocations: 71.72 kB / 460.7 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.6034, allocations: 194.7 kB / 460.9 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.6035, allocations: 20.56 kB / 460.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.6036, allocations: 24 kB / 460.9 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.6041, allocations: 196.8 kB / 461.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.6042, allocations: 0 / 461.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.6042, allocations: 12 kB / 461.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6042, allocations: 8 kB / 461.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.6047, allocations: 158.1 kB / 461.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.6061, allocations: 0.5851 MB / 461.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.6071, allocations: 231.3 kB / 462.1 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.6071, allocations: 4.234 kB / 462.1 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6072, allocations: 34.8 kB / 462.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.216e-06/0.6072, allocations: 3.938 kB / 462.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007627/0.608, allocations: 224.2 kB / 462.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.608, allocations: 55.41 kB / 462.4 MB, free: 13.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.6082, allocations: 105.8 kB / 462.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6082, allocations: 29.7 kB / 462.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6083, allocations: 199 kB / 462.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6084, allocations: 94.64 kB / 462.8 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.6085, allocations: 7.938 kB / 462.8 MB, free: 13.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6086, allocations: 326.8 kB / 463.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.6088, allocations: 43.97 kB / 463.2 MB, free: 12.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.609, allocations: 47.98 kB / 463.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.6092, allocations: 53.38 kB / 463.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6092, allocations: 0 / 463.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004907/0.6097, allocations: 173.5 kB / 463.5 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6098, allocations: 8 kB / 463.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6098, allocations: 0 / 463.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.6098, allocations: 0 / 463.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.6106, allocations: 107.9 kB / 463.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6106, allocations: 0 / 463.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.6107, allocations: 15.84 kB / 463.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.6108, allocations: 8 kB / 463.6 MB, free: 12.58 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.000181/0.6109, allocations: 133.8 kB / 463.7 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.611, allocations: 11.81 kB / 463.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.6111, allocations: 21.12 kB / 463.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6111, allocations: 4 kB / 463.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.6111, allocations: 0 / 463.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.6111, allocations: 12.16 kB / 463.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.6116, allocations: 269.4 kB / 464.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6116, allocations: 8 kB / 464.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.6123, allocations: 99.94 kB / 464.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.6123, allocations: 0 / 464.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.6123, allocations: 4 kB / 464.2 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6124, allocations: 4 kB / 464.2 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6124, allocations: 0 / 464.2 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.6129, allocations: 279.3 kB / 464.4 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.613, allocations: 88.95 kB / 464.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.6131, allocations: 4 kB / 464.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6132, allocations: 11.98 kB / 464.5 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.6133, allocations: 15.98 kB / 464.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.6133, allocations: 7.938 kB / 464.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.6134, allocations: 87.27 kB / 464.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6134, allocations: 0 / 464.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003855/0.6138, allocations: 47.75 kB / 464.7 MB, free: 11.4 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.000158/0.614, allocations: 107.2 kB / 464.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.6144, allocations: 127.9 kB / 464.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6145, allocations: 0 / 464.9 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.6147, allocations: 84.83 kB / 465 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.6149, allocations: 7.953 kB / 465 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.6161, allocations: 0.6285 MB / 465.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6165, allocations: 0.7401 MB / 466.4 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/0.6166, allocations: 19.44 kB / 466.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6166, allocations: 0 / 466.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of Templates: time 0.005121/0.6217, allocations: 1.687 MB / 468.1 MB, free: 7.934 MB / 394.7 MB