Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01051/0.01051, allocations: 175.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.985/1.985, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002128/0.002128, allocations: 128.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2687/0.2687, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004752, allocations: 17.52 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09712, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.5929, allocations: 103.3 MB / 0.5512 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5933, allocations: 85.55 kB / 0.5513 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528/2.121, allocations: 284.6 MB / 0.8292 GB, free: 58.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.121, allocations: 0 / 0.8292 GB, free: 58.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001015/2.122, allocations: 278.5 kB / 0.8295 GB, free: 58.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05788/2.18, allocations: 14.1 MB / 0.8433 GB, free: 52.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/2.18, allocations: 14.72 kB / 0.8433 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01326/2.194, allocations: 2.691 MB / 0.8459 GB, free: 52.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1578/2.351, allocations: 18.52 MB / 0.864 GB, free: 38.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07005/2.422, allocations: 14.95 MB / 0.8786 GB, free: 23.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002049/2.424, allocations: 1.102 MB / 0.8797 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0122/2.436, allocations: 1.466 MB / 0.8811 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5247/2.961, allocations: 36.56 MB / 0.9168 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001317/2.962, allocations: 131 kB / 0.9169 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008767/2.971, allocations: 0.6706 MB / 0.9176 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009342/2.98, allocations: 3.716 MB / 0.9212 GB, free: 46.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1005/3.081, allocations: 33.11 MB / 0.9535 GB, free: 46.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/3.37, allocations: 140.4 MB / 1.091 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5183/3.889, allocations: 17.35 MB / 1.108 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/3.993, allocations: 35.76 MB / 1.142 GB, free: 97.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/3.993, allocations: 101.6 kB / 1.143 GB, free: 97.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=747): time 1.17e-05/3.993, allocations: 0 / 1.143 GB, free: 97.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=829): time 0.394/4.387, allocations: 83.22 MB / 1.224 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/4.387, allocations: 309.7 kB / 1.224 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02705/4.414, allocations: 9.363 MB / 1.233 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002315/4.417, allocations: 137.5 kB / 1.233 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009641/4.426, allocations: 9.825 MB / 1.243 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005301/4.432, allocations: 2.993 MB / 1.246 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004066/4.436, allocations: 356 kB / 1.246 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.003042/4.439, allocations: 1.108 MB / 1.247 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02278/4.462, allocations: 8.326 MB / 1.255 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03041/4.492, allocations: 17.87 MB / 1.273 GB, free: 19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0302/4.522, allocations: 12.18 MB / 1.285 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004001/4.523, allocations: 96 kB / 1.285 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.5331/5.056, allocations: 27.95 MB / 1.312 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/5.056, allocations: 152.4 kB / 1.312 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000703/5.057, allocations: 330.5 kB / 1.313 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/5.069, allocations: 2.404 MB / 1.315 GB, free: 78.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02937/5.098, allocations: 4.278 MB / 1.319 GB, free: 78.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/5.13, allocations: 14.83 MB / 1.334 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02137/5.151, allocations: 1.096 MB / 1.335 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00486/5.156, allocations: 0.9946 MB / 1.336 GB, free: 75.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1510 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2205): * Single equations (assignments): 2188 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0228/5.179, allocations: 7.177 MB / 1.343 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00352/5.182, allocations: 1.012 MB / 1.344 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05046/5.233, allocations: 16.06 MB / 1.359 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003239/5.233, allocations: 167.7 kB / 1.36 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/5.233, allocations: 13.12 kB / 1.36 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001794/5.234, allocations: 33.7 kB / 1.36 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1083/5.342, allocations: 34.97 MB / 1.394 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000125/5.342, allocations: 7.812 kB / 1.394 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01406/5.356, allocations: 1.398 MB / 1.395 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/5.367, allocations: 1.783 MB / 1.397 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002048/5.369, allocations: 138.5 kB / 1.397 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02856/5.397, allocations: 13.36 MB / 1.41 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/5.397, allocations: 14.27 kB / 1.41 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06498/5.462, allocations: 26.85 MB / 1.436 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009015/5.471, allocations: 2.248 MB / 1.438 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004231/5.476, allocations: 127.8 kB / 1.439 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01145/5.487, allocations: 0.5328 MB / 1.439 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002747/5.49, allocations: 446.4 kB / 1.44 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009088/5.491, allocations: 195.2 kB / 1.44 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01734/5.508, allocations: 6.5 MB / 1.446 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.002e-06/5.508, allocations: 3.344 kB / 1.446 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02196/5.53, allocations: 3.444 MB / 1.449 GB, free: 22.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08123/5.612, allocations: 29.26 MB / 1.478 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4768/6.088, allocations: 19.95 MB / 1.497 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/6.089, allocations: 1.062 kB / 1.497 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02276/6.111, allocations: 7.788 MB / 1.505 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/6.123, allocations: 1.256 MB / 1.506 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9072/7.03, allocations: 371.3 MB / 1.869 GB, free: 54.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0334/7.064, allocations: 10.57 MB / 1.879 GB, free: 53.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.03371/7.098, allocations: 6.667 MB / 1.886 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02235/7.12, allocations: 7.435 MB / 1.893 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/7.12, allocations: 3.188 kB / 1.893 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9865/8.107, allocations: 236.1 MB / 2.124 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/8.107, allocations: 217.1 kB / 2.124 GB, free: 106 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/20.42, allocations: 3.938 kB / 2.124 GB, free: 106 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat