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.656/1.656, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.638e-05, allocations: 4 kB / 228.8 MB, free: 15.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3068, allocations: 67.49 MB / 335.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3071, allocations: 63.97 kB / 335.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.3359, allocations: 7.02 MB / 342.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.3359, allocations: 0 / 342.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.47e-06/0.3359, allocations: 0 / 342.2 MB, free: 14.77 MB / 298.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.0005773/0.3365, allocations: 411.8 kB / 342.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3366, allocations: 12.03 kB / 342.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.3366, allocations: 79.28 kB / 342.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3369, allocations: 246.3 kB / 342.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.337, allocations: 150.6 kB / 343 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.198e-05/0.3371, allocations: 150.6 kB / 343.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.3371, allocations: 104.9 kB / 343.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.3372, allocations: 75.28 kB / 343.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.3373, allocations: 154.6 kB / 343.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.419e-05/0.3374, allocations: 154.6 kB / 343.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.3375, allocations: 154.5 kB / 343.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.3378, allocations: 445.9 kB / 344.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3379, allocations: 173.1 kB / 344.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.338, allocations: 80.14 kB / 344.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.3381, allocations: 79.28 kB / 344.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.3381, allocations: 105.9 kB / 344.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.753e-06/0.3381, allocations: 0 / 344.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 9.075e-05/0.3382, allocations: 37.59 kB / 344.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.3383, allocations: 130.7 kB / 344.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3385, allocations: 101 kB / 344.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3385, allocations: 29.64 kB / 345 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.3386, allocations: 150.6 kB / 345.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-06/0.3386, allocations: 0 / 345.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-07/0.3386, allocations: 0 / 345.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3388, allocations: 310.8 kB / 345.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-06/0.3388, allocations: 0 / 345.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-06/0.3388, allocations: 4 kB / 345.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.3388, allocations: 79.28 kB / 345.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-05/0.3389, allocations: 75.28 kB / 345.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.665e-05/0.339, allocations: 29.64 kB / 345.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.339, allocations: 83.28 kB / 345.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/0.3391, allocations: 79.28 kB / 345.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.812e-05/0.3392, allocations: 158.5 kB / 345.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.3392, allocations: 83.23 kB / 346 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-05/0.3393, allocations: 154.5 kB / 346.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3394, allocations: 83.22 kB / 346.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.3395, allocations: 75.28 kB / 346.3 MB, free: 10.39 MB / 298.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 (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.0001405/0.3397, allocations: 251.5 kB / 346.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.3398, allocations: 112.9 kB / 346.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.3399, allocations: 112.1 kB / 346.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.843e-05/0.34, allocations: 177.8 kB / 346.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/0.3401, allocations: 184.2 kB / 347.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.982e-05/0.3402, allocations: 180.3 kB / 347.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.3405, allocations: 405.2 kB / 347.7 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.375e-05/0.3406, allocations: 105.2 kB / 347.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.3406, allocations: 109 kB / 347.9 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.841e-05/0.3407, allocations: 180.2 kB / 348.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.3408, allocations: 188.2 kB / 348.3 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.942e-05/0.3409, allocations: 184.2 kB / 348.4 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.79e-05/0.341, allocations: 180.3 kB / 348.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.3412, allocations: 307.7 kB / 348.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3414, allocations: 190.4 kB / 349.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3415, allocations: 180.2 kB / 349.3 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3416, allocations: 105 kB / 349.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.3417, allocations: 184.2 kB / 349.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.3418, allocations: 109 kB / 349.7 MB, free: 6.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.3419, allocations: 83.28 kB / 349.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.3419, allocations: 0 / 349.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007631/0.3427, allocations: 147.8 kB / 349.9 MB, free: 6.574 MB / 298.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 (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.001269/0.3439, allocations: 0.5577 MB / 350.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.262e-05/0.344, allocations: 4 kB / 350.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.019e-06/0.344, allocations: 0 / 350.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.768e-06/0.344, allocations: 0 / 350.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.3444, allocations: 0.5224 MB / 351 MB, free: 5.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.3447, allocations: 153.9 kB / 351.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.345, allocations: 0.677 MB / 351.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.345, allocations: 11.44 kB / 351.8 MB, free: 4.633 MB / 298.7 MB Notification: Performance of SimCode: time 1.524e-06/0.3451, allocations: 0 / 351.8 MB, free: 4.633 MB / 298.7 MB Notification: Performance of Templates: time 0.006761/0.3518, allocations: 3.065 MB / 354.9 MB, free: 1.562 MB / 298.7 MB