Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 11.98 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09751, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003712/0.1013, allocations: 1.641 MB / 310.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1027, allocations: 0.5389 MB / 311.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1029, allocations: 7.938 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.759e-05/0.103, allocations: 23.84 kB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1033, allocations: 63.8 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1035, allocations: 35.97 kB / 311.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1039, allocations: 147.7 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1042, allocations: 49.78 kB / 311.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1043, allocations: 67.77 kB / 311.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1045, allocations: 63.7 kB / 311.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.1046, allocations: 8 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.1046, allocations: 8 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1047, allocations: 39.84 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.1048, allocations: 53.64 kB / 311.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1051, allocations: 155.8 kB / 312 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1051, allocations: 0 / 312 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1052, allocations: 0 / 312 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1052, allocations: 0 / 312 MB, free: 13.45 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.0009899/0.1062, allocations: 446.7 kB / 312.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1062, allocations: 8.031 kB / 312.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.1063, allocations: 31.75 kB / 312.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1067, allocations: 212.5 kB / 312.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1068, allocations: 15.94 kB / 312.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.1069, allocations: 16 kB / 312.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.1075, allocations: 153.4 kB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1075, allocations: 0 / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.1076, allocations: 11.94 kB / 312.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1076, allocations: 8 kB / 312.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.1082, allocations: 107.9 kB / 312.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1098, allocations: 0.5927 MB / 313.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.1103, allocations: 114.6 kB / 313.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1104, allocations: 0 / 313.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1104, allocations: 42.56 kB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.1105, allocations: 0 / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.00301/0.1135, allocations: 0.8 MB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1136, allocations: 51.41 kB / 314.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1138, allocations: 166.1 kB / 314.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1139, allocations: 29.7 kB / 314.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.114, allocations: 128.3 kB / 314.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1142, allocations: 75.02 kB / 314.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.1142, allocations: 7.938 kB / 314.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1144, allocations: 326.8 kB / 315.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1147, allocations: 40.36 kB / 315.3 MB, free: 9.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.115, allocations: 80.16 kB / 315.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.1153, allocations: 60.06 kB / 315.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1153, allocations: 0 / 315.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008947/0.1162, allocations: 198.2 kB / 315.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.1162, allocations: 11.95 kB / 315.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1163, allocations: 3.984 kB / 315.6 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.1166, allocations: 44.89 kB / 315.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.117, allocations: 31.92 kB / 315.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.1192, allocations: 1.433 MB / 317.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1195, allocations: 12.02 kB / 317.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1195, allocations: 12 kB / 317.2 MB, free: 7.77 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.0002054/0.1197, allocations: 129.8 kB / 317.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.1198, allocations: 19.77 kB / 317.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.1199, allocations: 21.25 kB / 317.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1199, allocations: 3.984 kB / 317.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.12, allocations: 4 kB / 317.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.12, allocations: 85.02 kB / 317.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1201, allocations: 0 / 317.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.1204, allocations: 8 kB / 317.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.1204, allocations: 15.91 kB / 317.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001174/0.1216, allocations: 289.5 kB / 317.7 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001007/0.1227, allocations: 407.9 kB / 318.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002638/0.123, allocations: 67.89 kB / 318.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1231, allocations: 111.3 kB / 318.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Backend: time 8.82e-07/0.1231, allocations: 0 / 318.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1242, allocations: 296.5 kB / 318.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of SimCode: time 0.001939/0.1262, allocations: 1.06 MB / 319.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of Templates: time 0.008875/0.1351, allocations: 1.733 MB / 321.4 MB, free: 3.43 MB / 266.7 MB