Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08242/0.0828, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002505/0.08535, allocations: 1.641 MB / 310 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.08646, allocations: 0.5389 MB / 310.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.08662, allocations: 4 kB / 310.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.575e-05/0.0867, allocations: 27.77 kB / 310.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.0869, allocations: 59.86 kB / 310.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.0871, allocations: 47.89 kB / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.08737, allocations: 135.8 kB / 310.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.08756, allocations: 53.77 kB / 310.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.08768, allocations: 59.73 kB / 310.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.08785, allocations: 75.67 kB / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.08789, allocations: 8 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.08794, allocations: 8 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.08799, allocations: 27.92 kB / 311 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.08807, allocations: 57.58 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.08832, allocations: 155.8 kB / 311.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.968e-06/0.08833, allocations: 0 / 311.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.393e-06/0.08835, allocations: 0 / 311.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.827e-06/0.08836, allocations: 0 / 311.2 MB, free: 14.11 MB / 266.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.000727/0.0891, allocations: 450.7 kB / 311.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.08915, allocations: 8.031 kB / 311.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.08923, allocations: 31.75 kB / 311.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.08953, allocations: 210.8 kB / 311.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.08957, allocations: 8 kB / 311.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.08963, allocations: 23.98 kB / 312 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.09006, allocations: 149.4 kB / 312.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.09011, allocations: 3.938 kB / 312.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.09015, allocations: 8 kB / 312.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.09017, allocations: 4 kB / 312.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.09053, allocations: 107.9 kB / 312.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.09175, allocations: 0.6043 MB / 312.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.0921, allocations: 114.6 kB / 312.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.09214, allocations: 0 / 312.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.09218, allocations: 34.5 kB / 313 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.275e-06/0.0922, allocations: 0 / 313 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.002081/0.09429, allocations: 0.8119 MB / 313.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.09437, allocations: 55.41 kB / 313.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.09459, allocations: 162.1 kB / 314 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.09464, allocations: 29.7 kB / 314 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.09478, allocations: 186.8 kB / 314.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.09486, allocations: 59.11 kB / 314.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.09489, allocations: 4 kB / 314.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.09507, allocations: 330.8 kB / 314.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.09524, allocations: 44.34 kB / 314.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.09544, allocations: 87.28 kB / 314.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.09563, allocations: 55.94 kB / 314.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-06/0.09565, allocations: 0 / 314.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005783/0.09624, allocations: 198.2 kB / 315 MB, free: 10.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.09628, allocations: 8 kB / 315 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-06/0.09629, allocations: 0 / 315 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.09652, allocations: 40.91 kB / 315 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.09673, allocations: 31.97 kB / 315.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.0985, allocations: 1.437 MB / 316.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.09864, allocations: 8.031 kB / 316.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.09868, allocations: 12 kB / 316.5 MB, free: 8.387 MB / 266.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.0001712/0.09886, allocations: 129.8 kB / 316.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.09893, allocations: 19.77 kB / 316.7 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.099, allocations: 21.17 kB / 316.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.97e-06/0.09902, allocations: 4 kB / 316.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.09904, allocations: 4.062 kB / 316.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-06/0.09905, allocations: 0 / 316.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.1002, allocations: 0.589 MB / 317.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-06/0.1003, allocations: 4 kB / 317.3 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.1005, allocations: 27.98 kB / 317.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.1007, allocations: 32.83 kB / 317.3 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1007, allocations: 4 kB / 317.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.1023, allocations: 1.39 MB / 318.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1023, allocations: 4 kB / 318.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.103, allocations: 345.2 kB / 319.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1031, allocations: 88.98 kB / 319.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1032, allocations: 4 kB / 319.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1033, allocations: 4 kB / 319.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.1034, allocations: 23.88 kB / 319.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1034, allocations: 4 kB / 319.2 MB, free: 5.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1036, allocations: 119.2 kB / 319.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.1036, allocations: 8 kB / 319.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.104, allocations: 48 kB / 319.4 MB, free: 5.281 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.1042, allocations: 103.2 kB / 319.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.1049, allocations: 254.3 kB / 319.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.249e-06/0.1049, allocations: 4 kB / 319.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.1053, allocations: 194.5 kB / 319.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1056, allocations: 19.95 kB / 319.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1069, allocations: 0.619 MB / 320.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1074, allocations: 0.7362 MB / 321.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.1075, allocations: 19.44 kB / 321.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of SimCode: time 2.021e-06/0.1075, allocations: 0 / 321.3 MB, free: 3.254 MB / 266.7 MB Notification: Performance of Templates: time 0.005944/0.1134, allocations: 2.756 MB / 324.1 MB, free: 0.4922 MB / 266.7 MB