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.844/1.844, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005459, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5306, allocations: 91.76 MB / 364.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5309, allocations: 94.58 kB / 364.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7784/1.309, allocations: 124.1 MB / 488.6 MB, free: 69.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.766e-06/1.309, allocations: 0 / 488.6 MB, free: 69.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005517/1.31, allocations: 130.6 kB / 488.7 MB, free: 69.85 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: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.0287/1.339, allocations: 6.795 MB / 495.5 MB, free: 65.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.339, allocations: 11.72 kB / 495.5 MB, free: 65.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/1.361, allocations: 2.815 MB / 498.3 MB, free: 64.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02601/1.387, allocations: 7.808 MB / 0.4943 GB, free: 56.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006085/1.388, allocations: 482.7 kB / 0.4947 GB, free: 56.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/1.391, allocations: 0.6307 MB / 0.4953 GB, free: 55.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0506/1.442, allocations: 16.34 MB / 0.5113 GB, free: 37.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005165/1.443, allocations: 87.17 kB / 0.5114 GB, free: 37.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003353/1.446, allocations: 304.6 kB / 0.5117 GB, free: 37.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/1.45, allocations: 1.512 MB / 0.5132 GB, free: 36.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04471/1.494, allocations: 13.87 MB / 0.5267 GB, free: 22.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4495/1.944, allocations: 73.45 MB / 0.5984 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03342/1.977, allocations: 7.579 MB / 0.6058 GB, free: 31.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/1.98, allocations: 1.283 MB / 0.6071 GB, free: 30.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02981/2.009, allocations: 5.649 MB / 0.6126 GB, free: 29.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 9.979e-06/2.009, allocations: 2.844 kB / 0.6126 GB, free: 29.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.2976/2.307, allocations: 50.21 MB / 0.6616 GB, free: 16.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/2.307, allocations: 177.9 kB / 0.6618 GB, free: 16.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.017/2.324, allocations: 5.479 MB / 0.6672 GB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001535/2.326, allocations: 90.41 kB / 0.6672 GB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006303/2.332, allocations: 4.223 MB / 0.6714 GB, free: 7.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003282/2.335, allocations: 1.426 MB / 0.6728 GB, free: 6.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00191/2.337, allocations: 165.2 kB / 0.6729 GB, free: 6.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008726/2.338, allocations: 0.6695 MB / 0.6736 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01548/2.354, allocations: 4.639 MB / 0.6781 GB, free: 1.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02367/2.378, allocations: 9.113 MB / 0.687 GB, free: 5.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/2.397, allocations: 6.462 MB / 0.6933 GB, free: 15.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/2.397, allocations: 44 kB / 0.6934 GB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.3888/2.786, allocations: 19.53 MB / 0.7124 GB, free: 93.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/2.786, allocations: 105 kB / 0.7125 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/2.786, allocations: 157 kB / 0.7127 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03571/2.822, allocations: 6.649 MB / 0.7192 GB, free: 93.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/2.834, allocations: 1.84 MB / 0.721 GB, free: 93.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09097/2.926, allocations: 37.42 MB / 0.7575 GB, free: 83.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.937, allocations: 0.5847 MB / 0.7581 GB, free: 83.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/2.94, allocations: 490.9 kB / 0.7585 GB, free: 83.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * 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 (948): * Single equations (assignments): 939 * 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 {(9,66.7%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01101/2.951, allocations: 3.135 MB / 0.7616 GB, free: 82.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/2.953, allocations: 0.512 MB / 0.7621 GB, free: 82.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07219/3.025, allocations: 13.93 MB / 0.7757 GB, free: 77.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/3.026, allocations: 40.28 kB / 0.7757 GB, free: 77.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.949e-05/3.026, allocations: 28.61 kB / 0.7758 GB, free: 77.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.432e-05/3.026, allocations: 16.55 kB / 0.7758 GB, free: 77.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0866/3.112, allocations: 26.87 MB / 0.802 GB, free: 59.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.276e-05/3.113, allocations: 7.688 kB / 0.802 GB, free: 59.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004848/3.117, allocations: 0.5365 MB / 0.8026 GB, free: 58.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03257/3.15, allocations: 6.262 MB / 0.8087 GB, free: 52.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001288/3.151, allocations: 79.92 kB / 0.8087 GB, free: 52.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08013/3.231, allocations: 36.01 MB / 0.8439 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/3.232, allocations: 4 kB / 0.8439 GB, free: 16.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4679/3.699, allocations: 19.91 MB / 0.8634 GB, free: 92.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007588/3.707, allocations: 1.392 MB / 0.8647 GB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003706/3.711, allocations: 65.56 kB / 0.8648 GB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009415/3.72, allocations: 340.2 kB / 0.8651 GB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00303/3.723, allocations: 281.3 kB / 0.8654 GB, free: 92.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001593/3.725, allocations: 104.7 kB / 0.8655 GB, free: 92.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01338/3.739, allocations: 3.504 MB / 0.8689 GB, free: 92.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.61e-07/3.739, allocations: 0 / 0.8689 GB, free: 92.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01898/3.758, allocations: 1.965 MB / 0.8708 GB, free: 92.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003247/3.761, allocations: 442.5 kB / 0.8712 GB, free: 92.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.04253/3.803, allocations: 12.35 MB / 0.8833 GB, free: 91.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/3.804, allocations: 0 / 0.8833 GB, free: 91.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02197/3.826, allocations: 5.735 MB / 0.8889 GB, free: 89.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/3.834, allocations: 0.6601 MB / 0.8895 GB, free: 88.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07763/3.912, allocations: 19.85 MB / 0.9089 GB, free: 79.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0158/3.928, allocations: 4.873 MB / 0.9137 GB, free: 77.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01559/3.943, allocations: 2.565 MB / 0.9162 GB, free: 77.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/3.947, allocations: 357 kB / 0.9165 GB, free: 77.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/3.947, allocations: 3.938 kB / 0.9165 GB, free: 77.18 MB / 394.7 MB Notification: Performance of Templates: time 0.6305/4.577, allocations: 93.54 MB / 1.008 GB, free: 92.59 MB / 394.7 MB