Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01016/0.01016, allocations: 164.7 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.667/1.667, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002029/0.002028, allocations: 114.4 kB / 226.2 MB, free: 10.1 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.4578/0.4578, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.118, allocations: 48.72 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5724, allocations: 96.05 MB / 0.4959 GB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5728, allocations: 82.89 kB / 0.4959 GB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.817/2.39, allocations: 283.8 MB / 0.7731 GB, free: 38.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.206e-06/2.39, allocations: 0 / 0.7731 GB, free: 38.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000923/2.391, allocations: 280.5 kB / 0.7734 GB, free: 38.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5455 * Number of variables: 5455 Notification: Performance of Generate backend data structure: time 0.06432/2.455, allocations: 14.11 MB / 0.7872 GB, free: 32.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/2.456, allocations: 7.094 kB / 0.7872 GB, free: 32.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01499/2.471, allocations: 2.694 MB / 0.7898 GB, free: 32.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1385/2.609, allocations: 18.44 MB / 0.8078 GB, free: 31.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05407/2.663, allocations: 14.89 MB / 0.8224 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001674/2.665, allocations: 1.102 MB / 0.8234 GB, free: 29.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009824/2.675, allocations: 1.458 MB / 0.8248 GB, free: 29.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1329/2.808, allocations: 35.83 MB / 0.8598 GB, free: 22.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001195/2.809, allocations: 131.9 kB / 0.86 GB, free: 22.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009351/2.818, allocations: 0.6669 MB / 0.8606 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007966/2.826, allocations: 3.717 MB / 0.8642 GB, free: 21.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1115/2.938, allocations: 32.12 MB / 0.8956 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7235/3.661, allocations: 139.2 MB / 1.032 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05554/3.717, allocations: 15.25 MB / 1.046 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1231/3.84, allocations: 34.75 MB / 1.08 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/3.84, allocations: 101.3 kB / 1.08 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=745): time 2.06e-05/3.841, allocations: 0 / 1.08 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=827): time 0.7972/4.638, allocations: 80.3 MB / 1.159 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/4.638, allocations: 314 kB / 1.159 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02497/4.663, allocations: 9.361 MB / 1.168 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001921/4.665, allocations: 138.8 kB / 1.168 GB, free: 88.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008769/4.674, allocations: 9.823 MB / 1.178 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005545/4.679, allocations: 2.982 MB / 1.181 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004167/4.684, allocations: 358.2 kB / 1.181 GB, free: 80.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002627/4.686, allocations: 1.102 MB / 1.182 GB, free: 79.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02188/4.708, allocations: 8.212 MB / 1.19 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03017/4.738, allocations: 17.78 MB / 1.208 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02908/4.768, allocations: 12.07 MB / 1.22 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003992/4.768, allocations: 92 kB / 1.22 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2399) (initialization): time 0.07974/4.848, allocations: 27.67 MB / 1.247 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/4.848, allocations: 151.6 kB / 1.247 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006678/4.849, allocations: 332 kB / 1.247 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/4.86, allocations: 2.406 MB / 1.249 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03344/4.894, allocations: 4.272 MB / 1.254 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4288/5.323, allocations: 14.84 MB / 1.268 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02262/5.345, allocations: 1.081 MB / 1.269 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005988/5.351, allocations: 0.9963 MB / 1.27 GB, free: 76.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * 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 (2203): * Single equations (assignments): 2186 * 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.04018/5.392, allocations: 7.178 MB / 1.277 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006996/5.399, allocations: 1.015 MB / 1.278 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06037/5.459, allocations: 15.8 MB / 1.294 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003321/5.46, allocations: 161.4 kB / 1.294 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-05/5.46, allocations: 14.84 kB / 1.294 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001856/5.46, allocations: 35.45 kB / 1.294 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1306/5.591, allocations: 34.78 MB / 1.328 GB, free: 73.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001457/5.591, allocations: 7.062 kB / 1.328 GB, free: 73.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01591/5.607, allocations: 1.391 MB / 1.329 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/5.62, allocations: 1.778 MB / 1.331 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0025/5.622, allocations: 134.3 kB / 1.331 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08507/5.707, allocations: 13.35 MB / 1.344 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/5.707, allocations: 9.062 kB / 1.344 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06621/5.774, allocations: 26.71 MB / 1.37 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008916/5.783, allocations: 2.24 MB / 1.372 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003695/5.786, allocations: 124 kB / 1.372 GB, free: 53.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01129/5.798, allocations: 0.5338 MB / 1.373 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002637/5.8, allocations: 442.2 kB / 1.373 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008333/5.801, allocations: 196.6 kB / 1.374 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01816/5.819, allocations: 6.497 MB / 1.38 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.222e-06/5.819, allocations: 0 / 1.38 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02352/5.843, allocations: 3.434 MB / 1.383 GB, free: 49.65 MB / 0.4948 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 (653): * Single equations (assignments): 636 * 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.06576/5.909, allocations: 28.16 MB / 1.411 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0471/5.956, allocations: 19.7 MB / 1.43 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/5.956, allocations: 6.344 kB / 1.43 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01925/5.975, allocations: 7.743 MB / 1.438 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/5.986, allocations: 1.261 MB / 1.439 GB, free: 192 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.258/7.244, allocations: 371.2 MB / 1.801 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03337/7.277, allocations: 10.57 MB / 1.812 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0322/7.31, allocations: 6.653 MB / 1.818 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02952/7.339, allocations: 7.439 MB / 1.825 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.705e-06/7.339, allocations: 3.094 kB / 1.825 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/8.34, allocations: 235.2 MB / 2.055 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/8.341, allocations: 214.2 kB / 2.055 GB, free: 95.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/21.64, allocations: 0 / 2.055 GB, free: 95.54 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat