Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 190.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4116/0.4116, allocations: 39.93 MB / 309.4 MB, free: 9.32 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 63.91 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1715, allocations: 56.89 MB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3766/0.5481, allocations: 70.21 MB / 0.4924 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03626/0.5844, allocations: 13.95 MB / 0.506 GB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02051/0.605, allocations: 306 kB / 0.5063 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008759/0.6138, allocations: 4.075 MB / 0.5103 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008276/0.6221, allocations: 2.113 MB / 0.5124 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.6256, allocations: 0.8717 MB / 0.5132 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.6412, allocations: 6.125 MB / 0.5192 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.6556, allocations: 5.583 MB / 0.5246 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.6628, allocations: 2.243 MB / 0.5268 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007614/0.6705, allocations: 3.262 MB / 0.53 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003798/0.6743, allocations: 496 kB / 0.5305 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006913/0.6813, allocations: 1.387 MB / 0.5318 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005208/0.6866, allocations: 2.669 MB / 0.5345 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007347/0.6939, allocations: 3.046 MB / 0.5374 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.7118, allocations: 9.362 MB / 0.5466 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.7119, allocations: 0 / 0.5466 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7119, allocations: 0 / 0.5466 GB, free: 5.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004617/0.7124, allocations: 0 / 0.5466 GB, free: 5.566 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02291/0.7353, allocations: 6.346 MB / 0.5528 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.7354, allocations: 15.89 kB / 0.5528 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.7487, allocations: 2.614 MB / 0.5553 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.7595, allocations: 3.973 MB / 0.5592 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.7599, allocations: 312.5 kB / 0.5595 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.7624, allocations: 448 kB / 0.5599 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.7948, allocations: 12.24 MB / 0.5719 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.7951, allocations: 47.53 kB / 0.5719 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006135/0.7957, allocations: 195.8 kB / 0.5721 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003734/0.7995, allocations: 2.21 MB / 0.5743 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/0.8224, allocations: 10.54 MB / 0.5846 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3628/1.185, allocations: 47.58 MB / 0.631 GB, free: 134.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/1.196, allocations: 4.589 MB / 0.6355 GB, free: 133.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/1.2, allocations: 2.639 MB / 0.6381 GB, free: 133.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.217, allocations: 10.44 MB / 0.6483 GB, free: 129.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/1.217, allocations: 58.77 kB / 0.6484 GB, free: 129.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 6.241e-06/1.217, allocations: 0 / 0.6484 GB, free: 129.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05151/1.268, allocations: 21 MB / 0.6689 GB, free: 122.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/1.268, allocations: 204.3 kB / 0.6691 GB, free: 122 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009469/1.278, allocations: 4.823 MB / 0.6738 GB, free: 120.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005378/1.278, allocations: 56.92 kB / 0.6738 GB, free: 120.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002737/1.281, allocations: 3.727 MB / 0.6775 GB, free: 117.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.282, allocations: 0.8264 MB / 0.6783 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/1.285, allocations: 1.393 MB / 0.6796 GB, free: 116.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/1.285, allocations: 304.7 kB / 0.6799 GB, free: 115.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004287/1.289, allocations: 2.579 MB / 0.6824 GB, free: 114.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006001/1.295, allocations: 6.562 MB / 0.6888 GB, free: 108.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.306, allocations: 9.796 MB / 0.6984 GB, free: 101 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.306, allocations: 40.28 kB / 0.6984 GB, free: 101 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01964/1.326, allocations: 10.28 MB / 0.7085 GB, free: 96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/1.326, allocations: 64 kB / 0.7085 GB, free: 95.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/1.326, allocations: 140 kB / 0.7087 GB, free: 95.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/1.33, allocations: 1.625 MB / 0.7103 GB, free: 94.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.335, allocations: 1.567 MB / 0.7118 GB, free: 93.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009912/1.345, allocations: 10.27 MB / 0.7218 GB, free: 83.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/1.351, allocations: 383.3 kB / 0.7222 GB, free: 82.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.352, allocations: 409 kB / 0.7226 GB, free: 82.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004567/1.357, allocations: 2.573 MB / 0.7251 GB, free: 79.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.358, allocations: 426.5 kB / 0.7255 GB, free: 79.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007505/1.365, allocations: 4.625 MB / 0.73 GB, free: 74.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-05/1.366, allocations: 24 kB / 0.73 GB, free: 74.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/1.366, allocations: 8 kB / 0.73 GB, free: 74.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/1.366, allocations: 11.91 kB / 0.7301 GB, free: 74.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.388, allocations: 10.48 MB / 0.7403 GB, free: 64.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/1.388, allocations: 3.938 kB / 0.7403 GB, free: 64.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.39, allocations: 347.4 kB / 0.7406 GB, free: 63.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/1.394, allocations: 1.371 MB / 0.742 GB, free: 62.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.394, allocations: 39.5 kB / 0.742 GB, free: 62.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/1.403, allocations: 9.376 MB / 0.7512 GB, free: 52.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.403, allocations: 4.406 kB / 0.7512 GB, free: 52.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.413, allocations: 7.562 MB / 0.7585 GB, free: 45.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.416, allocations: 0.7883 MB / 0.7593 GB, free: 44.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007699/1.416, allocations: 39.94 kB / 0.7594 GB, free: 44.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.418, allocations: 131.8 kB / 0.7595 GB, free: 44.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/1.419, allocations: 133.8 kB / 0.7596 GB, free: 43.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.419, allocations: 56 kB / 0.7597 GB, free: 43.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003788/1.423, allocations: 3.045 MB / 0.7626 GB, free: 40.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 0 / 0.7626 GB, free: 40.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007002/1.43, allocations: 1.264 MB / 0.7639 GB, free: 39.62 MB / 494.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005597/1.43, allocations: 174.2 kB / 0.764 GB, free: 39.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01392/1.444, allocations: 7.777 MB / 0.7716 GB, free: 31.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.444, allocations: 0 / 0.7716 GB, free: 31.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003115/1.447, allocations: 2.204 MB / 0.7738 GB, free: 29.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.452, allocations: 0.5558 MB / 0.7743 GB, free: 28.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.475, allocations: 14.39 MB / 0.7884 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005101/1.48, allocations: 3.991 MB / 0.7923 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005158/1.485, allocations: 2.094 MB / 0.7943 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.486, allocations: 283.4 kB / 0.7946 GB, free: 8.152 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.486, allocations: 3.938 kB / 0.7946 GB, free: 8.148 MB / 494.1 MB Notification: Performance of Templates: time 0.345/1.831, allocations: 47.42 MB / 0.8409 GB, free: 142.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)