Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",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.01038/0.01038, allocations: 175.3 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 2.082/2.082, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002056/0.002056, allocations: 120.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.2508/0.2508, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004792, allocations: 16.19 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.09916, allocations: 54.87 MB / 461.1 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5033/0.6025, allocations: 101.6 MB / 0.5496 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.6028, allocations: 85.64 kB / 0.5496 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5522/1.155, allocations: 131.1 MB / 0.6777 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.155, allocations: 0 / 0.6777 GB, free: 12.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005204/1.156, allocations: 132 kB / 0.6778 GB, free: 12.58 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.04237/1.198, allocations: 7.495 MB / 0.6851 GB, free: 5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/1.198, allocations: 8.031 kB / 0.6852 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006091/1.204, allocations: 1.113 MB / 0.6862 GB, free: 3.867 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07023/1.275, allocations: 9.406 MB / 0.6954 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03315/1.308, allocations: 9.023 MB / 0.7042 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007059/1.308, allocations: 488.8 kB / 0.7047 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/1.312, allocations: 0.648 MB / 0.7053 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.751/2.063, allocations: 16.38 MB / 0.7213 GB, free: 81.61 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005401/2.064, allocations: 88.88 kB / 0.7214 GB, free: 81.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003361/2.067, allocations: 300.4 kB / 0.7217 GB, free: 81.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/2.072, allocations: 1.528 MB / 0.7232 GB, free: 81.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04927/2.121, allocations: 14.34 MB / 0.7372 GB, free: 81.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/2.24, allocations: 70.53 MB / 0.8061 GB, free: 43.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03315/2.273, allocations: 7.436 MB / 0.8133 GB, free: 41.51 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04471/2.318, allocations: 17.92 MB / 0.8308 GB, free: 33.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/2.318, allocations: 71.17 kB / 0.8309 GB, free: 33.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=310): time 6.743e-06/2.318, allocations: 3.562 kB / 0.8309 GB, free: 33.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=404): time 0.3153/2.633, allocations: 60.15 MB / 0.8897 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002722/2.634, allocations: 329.4 kB / 0.89 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01766/2.651, allocations: 4.945 MB / 0.8948 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001772/2.653, allocations: 89.7 kB / 0.8949 GB, free: 8.953 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006915/2.66, allocations: 4.415 MB / 0.8992 GB, free: 5.008 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003975/2.664, allocations: 1.459 MB / 0.9006 GB, free: 3.711 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/2.666, allocations: 171.8 kB / 0.9008 GB, free: 3.547 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001155/2.667, allocations: 0.6613 MB / 0.9014 GB, free: 2.977 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3661/3.033, allocations: 5.213 MB / 0.9065 GB, free: 98.12 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/3.052, allocations: 9.419 MB / 0.9157 GB, free: 92.55 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/3.072, allocations: 6.775 MB / 0.9223 GB, free: 92.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002856/3.072, allocations: 46.12 kB / 0.9224 GB, free: 92.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.06313/3.135, allocations: 18.64 MB / 0.9406 GB, free: 92.08 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/3.135, allocations: 68.97 kB / 0.9407 GB, free: 92.08 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/3.136, allocations: 158.1 kB / 0.9408 GB, free: 92.08 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0248/3.16, allocations: 4.782 MB / 0.9455 GB, free: 92.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/3.175, allocations: 2.015 MB / 0.9474 GB, free: 91.88 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06127/3.237, allocations: 26.25 MB / 0.9731 GB, free: 84.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/3.25, allocations: 0.6092 MB / 0.9737 GB, free: 84.08 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00286/3.253, allocations: 495.5 kB / 0.9741 GB, free: 84.01 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1001): * Single equations (assignments): 995 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,44.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01131/3.264, allocations: 3.171 MB / 0.9772 GB, free: 82.64 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/3.266, allocations: 0.5464 MB / 0.9778 GB, free: 82.64 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05051/3.317, allocations: 13.51 MB / 0.991 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.065e-05/3.317, allocations: 42.44 kB / 0.991 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.542e-05/3.317, allocations: 16.31 kB / 0.991 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/3.317, allocations: 19.97 kB / 0.991 GB, free: 77.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07779/3.395, allocations: 23.91 MB / 1.014 GB, free: 67.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.459e-05/3.395, allocations: 3.953 kB / 1.014 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008001/3.403, allocations: 0.7033 MB / 1.015 GB, free: 67.42 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02487/3.428, allocations: 4.519 MB / 1.019 GB, free: 64.46 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001611/3.43, allocations: 78.73 kB / 1.02 GB, free: 64.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05947/3.489, allocations: 25.43 MB / 1.044 GB, free: 42.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/3.489, allocations: 0 / 1.044 GB, free: 42.6 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06179/3.551, allocations: 20.32 MB / 1.064 GB, free: 25.65 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005832/3.557, allocations: 1.462 MB / 1.066 GB, free: 24.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002864/3.56, allocations: 68 kB / 1.066 GB, free: 24.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008246/3.568, allocations: 357.2 kB / 1.066 GB, free: 24.04 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00245/3.571, allocations: 255.2 kB / 1.066 GB, free: 23.88 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001214/3.572, allocations: 97.7 kB / 1.066 GB, free: 23.79 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009995/3.582, allocations: 3.532 MB / 1.07 GB, free: 20.61 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.21e-07/3.582, allocations: 4 kB / 1.07 GB, free: 20.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01337/3.595, allocations: 1.922 MB / 1.072 GB, free: 18.69 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (315): * Single equations (assignments): 309 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4354/4.031, allocations: 21.16 MB / 1.092 GB, free: 88.16 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.04133/4.072, allocations: 13.15 MB / 1.105 GB, free: 87.65 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/4.072, allocations: 0 / 1.105 GB, free: 87.65 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02116/4.093, allocations: 6.321 MB / 1.111 GB, free: 87.21 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/4.101, allocations: 0.6964 MB / 1.112 GB, free: 87.19 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2163/4.317, allocations: 175.2 MB / 1.283 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/4.33, allocations: 5.096 MB / 1.288 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01378/4.344, allocations: 2.96 MB / 1.291 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00978/4.354, allocations: 3.195 MB / 1.294 GB, free: 8.297 MB / 0.5574 GB Notification: Performance of SimCode: time 1.262e-06/4.354, allocations: 0 / 1.294 GB, free: 8.297 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6931/5.047, allocations: 150.7 MB / 1.441 GB, free: 103.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/5.047, allocations: 206.9 kB / 1.442 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/12.77, allocations: 0 / 1.442 GB, free: 103.4 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat