Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07798/0.07835, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002844/0.08125, allocations: 1.648 MB / 274.3 MB, free: 9.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.08242, allocations: 0.5266 MB / 274.8 MB, free: 9.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.08254, allocations: 4 kB / 274.8 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.08262, allocations: 27.72 kB / 274.8 MB, free: 9.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.08284, allocations: 67.84 kB / 274.9 MB, free: 9.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.08305, allocations: 39.89 kB / 274.9 MB, free: 9.215 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.08338, allocations: 147.7 kB / 275.1 MB, free: 9.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.08358, allocations: 57.78 kB / 275.1 MB, free: 9.012 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.0837, allocations: 63.67 kB / 275.2 MB, free: 8.949 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.08386, allocations: 67.7 kB / 275.3 MB, free: 8.883 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.08392, allocations: 11.98 kB / 275.3 MB, free: 8.871 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.08397, allocations: 12 kB / 275.3 MB, free: 8.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.08402, allocations: 23.91 kB / 275.3 MB, free: 8.836 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.0841, allocations: 65.58 kB / 275.4 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.08434, allocations: 147.8 kB / 275.5 MB, free: 8.621 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.08435, allocations: 0 / 275.5 MB, free: 8.621 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.08437, allocations: 0 / 275.5 MB, free: 8.621 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.08438, allocations: 0 / 275.5 MB, free: 8.621 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007684/0.08516, allocations: 446.8 kB / 275.9 MB, free: 8.137 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.08521, allocations: 8.031 kB / 276 MB, free: 8.129 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.08528, allocations: 19.72 kB / 276 MB, free: 8.109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.08558, allocations: 227.8 kB / 276.2 MB, free: 7.848 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.08561, allocations: 12 kB / 276.2 MB, free: 7.836 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.08568, allocations: 20 kB / 276.2 MB, free: 7.816 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.08613, allocations: 157.1 kB / 276.4 MB, free: 7.656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.08617, allocations: 0 / 276.4 MB, free: 7.656 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.08621, allocations: 16 kB / 276.4 MB, free: 7.641 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.08623, allocations: 4 kB / 276.4 MB, free: 7.637 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.08662, allocations: 99.94 kB / 276.5 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.08788, allocations: 0.6002 MB / 277.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.08825, allocations: 114.6 kB / 277.2 MB, free: 6.758 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.08828, allocations: 0 / 277.2 MB, free: 6.758 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.08833, allocations: 46.5 kB / 277.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.08834, allocations: 0 / 277.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.00218/0.09053, allocations: 0.8093 MB / 278.1 MB, free: 5.801 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.09058, allocations: 51.41 kB / 278.1 MB, free: 5.738 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.09078, allocations: 154.2 kB / 278.3 MB, free: 5.578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.09082, allocations: 29.7 kB / 278.3 MB, free: 5.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.09093, allocations: 128.2 kB / 278.4 MB, free: 5.414 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.09101, allocations: 71.03 kB / 278.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.09104, allocations: 4 kB / 278.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.09121, allocations: 326.8 kB / 278.8 MB, free: 5.012 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.0914, allocations: 44.36 kB / 278.9 MB, free: 4.969 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.09162, allocations: 84.08 kB / 278.9 MB, free: 4.875 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.09183, allocations: 52 kB / 279 MB, free: 4.824 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.09185, allocations: 0 / 279 MB, free: 4.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006311/0.09249, allocations: 206.1 kB / 279.2 MB, free: 4.613 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.09253, allocations: 8 kB / 279.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.09254, allocations: 4.109 kB / 279.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.09279, allocations: 40.83 kB / 279.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.09307, allocations: 31.97 kB / 279.3 MB, free: 4.527 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.09476, allocations: 1.433 MB / 280.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.09491, allocations: 8.031 kB / 280.7 MB, free: 2.957 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.09495, allocations: 8 kB / 280.7 MB, free: 2.949 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.09512, allocations: 137.7 kB / 280.9 MB, free: 2.805 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.09519, allocations: 15.81 kB / 280.9 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.09527, allocations: 25.23 kB / 280.9 MB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.09529, allocations: 384 / 280.9 MB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.0953, allocations: 7.953 kB / 280.9 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.09537, allocations: 84.92 kB / 281 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.09542, allocations: 12 kB / 281 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.09559, allocations: 7.984 kB / 281 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.09566, allocations: 11.98 kB / 281 MB, free: 2.625 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008825/0.09655, allocations: 293.5 kB / 281.3 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007214/0.09729, allocations: 408.9 kB / 281.7 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001836/0.09749, allocations: 55.97 kB / 281.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.09763, allocations: 120.1 kB / 281.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of Backend: time 7.32e-07/0.09764, allocations: 0 / 281.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.09844, allocations: 300.8 kB / 282.2 MB, free: 1.43 MB / 234.7 MB Notification: Performance of SimCode: time 0.001541/0.09999, allocations: 1.056 MB / 283.2 MB, free: 328 kB / 234.7 MB Notification: Performance of Templates: time 0.006865/0.1069, allocations: 1.734 MB / 285 MB, free: 14.59 MB / 250.7 MB