Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01029/0.01029, allocations: 164.7 kB / 15.11 MB, free: 5.988 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.64/1.64, 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.002015/0.002015, allocations: 107.4 kB / 226.2 MB, free: 10.12 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.4403/0.4403, allocations: 38.05 MB / 303.7 MB, free: 42.74 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004714, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.5973, allocations: 95.25 MB / 0.4951 GB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.5976, allocations: 84.89 kB / 0.4951 GB, free: 8.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7444/1.342, allocations: 106.2 MB / 0.5989 GB, free: 72.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.342, allocations: 0 / 0.5989 GB, free: 72.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004314/1.343, allocations: 109.5 kB / 0.599 GB, free: 72.44 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: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.02673/1.369, allocations: 5.738 MB / 0.6046 GB, free: 70.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.369, allocations: 9.625 kB / 0.6046 GB, free: 70.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005105/1.375, allocations: 0.9311 MB / 0.6055 GB, free: 70.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05214/1.427, allocations: 6.89 MB / 0.6122 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02701/1.454, allocations: 6.896 MB / 0.619 GB, free: 68.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007045/1.455, allocations: 405.3 kB / 0.6194 GB, free: 68.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/1.458, allocations: 0.5386 MB / 0.6199 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04168/1.5, allocations: 12.4 MB / 0.632 GB, free: 65.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005648/1.5, allocations: 70.98 kB / 0.6321 GB, free: 65.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/1.504, allocations: 258.8 kB / 0.6323 GB, free: 65.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/1.507, allocations: 1.125 MB / 0.6334 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03077/1.538, allocations: 9.983 MB / 0.6432 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08401/1.622, allocations: 56.5 MB / 0.6983 GB, free: 22.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/1.639, allocations: 4.143 MB / 0.7024 GB, free: 21.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02339/1.662, allocations: 9.502 MB / 0.7117 GB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.662, allocations: 55.25 kB / 0.7117 GB, free: 16.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 6.793e-06/1.662, allocations: 0 / 0.7117 GB, free: 16.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.0895/1.752, allocations: 19.34 MB / 0.7306 GB, free: 4.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.752, allocations: 213.2 kB / 0.7308 GB, free: 3.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.762, allocations: 4.238 MB / 0.7349 GB, free: 256 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006002/1.763, allocations: 57.7 kB / 0.735 GB, free: 192 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005436/1.768, allocations: 3.775 MB / 0.7387 GB, free: 12.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.77, allocations: 0.8295 MB / 0.7395 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.771, allocations: 128 kB / 0.7396 GB, free: 12.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000822/1.772, allocations: 0.5777 MB / 0.7402 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006957/1.779, allocations: 2.249 MB / 0.7424 GB, free: 9.605 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/1.791, allocations: 6.18 MB / 0.7484 GB, free: 1.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3458/2.137, allocations: 3.679 MB / 0.752 GB, free: 78.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/2.137, allocations: 40.06 kB / 0.752 GB, free: 78.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02737/2.164, allocations: 8.935 MB / 0.7608 GB, free: 78.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/2.164, allocations: 64.75 kB / 0.7608 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000263/2.165, allocations: 136.9 kB / 0.761 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/2.169, allocations: 0.933 MB / 0.7619 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009883/2.179, allocations: 1.51 MB / 0.7633 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/2.195, allocations: 7.612 MB / 0.7708 GB, free: 75.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008205/2.203, allocations: 355.1 kB / 0.7711 GB, free: 75.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/2.205, allocations: 396.8 kB / 0.7715 GB, free: 75.32 MB / 442.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.007757/2.213, allocations: 2.576 MB / 0.774 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.214, allocations: 429.6 kB / 0.7744 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/2.226, allocations: 3.584 MB / 0.7779 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.661e-05/2.226, allocations: 24.8 kB / 0.7779 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.66e-05/2.226, allocations: 7.938 kB / 0.7779 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/2.226, allocations: 14.64 kB / 0.778 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03145/2.258, allocations: 9.267 MB / 0.787 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.819e-05/2.258, allocations: 4.766 kB / 0.787 GB, free: 74.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/2.261, allocations: 343.8 kB / 0.7873 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004261/2.266, allocations: 0.6874 MB / 0.788 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005307/2.266, allocations: 37.88 kB / 0.788 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/2.28, allocations: 6.751 MB / 0.7946 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.28, allocations: 0 / 0.7946 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/2.296, allocations: 6.335 MB / 0.8008 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/2.299, allocations: 0.7402 MB / 0.8015 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/2.3, allocations: 41.88 kB / 0.8016 GB, free: 67.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/2.303, allocations: 114.2 kB / 0.8017 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/2.304, allocations: 128.5 kB / 0.8018 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/2.304, allocations: 63.45 kB / 0.8019 GB, free: 67.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008222/2.313, allocations: 2.996 MB / 0.8048 GB, free: 66.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.313, allocations: 0 / 0.8048 GB, free: 66.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008757/2.322, allocations: 1.193 MB / 0.806 GB, free: 66.54 MB / 442.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.01676/2.338, allocations: 7.182 MB / 0.813 GB, free: 63.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/2.353, allocations: 5.732 MB / 0.8186 GB, free: 60.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.353, allocations: 0 / 0.8186 GB, free: 60.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005393/2.358, allocations: 1.992 MB / 0.8205 GB, free: 60.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/2.364, allocations: 0.5225 MB / 0.821 GB, free: 59.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4699/2.834, allocations: 137.9 MB / 0.9557 GB, free: 91.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.844, allocations: 4.106 MB / 0.9597 GB, free: 90.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01033/2.854, allocations: 2.09 MB / 0.9617 GB, free: 90.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006672/2.861, allocations: 2.468 MB / 0.9641 GB, free: 90.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/2.861, allocations: 0 / 0.9641 GB, free: 90.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.263/3.124, allocations: 92.15 MB / 1.054 GB, free: 50.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/3.124, allocations: 205.7 kB / 1.054 GB, free: 50.35 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.972/9.096, allocations: 1.422 kB / 1.054 GB, free: 50.35 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat