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.981/1.981, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08289, allocations: 44.5 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3243/0.4073, allocations: 73.23 MB / 381.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4075, allocations: 65.69 kB / 381.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.4185, allocations: 3.035 MB / 384.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4186, allocations: 0 / 384.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.4186, allocations: 3 kB / 384.8 MB, free: 18.31 MB / 314.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.0005406/0.4192, allocations: 441.9 kB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4192, allocations: 9.625 kB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.4193, allocations: 20.17 kB / 385.2 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4195, allocations: 219.5 kB / 385.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4196, allocations: 20.34 kB / 385.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.4196, allocations: 14.88 kB / 385.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.42, allocations: 154.4 kB / 385.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.42, allocations: 5.281 kB / 385.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.4201, allocations: 5 kB / 385.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4201, allocations: 4.125 kB / 385.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.4204, allocations: 103 kB / 385.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.4214, allocations: 0.594 MB / 386.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.4217, allocations: 117.2 kB / 386.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4217, allocations: 5.281 kB / 386.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4218, allocations: 35.97 kB / 386.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.75e-06/0.4218, allocations: 0 / 386.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.00182/0.4236, allocations: 0.8151 MB / 387.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.4237, allocations: 53 kB / 387.4 MB, free: 16.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4238, allocations: 143.1 kB / 387.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.4238, allocations: 30.8 kB / 387.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.4239, allocations: 195 kB / 387.7 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.424, allocations: 62.7 kB / 387.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.424, allocations: 8.969 kB / 387.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.4241, allocations: 323.7 kB / 388.1 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.4242, allocations: 46.47 kB / 388.2 MB, free: 16.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.4244, allocations: 74.47 kB / 388.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4245, allocations: 52.36 kB / 388.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-06/0.4246, allocations: 4 kB / 388.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005012/0.4251, allocations: 200.5 kB / 388.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4251, allocations: 4.469 kB / 388.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.558e-06/0.4251, allocations: 1.406 kB / 388.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.4253, allocations: 38.27 kB / 388.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.4256, allocations: 42.98 kB / 388.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.4268, allocations: 1.439 MB / 390 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.4269, allocations: 7.031 kB / 390 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.427, allocations: 7.297 kB / 390 MB, free: 14.63 MB / 314.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.0001459/0.4271, allocations: 128.6 kB / 390.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.4272, allocations: 15.81 kB / 390.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4273, allocations: 21.36 kB / 390.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4273, allocations: 1.5 kB / 390.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-06/0.4273, allocations: 5.359 kB / 390.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4273, allocations: 4.062 kB / 390.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.4283, allocations: 0.5836 MB / 390.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-06/0.4283, allocations: 1.344 kB / 390.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.4285, allocations: 33.56 kB / 390.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.4287, allocations: 39.31 kB / 390.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.4287, allocations: 6.031 kB / 390.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.4298, allocations: 1.377 MB / 392.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-06/0.4299, allocations: 3.938 kB / 392.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.4306, allocations: 345.6 kB / 392.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.4306, allocations: 92.36 kB / 392.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.4307, allocations: 3.953 kB / 392.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4308, allocations: 8.281 kB / 392.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.4309, allocations: 22.28 kB / 392.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4309, allocations: 3.219 kB / 392.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.431, allocations: 117 kB / 392.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4311, allocations: 0 / 392.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00044/0.4315, allocations: 50.06 kB / 392.9 MB, free: 12.5 MB / 314.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.0001337/0.4317, allocations: 100.6 kB / 393 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.4323, allocations: 254.9 kB / 393.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.603e-06/0.4323, allocations: 128 / 393.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.4326, allocations: 197.2 kB / 393.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.433, allocations: 22.17 kB / 393.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.434, allocations: 0.6276 MB / 394.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4342, allocations: 0.7296 MB / 394.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.4343, allocations: 23.22 kB / 394.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.838e-06/0.4343, allocations: 0 / 394.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of Templates: time 0.004991/0.4393, allocations: 2.751 MB / 397.6 MB, free: 10.88 MB / 314.7 MB