Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.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.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.589/1.589, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07841, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.3247/0.4032, allocations: 74.76 MB / 347.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05117/0.4544, allocations: 17.84 MB / 365.2 MB, free: 284 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01573/0.4702, allocations: 371.2 kB / 365.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.4843, allocations: 3.889 MB / 369.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03916/0.5235, allocations: 10.54 MB / 380 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006938/0.5305, allocations: 1.26 MB / 381.3 MB, free: 188 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009008/0.5396, allocations: 3.732 MB / 385 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/0.5562, allocations: 8.165 MB / 393.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.5596, allocations: 1.643 MB / 394.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004677/0.5643, allocations: 2.306 MB / 397.1 MB, free: 260 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.5654, allocations: 244 kB / 397.4 MB, free: 16 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.5685, allocations: 0.9481 MB / 398.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003429/0.572, allocations: 2.451 MB / 400.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.5739, allocations: 1.31 MB / 402.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.5883, allocations: 9.597 MB / 411.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5884, allocations: 0 / 411.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.5884, allocations: 0 / 411.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003045/0.5887, allocations: 0 / 411.7 MB, free: 1.668 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02338/0.6121, allocations: 6.686 MB / 418.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6122, allocations: 8.031 kB / 418.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.6298, allocations: 2.667 MB / 421 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.6443, allocations: 4.948 MB / 426 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/0.6448, allocations: 390 kB / 426.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.6468, allocations: 0.5114 MB / 426.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0431/0.6899, allocations: 15.58 MB / 442.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.6903, allocations: 67.36 kB / 442.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001116/0.6914, allocations: 239.8 kB / 442.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2284/0.9198, allocations: 2.443 MB / 445.2 MB, free: 124.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04135/0.9612, allocations: 13.35 MB / 458.5 MB, free: 121.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09501/1.056, allocations: 61.87 MB / 0.5082 GB, free: 62.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02973/1.086, allocations: 7.292 MB / 0.5153 GB, free: 55.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/1.088, allocations: 1.289 MB / 0.5166 GB, free: 53.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03134/1.119, allocations: 5.366 MB / 0.5218 GB, free: 48.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 1.065e-05/1.119, allocations: 0 / 0.5218 GB, free: 48.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.276/1.395, allocations: 47.36 MB / 0.5681 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.395, allocations: 171.1 kB / 0.5683 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2752/1.671, allocations: 5.799 MB / 0.5739 GB, free: 113.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001421/1.672, allocations: 87.23 kB / 0.574 GB, free: 113.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006382/1.678, allocations: 4.23 MB / 0.5781 GB, free: 111.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002691/1.681, allocations: 1.43 MB / 0.5795 GB, free: 110.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.682, allocations: 170.5 kB / 0.5797 GB, free: 110 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005534/1.683, allocations: 0.6629 MB / 0.5803 GB, free: 109.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/1.694, allocations: 4.36 MB / 0.5846 GB, free: 107.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/1.707, allocations: 8.804 MB / 0.5932 GB, free: 100.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01862/1.725, allocations: 6.174 MB / 0.5992 GB, free: 97.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.726, allocations: 42.66 kB / 0.5993 GB, free: 97.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.05466/1.78, allocations: 17.71 MB / 0.6166 GB, free: 88.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.78, allocations: 111.9 kB / 0.6167 GB, free: 88.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/1.781, allocations: 155.8 kB / 0.6168 GB, free: 88.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02435/1.805, allocations: 5.397 MB / 0.6221 GB, free: 83.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/1.816, allocations: 1.829 MB / 0.6239 GB, free: 81.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07966/1.896, allocations: 33.98 MB / 0.6571 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.906, allocations: 0.5616 MB / 0.6576 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.907, allocations: 490.8 kB / 0.6581 GB, free: 46.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (944): * Single equations (assignments): 935 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,57.8%) 104,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007028/1.914, allocations: 3.138 MB / 0.6611 GB, free: 43.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.916, allocations: 0.5168 MB / 0.6616 GB, free: 42.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/1.952, allocations: 12.07 MB / 0.6734 GB, free: 30.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/1.952, allocations: 23.92 kB / 0.6734 GB, free: 30.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.952, allocations: 4 kB / 0.6735 GB, free: 30.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004482/1.956, allocations: 1.326 MB / 0.6747 GB, free: 29.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.958, allocations: 64 kB / 0.6748 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004813/1.963, allocations: 303.5 kB / 0.6751 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.964, allocations: 350 kB / 0.6754 GB, free: 28.72 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03896/2.003, allocations: 12.17 MB / 0.6873 GB, free: 16.59 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2615/2.265, allocations: 12.73 MB / 0.6997 GB, free: 97.51 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008454/2.273, allocations: 3.709 MB / 0.7034 GB, free: 97.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008695/2.282, allocations: 3.717 MB / 0.707 GB, free: 97.3 MB / 362.7 MB Notification: Performance of Backend: time 9.92e-07/2.282, allocations: 1.375 kB / 0.707 GB, free: 97.3 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2805:5-2808:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2809:5-2812:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2805:5-2808:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2809:5-2812:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.02403/2.306, allocations: 8.791 MB / 0.7156 GB, free: 93.75 MB / 362.7 MB Notification: Performance of SimCode: time 0.03332/2.339, allocations: 17.34 MB / 0.7325 GB, free: 84.76 MB / 362.7 MB Notification: Performance of Templates: time 0.267/2.606, allocations: 92.1 MB / 0.8225 GB, free: 4.879 MB / 362.7 MB