Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 53.33 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004465/0.2965, allocations: 2.75 MB / 399.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.2989, allocations: 1.153 MB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2991, allocations: 9.406 kB / 400.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.2993, allocations: 74.16 kB / 400.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.3, allocations: 195 kB / 400.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.3005, allocations: 243.3 kB / 400.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007024/0.3012, allocations: 0.6472 MB / 401.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3014, allocations: 87.92 kB / 401.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.3018, allocations: 299.9 kB / 401.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.3022, allocations: 363.8 kB / 402.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.3023, allocations: 52 kB / 402.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.3026, allocations: 141.3 kB / 402.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3028, allocations: 148 kB / 402.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.303, allocations: 248.2 kB / 402.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.3037, allocations: 0.6515 MB / 403.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3037, allocations: 0 / 403.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3037, allocations: 0.9688 kB / 403.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.3037, allocations: 0 / 403.4 MB, free: 4.867 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001485/0.3052, allocations: 0.7348 MB / 404.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3052, allocations: 18.08 kB / 404.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.3053, allocations: 81.55 kB / 404.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.3056, allocations: 68.09 kB / 404.3 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.3061, allocations: 307.7 kB / 404.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3063, allocations: 151.2 kB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.3063, allocations: 41.58 kB / 404.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3074, allocations: 0.5656 MB / 405.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3074, allocations: 1.984 kB / 405.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.3075, allocations: 15.25 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3075, allocations: 9.406 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3087, allocations: 0.6329 MB / 406 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.311, allocations: 1.227 MB / 407.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3121, allocations: 0.5144 MB / 407.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.3126, allocations: 297.3 kB / 408 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.3127, allocations: 10.16 kB / 408 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3127, allocations: 42.95 kB / 408.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 1.473e-06/0.3127, allocations: 0 / 408.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006007/0.3187, allocations: 2.561 MB / 410.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3188, allocations: 92.52 kB / 410.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.3191, allocations: 326.5 kB / 411 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.3192, allocations: 46.34 kB / 411.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.3193, allocations: 163.2 kB / 411.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3194, allocations: 240 kB / 411.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.3196, allocations: 121.4 kB / 411.6 MB, free: 444 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.3196, allocations: 352.2 kB / 411.9 MB, free: 92 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.3202, allocations: 289.7 kB / 412.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.3208, allocations: 355.2 kB / 412.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.3219, allocations: 0.5268 MB / 413.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3219, allocations: 1.031 kB / 413.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001741/0.3237, allocations: 0.8598 MB / 413.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3237, allocations: 9.469 kB / 414 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3237, allocations: 1.094 kB / 414 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.3248, allocations: 480.3 kB / 414.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3251, allocations: 85.44 kB / 414.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3265, allocations: 1.075 MB / 415.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.327, allocations: 61.2 kB / 415.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.3271, allocations: 21.12 kB / 415.7 MB, free: 14.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.ideal,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,gear.mode,$PRE.gear.mode,gear.locked,gear.startBackward,gear.startForward,gear.tau_aPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.3274, allocations: 180 kB / 415.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3275, allocations: 44.72 kB / 415.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.3277, allocations: 63.61 kB / 415.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3277, allocations: 6.062 kB / 416 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3277, allocations: 0 / 416 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3277, allocations: 9.422 kB / 416 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.3311, allocations: 1.712 MB / 417.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3311, allocations: 0 / 417.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.3315, allocations: 77.48 kB / 417.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009758/0.3325, allocations: 448.4 kB / 418.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.3325, allocations: 27.75 kB / 418.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3338, allocations: 1.047 MB / 419.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3338, allocations: 1.312 kB / 419.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.3364, allocations: 1.295 MB / 420.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.3367, allocations: 107.6 kB / 420.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.3368, allocations: 24.06 kB / 420.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.3372, allocations: 51.88 kB / 420.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.3374, allocations: 88.48 kB / 420.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.3375, allocations: 23.97 kB / 420.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3378, allocations: 243.1 kB / 421.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3378, allocations: 0 / 421.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006032/0.3384, allocations: 155.9 kB / 421.2 MB, free: 10 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003014/0.3414, allocations: 1.873 MB / 423.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.343, allocations: 0.6663 MB / 423.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.343, allocations: 8.125 kB / 423.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.3438, allocations: 352.6 kB / 424.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3443, allocations: 52.95 kB / 424.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.353, allocations: 4.974 MB / 429.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3535, allocations: 0.8174 MB / 430 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.3538, allocations: 63.34 kB / 430 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.354, allocations: 135.4 kB / 430.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.354, allocations: 0 / 430.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05088/0.4049, allocations: 14.48 MB / 444.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.7, allocations: 8.047 kB / 444.6 MB, free: 2.348 MB / 350.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/LossyGearDemo2/LossyGearDemo2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.freqHz,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.stateSelect,Inertia1.w,Inertia2.J,Inertia2.a,Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.stateSelect,Inertia2.w,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,der(Inertia1.phi),der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(bearingFriction.phi),der(bearingFriction.w),der(der(gear.phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.useHeatPort,gear.useSupport,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque1.useSupport,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau,torque2.useSupport [Calling sys.exit(0), Time elapsed: 16.05268166284077]