Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007251/0.0007252, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1078, allocations: 38.77 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/0.3859, allocations: 67.58 MB / 339.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3862, allocations: 67.84 kB / 339.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02666/0.4129, allocations: 7.22 MB / 346.9 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.316e-06/0.4129, allocations: 0 / 346.9 MB, free: 452 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.067e-06/0.4129, allocations: 3.938 kB / 346.9 MB, free: 448 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006256/0.4136, allocations: 422.1 kB / 347.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4136, allocations: 8.031 kB / 347.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.4137, allocations: 75.28 kB / 347.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.4139, allocations: 242.3 kB / 347.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.414, allocations: 156 kB / 347.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.4141, allocations: 150.6 kB / 347.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.4142, allocations: 108.9 kB / 348 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.4143, allocations: 75.28 kB / 348.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.4143, allocations: 154.4 kB / 348.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/0.4144, allocations: 150.6 kB / 348.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.4145, allocations: 158.5 kB / 348.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4149, allocations: 449.2 kB / 349 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.996e-05/0.415, allocations: 165.1 kB / 349.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.4151, allocations: 75.28 kB / 349.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.4151, allocations: 109.8 kB / 349.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 4.234e-06/0.4152, allocations: 3.984 kB / 349.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 9.348e-05/0.4153, allocations: 37.59 kB / 349.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.4154, allocations: 126.7 kB / 349.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4155, allocations: 96.11 kB / 349.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4155, allocations: 25.7 kB / 349.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.4156, allocations: 154.1 kB / 349.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-06/0.4156, allocations: 4 kB / 349.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-07/0.4156, allocations: 0 / 349.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4158, allocations: 318.9 kB / 350.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-06/0.4158, allocations: 0 / 350.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-06/0.4158, allocations: 0 / 350.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.4159, allocations: 75.28 kB / 350.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/0.4159, allocations: 75.28 kB / 350.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.726e-05/0.416, allocations: 33.64 kB / 350.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.4161, allocations: 83.28 kB / 350.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/0.4161, allocations: 75.28 kB / 350.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.035e-05/0.4162, allocations: 162.4 kB / 350.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.4163, allocations: 87.27 kB / 350.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.291e-05/0.4164, allocations: 154 kB / 350.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4165, allocations: 79.22 kB / 350.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.4166, allocations: 75.28 kB / 350.9 MB, free: 12.16 MB / 282.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 (0): * Single equations (assignments): 0 * 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.0001618/0.4168, allocations: 264.4 kB / 351.2 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.4169, allocations: 108.8 kB / 351.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.4169, allocations: 111.4 kB / 351.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/0.4171, allocations: 184.2 kB / 351.6 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.637e-05/0.4172, allocations: 184.2 kB / 351.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/0.4173, allocations: 180.3 kB / 352 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.4177, allocations: 408.5 kB / 352.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/0.4178, allocations: 101 kB / 352.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.4179, allocations: 101 kB / 352.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.364e-05/0.418, allocations: 184.2 kB / 352.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.4181, allocations: 191.8 kB / 352.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.124e-05/0.4182, allocations: 180.2 kB / 353.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.161e-05/0.4183, allocations: 176.8 kB / 353.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4185, allocations: 307.1 kB / 353.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4186, allocations: 182.1 kB / 353.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4187, allocations: 188.6 kB / 353.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4189, allocations: 104.2 kB / 354 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.419, allocations: 184.2 kB / 354.2 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.419, allocations: 105 kB / 354.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.895e-05/0.4191, allocations: 86.48 kB / 354.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4191, allocations: 0 / 354.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007723/0.4199, allocations: 151.1 kB / 354.5 MB, free: 8.355 MB / 282.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 (0): * Single equations (assignments): 0 * 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.001348/0.4213, allocations: 0.5713 MB / 355.1 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.777e-05/0.4214, allocations: 0 / 355.1 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.4214, allocations: 0 / 355.1 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-06/0.4214, allocations: 3.938 kB / 355.1 MB, free: 7.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4218, allocations: 0.5263 MB / 355.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.4221, allocations: 217.9 kB / 355.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.4225, allocations: 0.6731 MB / 356.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.4225, allocations: 11.42 kB / 356.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of SimCode: time 1.607e-06/0.4226, allocations: 0 / 356.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of Templates: time 0.007491/0.4301, allocations: 3.062 MB / 359.6 MB, free: 3.289 MB / 282.7 MB