Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.MultiBody.Examples.Elementary.RollingWheelSetDriving,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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 15.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08634, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.3683/0.4547, allocations: 65.36 MB / 374.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0371/0.4919, allocations: 15.62 MB / 390 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01426/0.5062, allocations: 329.4 kB / 390.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.5174, allocations: 3.322 MB / 393.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03383/0.5512, allocations: 9.195 MB / 402.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.5575, allocations: 1.119 MB / 404 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008541/0.5661, allocations: 3.628 MB / 407.6 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.5799, allocations: 7.428 MB / 415.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003743/0.5837, allocations: 1.586 MB / 416.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005063/0.5888, allocations: 2.241 MB / 418.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.5903, allocations: 235 kB / 419.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.594, allocations: 0.9196 MB / 420 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004116/0.5981, allocations: 2.323 MB / 422.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.6004, allocations: 1.263 MB / 423.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.6143, allocations: 9.147 MB / 432.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.6144, allocations: 0 / 432.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6144, allocations: 0 / 432.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003208/0.6147, allocations: 0 / 432.8 MB, free: 4.195 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: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02349/0.6382, allocations: 6.405 MB / 439.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6383, allocations: 12.03 kB / 439.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/0.6562, allocations: 2.632 MB / 441.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.6701, allocations: 4.819 MB / 446.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/0.6705, allocations: 367.8 kB / 447 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/0.6724, allocations: 486.5 kB / 447.5 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04126/0.7137, allocations: 15 MB / 462.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/0.714, allocations: 63.38 kB / 462.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/0.7152, allocations: 233.6 kB / 462.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005873/0.7211, allocations: 2.409 MB / 465.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/0.7634, allocations: 12.95 MB / 478.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.374/1.137, allocations: 59.54 MB / 0.5251 GB, free: 143.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/1.169, allocations: 7.041 MB / 0.5319 GB, free: 142.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/1.171, allocations: 1.286 MB / 0.5332 GB, free: 141.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/1.171, allocations: 64.5 kB / 0.5333 GB, free: 141.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 7.955e-06/1.171, allocations: 0 / 0.5333 GB, free: 141.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.263/1.434, allocations: 46.52 MB / 0.5787 GB, free: 114.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.434, allocations: 167 kB / 0.5788 GB, free: 114.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008837/1.443, allocations: 5.495 MB / 0.5842 GB, free: 109.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.444, allocations: 82.41 kB / 0.5843 GB, free: 109.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002727/1.447, allocations: 3.939 MB / 0.5881 GB, free: 105.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/1.449, allocations: 1.374 MB / 0.5895 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008054/1.45, allocations: 160 kB / 0.5896 GB, free: 103.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004113/1.45, allocations: 0.6451 MB / 0.5903 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/1.463, allocations: 4.236 MB / 0.5944 GB, free: 98.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0184/1.481, allocations: 8.447 MB / 0.6026 GB, free: 88.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/1.5, allocations: 5.948 MB / 0.6085 GB, free: 82.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.423e-05/1.5, allocations: 40 kB / 0.6085 GB, free: 82.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.05031/1.551, allocations: 17.19 MB / 0.6253 GB, free: 65.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.551, allocations: 73.64 kB / 0.6254 GB, free: 65.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/1.551, allocations: 147.9 kB / 0.6255 GB, free: 64.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/1.575, allocations: 5.362 MB / 0.6307 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/1.585, allocations: 1.747 MB / 0.6324 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0715/1.657, allocations: 33.81 MB / 0.6655 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009447/1.666, allocations: 0.5426 MB / 0.666 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.668, allocations: 464.9 kB / 0.6664 GB, free: 22.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 668 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 888 * Array equations: 3 * Algorithm blocks: 0 * 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%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006439/1.674, allocations: 2.986 MB / 0.6693 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.675, allocations: 0.4898 MB / 0.6698 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3027/1.978, allocations: 11.9 MB / 0.6814 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.644e-05/1.978, allocations: 25.23 kB / 0.6815 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.978, allocations: 3.953 kB / 0.6815 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0047/1.983, allocations: 1.295 MB / 0.6827 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/1.985, allocations: 62.5 kB / 0.6828 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005849/1.991, allocations: 293.5 kB / 0.6831 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/1.993, allocations: 344.9 kB / 0.6834 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04085/2.033, allocations: 11.94 MB / 0.6951 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02678/2.06, allocations: 12.5 MB / 0.7073 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007527/2.068, allocations: 3.648 MB / 0.7108 GB, free: 127.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007362/2.075, allocations: 3.532 MB / 0.7143 GB, free: 125.3 MB / 426.7 MB Notification: Performance of Backend: time 2.224e-06/2.075, allocations: 0 / 0.7143 GB, free: 125.3 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2778:5-2781: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.2/Mechanics/MultiBody/Parts.mo:2782:5-2785: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.2/Mechanics/MultiBody/Parts.mo:2778:5-2781: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.2/Mechanics/MultiBody/Parts.mo:2782:5-2785: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.02161/2.097, allocations: 8.239 MB / 0.7223 GB, free: 117.9 MB / 426.7 MB Notification: Performance of SimCode: time 0.03098/2.128, allocations: 16.65 MB / 0.7386 GB, free: 101.4 MB / 426.7 MB Notification: Performance of Templates: time 0.4687/2.597, allocations: 89.12 MB / 0.8256 GB, free: 138.2 MB / 426.7 MB