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.627/1.627, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003541, allocations: 11.98 kB / 233.1 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06744/0.06781, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001301/0.06915, allocations: 0.8946 MB / 272.8 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.07228, allocations: 1.742 MB / 274.6 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.123e-05/0.07233, allocations: 0 / 274.6 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.07236, allocations: 3.938 kB / 274.6 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.0734, allocations: 295.2 kB / 274.8 MB, free: 9.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.969e-06/0.07342, allocations: 0 / 274.8 MB, free: 9.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 3.02e-05/0.07346, allocations: 3.984 kB / 274.8 MB, free: 9.246 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.07351, allocations: 4 kB / 274.9 MB, free: 9.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.07353, allocations: 3.938 kB / 274.9 MB, free: 9.238 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.07365, allocations: 11.98 kB / 274.9 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-06/0.07367, allocations: 0 / 274.9 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.07438, allocations: 347.6 kB / 275.2 MB, free: 8.887 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.07441, allocations: 3.938 kB / 275.2 MB, free: 8.883 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.07445, allocations: 25.7 kB / 275.2 MB, free: 8.852 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.07489, allocations: 219.6 kB / 275.4 MB, free: 8.637 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.262e-06/0.07491, allocations: 0 / 275.4 MB, free: 8.637 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.848e-06/0.07492, allocations: 0 / 275.4 MB, free: 8.637 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.717e-06/0.07493, allocations: 0 / 275.4 MB, free: 8.637 MB / 234.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.0004586/0.0754, allocations: 395.2 kB / 275.8 MB, free: 8.203 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.07545, allocations: 8.031 kB / 275.8 MB, free: 8.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.07552, allocations: 79.28 kB / 275.9 MB, free: 8.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.07574, allocations: 250.3 kB / 276.2 MB, free: 7.832 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-05/0.07584, allocations: 154.5 kB / 276.3 MB, free: 7.68 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.07592, allocations: 150.6 kB / 276.5 MB, free: 7.531 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/0.07601, allocations: 101 kB / 276.6 MB, free: 7.426 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.07607, allocations: 83.22 kB / 276.6 MB, free: 7.344 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.07616, allocations: 154.6 kB / 276.8 MB, free: 7.191 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.07624, allocations: 150.6 kB / 276.9 MB, free: 7.043 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.07633, allocations: 154.6 kB / 277.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.07671, allocations: 445.9 kB / 277.5 MB, free: 6.406 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.07683, allocations: 177.1 kB / 277.7 MB, free: 6.223 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.07688, allocations: 83.17 kB / 277.8 MB, free: 6.141 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.07696, allocations: 105.8 kB / 277.9 MB, free: 6.027 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 2.076e-06/0.07697, allocations: 0 / 277.9 MB, free: 6.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 8.904e-05/0.07707, allocations: 33.75 kB / 277.9 MB, free: 5.988 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.07716, allocations: 126.7 kB / 278 MB, free: 5.852 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.07728, allocations: 101.8 kB / 278.1 MB, free: 5.742 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.07731, allocations: 29.7 kB / 278.2 MB, free: 5.707 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.0774, allocations: 150.6 kB / 278.3 MB, free: 5.559 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-06/0.07741, allocations: 0 / 278.3 MB, free: 5.559 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-07/0.07742, allocations: 4 kB / 278.3 MB, free: 5.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.07759, allocations: 310.8 kB / 278.6 MB, free: 5.242 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-06/0.0776, allocations: 0 / 278.6 MB, free: 5.242 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-06/0.07762, allocations: 3.938 kB / 278.6 MB, free: 5.238 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.07767, allocations: 75.28 kB / 278.7 MB, free: 5.164 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-05/0.07772, allocations: 79.28 kB / 278.8 MB, free: 5.086 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.203e-05/0.07781, allocations: 37.7 kB / 278.8 MB, free: 5.043 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.07788, allocations: 83.23 kB / 278.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/0.07794, allocations: 83.3 kB / 279 MB, free: 4.879 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.8e-05/0.07804, allocations: 154.5 kB / 279.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.07809, allocations: 79.28 kB / 279.2 MB, free: 4.648 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.631e-05/0.07818, allocations: 154.5 kB / 279.4 MB, free: 4.496 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.07829, allocations: 79.28 kB / 279.4 MB, free: 4.418 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.07834, allocations: 75.28 kB / 279.5 MB, free: 4.344 MB / 234.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.0001718/0.07852, allocations: 272.3 kB / 279.8 MB, free: 4.066 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.07862, allocations: 101 kB / 279.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.07869, allocations: 108.1 kB / 280 MB, free: 3.848 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.492e-05/0.0788, allocations: 188.2 kB / 280.2 MB, free: 3.656 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.054e-05/0.0789, allocations: 176.3 kB / 280.3 MB, free: 3.477 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.395e-05/0.07901, allocations: 184.2 kB / 280.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.07932, allocations: 401.2 kB / 280.9 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.462e-05/0.07939, allocations: 105 kB / 281 MB, free: 2.73 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.07946, allocations: 108.9 kB / 281.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-05/0.07956, allocations: 180.3 kB / 281.3 MB, free: 2.434 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.07967, allocations: 192.2 kB / 281.5 MB, free: 2.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.454e-05/0.07977, allocations: 180.2 kB / 281.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.682e-05/0.07987, allocations: 180.2 kB / 281.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.08007, allocations: 315.7 kB / 282.1 MB, free: 1.539 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.0802, allocations: 186 kB / 282.3 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.08031, allocations: 180.2 kB / 282.5 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.08043, allocations: 101 kB / 282.6 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.08054, allocations: 184.2 kB / 282.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.08061, allocations: 105 kB / 282.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.526e-05/0.08069, allocations: 95.44 kB / 283 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.08071, allocations: 0 / 283 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006219/0.08134, allocations: 116 kB / 283.1 MB, free: 0.5391 MB / 234.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.001214/0.08257, allocations: 0.5341 MB / 283.6 MB, free: 52 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 3.804e-05/0.08262, allocations: 3.938 kB / 283.6 MB, free: 48 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.392e-06/0.08264, allocations: 0 / 283.6 MB, free: 48 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-06/0.08265, allocations: 4 kB / 283.6 MB, free: 44 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.08307, allocations: 0.5185 MB / 284.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.0834, allocations: 205.6 kB / 284.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.08376, allocations: 0.6809 MB / 285 MB, free: 14.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.0838, allocations: 15.44 kB / 285 MB, free: 14.56 MB / 250.7 MB Notification: Performance of SimCode: time 5.141e-06/0.08381, allocations: 0 / 285 MB, free: 14.56 MB / 250.7 MB Notification: Performance of Templates: time 0.006833/0.09066, allocations: 3.07 MB / 288.1 MB, free: 11.49 MB / 250.7 MB