Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01816/0.01816, allocations: 166.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.653/1.653, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002187/0.002186, allocations: 102.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4409/0.4409, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004626, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5445, allocations: 96.84 MB / 0.4966 GB, free: 7.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5449, allocations: 78.16 kB / 0.4967 GB, free: 7.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033/1.578, allocations: 163.4 MB / 0.6562 GB, free: 67.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.578, allocations: 0 / 0.6562 GB, free: 67.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004603/1.578, allocations: 162.1 kB / 0.6564 GB, free: 67.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3108 * Number of variables: 3108 Notification: Performance of Generate backend data structure: time 0.03129/1.61, allocations: 7.993 MB / 0.6642 GB, free: 63.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.61, allocations: 18.94 kB / 0.6642 GB, free: 63.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007964/1.618, allocations: 1.545 MB / 0.6657 GB, free: 63.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07245/1.69, allocations: 10.04 MB / 0.6755 GB, free: 61.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02949/1.72, allocations: 8.452 MB / 0.6838 GB, free: 57.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007747/1.721, allocations: 0.6232 MB / 0.6844 GB, free: 57.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/1.726, allocations: 0.8247 MB / 0.6852 GB, free: 57.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06281/1.789, allocations: 20.53 MB / 0.7052 GB, free: 38.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002148/1.791, allocations: 83.22 kB / 0.7053 GB, free: 38.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007607/1.799, allocations: 396 kB / 0.7057 GB, free: 38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005886/1.805, allocations: 2.105 MB / 0.7078 GB, free: 35.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06143/1.866, allocations: 18.07 MB / 0.7254 GB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5047/2.371, allocations: 84.97 MB / 0.8084 GB, free: 39.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/2.4, allocations: 8.054 MB / 0.8162 GB, free: 38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/2.4, allocations: 64.92 kB / 0.8163 GB, free: 38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/2.4, allocations: 70.88 kB / 0.8164 GB, free: 37.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=450): time 1.016e-05/2.4, allocations: 0 / 0.8164 GB, free: 37.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=501): time 0.1751/2.575, allocations: 44.12 MB / 0.8595 GB, free: 24.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/2.576, allocations: 224.9 kB / 0.8597 GB, free: 24.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/2.591, allocations: 5.739 MB / 0.8653 GB, free: 22.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001277/2.592, allocations: 90.95 kB / 0.8654 GB, free: 22.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005038/2.597, allocations: 5.679 MB / 0.8709 GB, free: 17.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002955/2.6, allocations: 1.816 MB / 0.8727 GB, free: 16.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/2.602, allocations: 225.6 kB / 0.8729 GB, free: 16.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001028/2.603, allocations: 0.7899 MB / 0.8737 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01235/2.615, allocations: 4.916 MB / 0.8785 GB, free: 14.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01678/2.632, allocations: 11.05 MB / 0.8893 GB, free: 4.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/2.65, allocations: 7.335 MB / 0.8964 GB, free: 1.664 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002514/2.65, allocations: 59.16 kB / 0.8965 GB, free: 1.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.05565/2.706, allocations: 17.24 MB / 0.9133 GB, free: 3.641 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/2.706, allocations: 96 kB / 0.9134 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004436/2.707, allocations: 216 kB / 0.9136 GB, free: 3.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/2.715, allocations: 1.722 MB / 0.9153 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02015/2.735, allocations: 2.705 MB / 0.9179 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4135/3.149, allocations: 14.38 MB / 0.932 GB, free: 94.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01821/3.167, allocations: 0.6593 MB / 0.9326 GB, free: 94.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003598/3.171, allocations: 0.6285 MB / 0.9332 GB, free: 94.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1362): * Single equations (assignments): 1349 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01637/3.187, allocations: 4.192 MB / 0.9373 GB, free: 94.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002506/3.19, allocations: 0.6211 MB / 0.9379 GB, free: 94.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03011/3.22, allocations: 9.725 MB / 0.9474 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000188/3.22, allocations: 95.56 kB / 0.9475 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/3.22, allocations: 8.969 kB / 0.9475 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/3.22, allocations: 22.94 kB / 0.9476 GB, free: 94.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06796/3.288, allocations: 21.71 MB / 0.9688 GB, free: 88.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.211e-05/3.288, allocations: 9.625 kB / 0.9688 GB, free: 88.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007471/3.296, allocations: 0.7926 MB / 0.9695 GB, free: 88.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/3.303, allocations: 1.361 MB / 0.9709 GB, free: 87.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/3.304, allocations: 95.77 kB / 0.971 GB, free: 87.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/3.326, allocations: 13.25 MB / 0.9839 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/3.326, allocations: 18.59 kB / 0.9839 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03811/3.364, allocations: 17.31 MB / 1.001 GB, free: 71.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005266/3.369, allocations: 1.393 MB / 1.002 GB, free: 70.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003026/3.372, allocations: 85.47 kB / 1.002 GB, free: 70.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007114/3.38, allocations: 315.1 kB / 1.003 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001883/3.381, allocations: 301.3 kB / 1.003 GB, free: 70.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000784/3.382, allocations: 125.2 kB / 1.003 GB, free: 70.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01653/3.399, allocations: 3.995 MB / 1.007 GB, free: 68.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/3.399, allocations: 0 / 1.007 GB, free: 68.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0147/3.414, allocations: 2.041 MB / 1.009 GB, free: 68.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (385): * Single equations (assignments): 372 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03976/3.453, allocations: 20.07 MB / 1.028 GB, free: 57.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02835/3.482, allocations: 12.16 MB / 1.04 GB, free: 47.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/3.482, allocations: 4 kB / 1.04 GB, free: 47.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01192/3.494, allocations: 4.941 MB / 1.045 GB, free: 43.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/3.5, allocations: 0.7225 MB / 1.046 GB, free: 42.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5705/4.071, allocations: 222.5 MB / 1.263 GB, free: 34.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02002/4.091, allocations: 6.279 MB / 1.269 GB, free: 33.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0193/4.11, allocations: 4.113 MB / 1.273 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01062/4.121, allocations: 4.071 MB / 1.277 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.644e-06/4.121, allocations: 0 / 1.277 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.675/4.796, allocations: 148.4 MB / 1.422 GB, free: 176.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/4.796, allocations: 189.8 kB / 1.422 GB, free: 176.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/13.02, allocations: 4 kB / 1.422 GB, free: 176.3 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat does not exist to compare? outputFormat=mat