Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",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.01437/0.01437, allocations: 175.5 kB / 15.12 MB, free: 5.977 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 2.085/2.085, 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.002112/0.002112, allocations: 128.5 kB / 255.6 MB, free: 10.24 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.2762/0.2762, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004919, allocations: 10.75 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 54.88 MB / 461.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5395/0.6516, allocations: 102.5 MB / 0.5504 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.652, allocations: 85.52 kB / 0.5505 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4323/1.084, allocations: 106.5 MB / 0.6545 GB, free: 4.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.084, allocations: 0 / 0.6545 GB, free: 4.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004314/1.085, allocations: 108 kB / 0.6546 GB, free: 4.594 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: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02544/1.11, allocations: 5.724 MB / 0.6602 GB, free: 14.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.11, allocations: 12.03 kB / 0.6603 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004892/1.115, allocations: 0.931 MB / 0.6612 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05438/1.17, allocations: 6.931 MB / 0.6679 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/1.198, allocations: 6.902 MB / 0.6747 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000689/1.198, allocations: 418.6 kB / 0.6751 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/1.202, allocations: 0.5348 MB / 0.6756 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04316/1.245, allocations: 12.77 MB / 0.6881 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004875/1.245, allocations: 71.31 kB / 0.6881 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/1.248, allocations: 255.9 kB / 0.6884 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003662/1.252, allocations: 1.141 MB / 0.6895 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03628/1.288, allocations: 10.48 MB / 0.6997 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4388/1.727, allocations: 57.08 MB / 0.7555 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/1.746, allocations: 4.41 MB / 0.7598 GB, free: 62.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02572/1.772, allocations: 9.978 MB / 0.7695 GB, free: 61.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/1.772, allocations: 53.5 kB / 0.7696 GB, free: 61.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 7.363e-06/1.772, allocations: 0 / 0.7696 GB, free: 61.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.08451/1.857, allocations: 18.97 MB / 0.7881 GB, free: 57.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/1.857, allocations: 199.6 kB / 0.7883 GB, free: 57.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/1.868, allocations: 4.229 MB / 0.7924 GB, free: 56.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/1.869, allocations: 61.02 kB / 0.7925 GB, free: 56.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003617/1.872, allocations: 3.766 MB / 0.7962 GB, free: 54.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.874, allocations: 0.8335 MB / 0.797 GB, free: 54.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009186/1.875, allocations: 131.5 kB / 0.7971 GB, free: 54.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004104/1.875, allocations: 0.5768 MB / 0.7977 GB, free: 54.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.881, allocations: 2.26 MB / 0.7999 GB, free: 54.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008219/1.889, allocations: 6.194 MB / 0.8059 GB, free: 48.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008343/1.897, allocations: 3.663 MB / 0.8095 GB, free: 48.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/1.897, allocations: 41.69 kB / 0.8095 GB, free: 48.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02512/1.923, allocations: 8.953 MB / 0.8183 GB, free: 45.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.923, allocations: 65.72 kB / 0.8183 GB, free: 45.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/1.923, allocations: 141.6 kB / 0.8185 GB, free: 45.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004417/1.927, allocations: 0.9373 MB / 0.8194 GB, free: 45.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009192/1.937, allocations: 1.506 MB / 0.8209 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.95, allocations: 7.617 MB / 0.8283 GB, free: 40.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007323/1.958, allocations: 349 kB / 0.8286 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.959, allocations: 398.5 kB / 0.829 GB, free: 40.11 MB / 490.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.007535/1.967, allocations: 2.563 MB / 0.8315 GB, free: 38.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.968, allocations: 430.5 kB / 0.8319 GB, free: 38.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.979, allocations: 3.609 MB / 0.8354 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.979, allocations: 25.7 kB / 0.8355 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.979, allocations: 5.656 kB / 0.8355 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.979, allocations: 17.88 kB / 0.8355 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/2.004, allocations: 9.3 MB / 0.8446 GB, free: 33.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/2.004, allocations: 3.625 kB / 0.8446 GB, free: 33.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/2.007, allocations: 347.4 kB / 0.8449 GB, free: 33.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/2.011, allocations: 0.6863 MB / 0.8456 GB, free: 33.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004054/2.012, allocations: 36.86 kB / 0.8456 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/2.023, allocations: 6.74 MB / 0.8522 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/2.024, allocations: 4 kB / 0.8522 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/2.038, allocations: 6.366 MB / 0.8584 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/2.041, allocations: 0.7406 MB / 0.8591 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/2.042, allocations: 36 kB / 0.8592 GB, free: 21.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/2.045, allocations: 112.5 kB / 0.8593 GB, free: 21.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/2.045, allocations: 135.9 kB / 0.8594 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/2.046, allocations: 52 kB / 0.8595 GB, free: 21.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006936/2.053, allocations: 3 MB / 0.8624 GB, free: 18.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.053, allocations: 0 / 0.8624 GB, free: 18.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007725/2.06, allocations: 1.193 MB / 0.8636 GB, free: 17.59 MB / 490.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.01525/2.076, allocations: 7.218 MB / 0.8706 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01427/2.09, allocations: 5.757 MB / 0.8762 GB, free: 6.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/2.09, allocations: 4 kB / 0.8762 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004742/2.095, allocations: 1.999 MB / 0.8782 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/2.099, allocations: 0.533 MB / 0.8787 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4855/2.584, allocations: 137.9 MB / 1.013 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009076/2.593, allocations: 4.101 MB / 1.017 GB, free: 38.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009925/2.603, allocations: 2.1 MB / 1.019 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006041/2.609, allocations: 2.457 MB / 1.022 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/2.609, allocations: 0 / 1.022 GB, free: 37.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6237/3.233, allocations: 92.15 MB / 1.112 GB, free: 97.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/3.234, allocations: 208.1 kB / 1.112 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.06/9.293, allocations: 0 / 1.112 GB, free: 97.32 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat