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.Rotational3DEffects.GearConstraint.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 11.98 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3414, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.5097, allocations: 92.86 MB / 401.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.5101, allocations: 87.95 kB / 401.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6848/1.195, allocations: 106.3 MB / 0.4959 GB, free: 16.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.168e-06/1.195, allocations: 0 / 0.4959 GB, free: 16.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004094/1.195, allocations: 108 kB / 0.496 GB, free: 16.84 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: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02459/1.22, allocations: 5.736 MB / 0.5016 GB, free: 11.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.22, allocations: 12.02 kB / 0.5016 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004615/1.225, allocations: 0.931 MB / 0.5025 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05107/1.276, allocations: 6.931 MB / 0.5093 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02831/1.304, allocations: 6.832 MB / 0.516 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007397/1.305, allocations: 410.7 kB / 0.5164 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/1.309, allocations: 0.5349 MB / 0.5169 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/1.353, allocations: 12.76 MB / 0.5294 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000514/1.354, allocations: 83.19 kB / 0.5294 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002942/1.357, allocations: 255.9 kB / 0.5297 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003031/1.36, allocations: 1.133 MB / 0.5308 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03743/1.398, allocations: 10.48 MB / 0.541 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.424/1.822, allocations: 57.08 MB / 0.5968 GB, free: 34.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.019/1.841, allocations: 4.414 MB / 0.6011 GB, free: 34.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02734/1.868, allocations: 9.987 MB / 0.6108 GB, free: 32.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.868, allocations: 53.44 kB / 0.6109 GB, free: 32.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 9.428e-06/1.868, allocations: 3.031 kB / 0.6109 GB, free: 32.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.08357/1.952, allocations: 18.94 MB / 0.6294 GB, free: 28.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.952, allocations: 208 kB / 0.6296 GB, free: 28.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.962, allocations: 4.223 MB / 0.6337 GB, free: 27.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005096/1.963, allocations: 59.66 kB / 0.6338 GB, free: 27.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003558/1.966, allocations: 3.763 MB / 0.6374 GB, free: 24.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.968, allocations: 0.8296 MB / 0.6382 GB, free: 24.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008838/1.969, allocations: 133.1 kB / 0.6384 GB, free: 24.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006278/1.969, allocations: 0.5813 MB / 0.6389 GB, free: 23.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006259/1.976, allocations: 2.261 MB / 0.6411 GB, free: 23.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008661/1.984, allocations: 6.191 MB / 0.6472 GB, free: 17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008234/1.993, allocations: 3.668 MB / 0.6508 GB, free: 15.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.993, allocations: 38.53 kB / 0.6508 GB, free: 15.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02426/2.017, allocations: 8.948 MB / 0.6595 GB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/2.017, allocations: 64.44 kB / 0.6596 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000213/2.018, allocations: 138.9 kB / 0.6597 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/2.022, allocations: 0.9371 MB / 0.6607 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009388/2.031, allocations: 1.506 MB / 0.6621 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/2.045, allocations: 7.616 MB / 0.6696 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007623/2.053, allocations: 359.8 kB / 0.6699 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/2.054, allocations: 399.1 kB / 0.6703 GB, free: 4.859 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 790 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006734/2.061, allocations: 2.562 MB / 0.6728 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/2.062, allocations: 430.5 kB / 0.6732 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/2.075, allocations: 3.722 MB / 0.6768 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-05/2.075, allocations: 24 kB / 0.6769 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/2.075, allocations: 7.562 kB / 0.6769 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.453e-05/2.075, allocations: 12.62 kB / 0.6769 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03103/2.107, allocations: 9.298 MB / 0.686 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/2.107, allocations: 0 / 0.686 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/2.11, allocations: 353.7 kB / 0.6863 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004283/2.114, allocations: 0.6882 MB / 0.687 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/2.115, allocations: 42.81 kB / 0.687 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/2.13, allocations: 6.731 MB / 0.6936 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/2.13, allocations: 4 kB / 0.6936 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/2.154, allocations: 6.72 MB / 0.7001 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/2.157, allocations: 0.7355 MB / 0.7009 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/2.159, allocations: 35.95 kB / 0.7009 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/2.162, allocations: 109.1 kB / 0.701 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008019/2.163, allocations: 139.5 kB / 0.7011 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/2.163, allocations: 55.75 kB / 0.7012 GB, free: 11.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008783/2.172, allocations: 2.989 MB / 0.7041 GB, free: 8.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.172, allocations: 0 / 0.7041 GB, free: 8.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009326/2.182, allocations: 1.189 MB / 0.7053 GB, free: 7.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01935/2.201, allocations: 7.241 MB / 0.7123 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3084/2.509, allocations: 5.77 MB / 0.718 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.51, allocations: 0 / 0.718 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/2.515, allocations: 2.004 MB / 0.7199 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/2.52, allocations: 0.5199 MB / 0.7204 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1366/2.656, allocations: 137.9 MB / 0.8551 GB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007227/2.664, allocations: 4.098 MB / 0.8591 GB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008718/2.673, allocations: 2.102 MB / 0.8612 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005065/2.678, allocations: 2.46 MB / 0.8636 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.678, allocations: 0 / 0.8636 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/3.195, allocations: 92.28 MB / 0.9537 GB, free: 83.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/3.195, allocations: 223.1 kB / 0.9539 GB, free: 82.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.222/9.417, allocations: 4 kB / 0.9539 GB, free: 82.77 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat