Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4769, allocations: 67.58 MB / 340.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4772, allocations: 72.7 kB / 340.3 MB, free: 5.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.5058, allocations: 7.221 MB / 347.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5059, allocations: 0 / 347.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.5059, allocations: 0 / 347.5 MB, free: 15.89 MB / 282.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.0005877/0.5065, allocations: 421.7 kB / 347.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5065, allocations: 12.03 kB / 347.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.5066, allocations: 75.28 kB / 348 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.5068, allocations: 246 kB / 348.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.5068, allocations: 152 kB / 348.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.5069, allocations: 154.6 kB / 348.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.507, allocations: 104.9 kB / 348.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.5071, allocations: 75.28 kB / 348.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.5071, allocations: 150.6 kB / 348.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.5072, allocations: 150.6 kB / 349 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.5073, allocations: 162.5 kB / 349.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.5078, allocations: 445.7 kB / 349.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.5079, allocations: 165.1 kB / 349.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.5079, allocations: 78.41 kB / 349.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.508, allocations: 113.8 kB / 349.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.508, allocations: 0 / 349.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.915e-05/0.5081, allocations: 33.59 kB / 350 MB, free: 13.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.5082, allocations: 126.7 kB / 350.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5083, allocations: 105 kB / 350.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5083, allocations: 25.7 kB / 350.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.5084, allocations: 80.14 kB / 350.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.5084, allocations: 0 / 350.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-07/0.5084, allocations: 4 kB / 350.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5085, allocations: 318.6 kB / 350.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-06/0.5086, allocations: 0 / 350.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-06/0.5086, allocations: 4 kB / 350.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.5086, allocations: 75.28 kB / 350.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/0.5087, allocations: 75.28 kB / 350.8 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.919e-05/0.5088, allocations: 37.53 kB / 350.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.5088, allocations: 87.22 kB / 350.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.5089, allocations: 79.28 kB / 351 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.58e-05/0.5089, allocations: 158.6 kB / 351.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.509, allocations: 75.28 kB / 351.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.506e-05/0.5091, allocations: 161.8 kB / 351.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.5092, allocations: 79.22 kB / 351.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.5092, allocations: 83.27 kB / 351.5 MB, free: 11.65 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.0001369/0.5094, allocations: 268.4 kB / 351.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.5094, allocations: 104.9 kB / 351.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.5095, allocations: 108 kB / 352 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.5096, allocations: 180.2 kB / 352.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.961e-05/0.5097, allocations: 184.2 kB / 352.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.849e-05/0.5098, allocations: 184.2 kB / 352.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.5101, allocations: 409 kB / 352.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.5101, allocations: 101 kB / 353 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.5102, allocations: 105 kB / 353.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.901e-05/0.5103, allocations: 184.2 kB / 353.3 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.5104, allocations: 180.3 kB / 353.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.642e-05/0.5105, allocations: 187.8 kB / 353.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.5106, allocations: 180.2 kB / 353.8 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.5108, allocations: 307.5 kB / 354.1 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5109, allocations: 178.1 kB / 354.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.511, allocations: 192.6 kB / 354.5 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.5111, allocations: 101 kB / 354.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.5112, allocations: 180.2 kB / 354.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.5113, allocations: 105 kB / 354.9 MB, free: 8.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.333e-05/0.5113, allocations: 86.33 kB / 354.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5113, allocations: 4 kB / 355 MB, free: 7.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008341/0.5122, allocations: 142 kB / 355.1 MB, free: 7.859 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.001418/0.5136, allocations: 0.5682 MB / 355.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.051e-05/0.5137, allocations: 0 / 355.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5137, allocations: 0 / 355.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.5137, allocations: 3.938 kB / 355.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.5141, allocations: 0.5258 MB / 356.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.5144, allocations: 184.3 kB / 356.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5147, allocations: 0.677 MB / 357 MB, free: 5.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.5148, allocations: 4 kB / 357 MB, free: 5.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.5148, allocations: 7.438 kB / 357.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5148, allocations: 4 kB / 357.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Templates: time 0.008431/0.5232, allocations: 2.578 MB / 359.6 MB, free: 3.32 MB / 282.7 MB