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.RollingWheelSetPulling.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.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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling): time 0.3632/0.4824, allocations: 74.81 MB / 383.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04156/0.524, allocations: 17.84 MB / 401.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01614/0.5402, allocations: 372.6 kB / 402.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.5525, allocations: 3.894 MB / 406 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03664/0.5891, allocations: 10.54 MB / 416.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006586/0.5958, allocations: 1.242 MB / 417.8 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008036/0.6039, allocations: 3.74 MB / 421.5 MB, free: 392 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01595/0.6199, allocations: 8.215 MB / 429.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.6235, allocations: 1.652 MB / 431.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00465/0.6281, allocations: 2.318 MB / 433.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.6292, allocations: 244 kB / 433.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.6324, allocations: 0.9481 MB / 434.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003518/0.6359, allocations: 2.451 MB / 437.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.638, allocations: 1.318 MB / 438.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.652, allocations: 9.602 MB / 448.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.652, allocations: 0 / 448.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.652, allocations: 0 / 448.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002886/0.6523, allocations: 4 kB / 448.2 MB, free: 10.49 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.02338/0.6757, allocations: 6.728 MB / 455 MB, free: 3.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6758, allocations: 8.031 kB / 455 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.6936, allocations: 2.662 MB / 457.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.7079, allocations: 4.97 MB / 462.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004314/0.7084, allocations: 386.1 kB / 463 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/0.7105, allocations: 0.512 MB / 463.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06235/0.7728, allocations: 15.59 MB / 479.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000412/0.7733, allocations: 63.38 kB / 479.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002214/0.7755, allocations: 244.4 kB / 479.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009605/0.7852, allocations: 2.457 MB / 481.8 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05422/0.8394, allocations: 13.36 MB / 495.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3774/1.217, allocations: 61.89 MB / 0.544 GB, free: 121.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03141/1.248, allocations: 7.322 MB / 0.5512 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/1.25, allocations: 1.294 MB / 0.5524 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02731/1.278, allocations: 5.384 MB / 0.5577 GB, free: 118.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 7.274e-06/1.278, allocations: 0 / 0.5577 GB, free: 118.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.3047/1.582, allocations: 50.27 MB / 0.6068 GB, free: 76.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.582, allocations: 170.9 kB / 0.607 GB, free: 76.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/1.596, allocations: 5.817 MB / 0.6126 GB, free: 70.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.597, allocations: 90.95 kB / 0.6127 GB, free: 70.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.601, allocations: 4.233 MB / 0.6169 GB, free: 66.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002146/1.603, allocations: 1.446 MB / 0.6183 GB, free: 65.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008482/1.604, allocations: 172 kB / 0.6184 GB, free: 65.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004397/1.604, allocations: 0.6735 MB / 0.6191 GB, free: 64.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009421/1.614, allocations: 4.421 MB / 0.6234 GB, free: 59.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/1.626, allocations: 8.874 MB / 0.6321 GB, free: 48.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/1.639, allocations: 6.258 MB / 0.6382 GB, free: 42.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.259e-05/1.639, allocations: 44 kB / 0.6382 GB, free: 42.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.05177/1.691, allocations: 17.86 MB / 0.6557 GB, free: 24.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/1.691, allocations: 109.3 kB / 0.6558 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.691, allocations: 156 kB / 0.6559 GB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02426/1.715, allocations: 5.417 MB / 0.6612 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.726, allocations: 1.847 MB / 0.663 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3703/2.096, allocations: 33.85 MB / 0.6961 GB, free: 149.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.106, allocations: 0.5629 MB / 0.6966 GB, free: 149.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/2.108, allocations: 491.2 kB / 0.6971 GB, free: 149.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (952): * Single equations (assignments): 943 * 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,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00794/2.116, allocations: 3.142 MB / 0.7002 GB, free: 149.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.118, allocations: 0.5115 MB / 0.7007 GB, free: 149.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03972/2.157, allocations: 12.23 MB / 0.7126 GB, free: 145.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.661e-05/2.158, allocations: 25.59 kB / 0.7126 GB, free: 145.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/2.158, allocations: 1.969 kB / 0.7126 GB, free: 145.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/2.162, allocations: 1.347 MB / 0.7139 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/2.164, allocations: 69.55 kB / 0.714 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005018/2.169, allocations: 298.7 kB / 0.7143 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/2.17, allocations: 358.9 kB / 0.7146 GB, free: 145.2 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03945/2.21, allocations: 12.32 MB / 0.7267 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02523/2.235, allocations: 12.98 MB / 0.7393 GB, free: 135.5 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007252/2.242, allocations: 3.782 MB / 0.743 GB, free: 132.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00683/2.249, allocations: 3.73 MB / 0.7467 GB, free: 129.2 MB / 442.7 MB Notification: Performance of Backend: time 8.72e-07/2.249, allocations: 0 / 0.7467 GB, free: 129.2 MB / 442.7 MB [/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. [/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. Notification: Performance of simCode: created initialization part: time 0.02268/2.272, allocations: 8.984 MB / 0.7554 GB, free: 120.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.03153/2.303, allocations: 17.41 MB / 0.7725 GB, free: 103.2 MB / 442.7 MB Notification: Performance of Templates: time 0.5102/2.814, allocations: 93.05 MB / 0.8633 GB, free: 138.3 MB / 442.7 MB