Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 79.88 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3153, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01705/0.3324, allocations: 16.69 MB / 0.548 GB, free: 496 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3437, allocations: 5.343 MB / 0.5532 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3476, allocations: 119.6 kB / 0.5533 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00982/0.3574, allocations: 5.253 MB / 0.5584 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.3655, allocations: 2.626 MB / 0.561 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.3686, allocations: 1.213 MB / 0.5622 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.3795, allocations: 8.248 MB / 0.5702 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008557/0.3881, allocations: 6.922 MB / 0.577 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.3926, allocations: 2.715 MB / 0.5796 GB, free: 388 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.3979, allocations: 3.583 MB / 0.5831 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001804/0.3997, allocations: 0.5859 MB / 0.5837 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.4034, allocations: 1.471 MB / 0.5851 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004012/0.4074, allocations: 3.226 MB / 0.5883 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006317/0.4138, allocations: 3.59 MB / 0.5918 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.4268, allocations: 11.12 MB / 0.6027 GB, free: 8.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4269, allocations: 0 / 0.6027 GB, free: 8.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4269, allocations: 0 / 0.6027 GB, free: 8.719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003634/0.4273, allocations: 0 / 0.6027 GB, free: 8.719 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2120 * Number of variables: 2120 Notification: Performance of Generate backend data structure: time 0.0192/0.4465, allocations: 7.933 MB / 0.6104 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4465, allocations: 8.031 kB / 0.6104 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03945/0.486, allocations: 4.138 MB / 0.6145 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.4999, allocations: 4.946 MB / 0.6193 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/0.5004, allocations: 362 kB / 0.6196 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.5028, allocations: 0.5231 MB / 0.6201 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/0.5336, allocations: 15.15 MB / 0.6349 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002324/0.5339, allocations: 71.42 kB / 0.635 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/0.5352, allocations: 231.8 kB / 0.6352 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005413/0.5406, allocations: 2.723 MB / 0.6379 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.5683, allocations: 13.68 MB / 0.6512 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08435/0.6527, allocations: 60.63 MB / 0.7105 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/0.6717, allocations: 7.057 MB / 0.7173 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2803/0.9521, allocations: 5.383 MB / 0.7226 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02524/0.9774, allocations: 17.76 MB / 0.7399 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.9775, allocations: 64.97 kB / 0.74 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 7.424e-06/0.9775, allocations: 0 / 0.74 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.1457/1.123, allocations: 60.13 MB / 0.7987 GB, free: 97.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.123, allocations: 325.3 kB / 0.799 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007583/1.131, allocations: 5.757 MB / 0.8047 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.132, allocations: 81.7 kB / 0.8047 GB, free: 91.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/1.134, allocations: 4.183 MB / 0.8088 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.136, allocations: 1.397 MB / 0.8102 GB, free: 86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002347/1.138, allocations: 1.788 MB / 0.8119 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/1.138, allocations: 309.1 kB / 0.8122 GB, free: 83.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006195/1.145, allocations: 5.198 MB / 0.8173 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007985/1.153, allocations: 9.534 MB / 0.8266 GB, free: 67.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/1.169, allocations: 15.63 MB / 0.8419 GB, free: 49.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.169, allocations: 43.94 kB / 0.8419 GB, free: 49.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1120) (initialization): time 0.0384/1.208, allocations: 19.54 MB / 0.861 GB, free: 29.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/1.208, allocations: 68.94 kB / 0.8611 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002092/1.208, allocations: 144 kB / 0.8612 GB, free: 29.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.223, allocations: 5.433 MB / 0.8665 GB, free: 24.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007483/1.231, allocations: 2.012 MB / 0.8685 GB, free: 22.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03794/1.269, allocations: 29.21 MB / 0.897 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009252/1.278, allocations: 0.6201 MB / 0.8976 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002377/1.28, allocations: 487.9 kB / 0.8981 GB, free: 7.324 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * Number of states: 0 () * Number of discrete variables: 59 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1017): * Single equations (assignments): 1011 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007556/1.288, allocations: 3.058 MB / 0.9011 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002149/1.29, allocations: 0.5207 MB / 0.9016 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/1.322, allocations: 14.07 MB / 0.9153 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/1.322, allocations: 19.92 kB / 0.9153 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.322, allocations: 4 kB / 0.9153 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.324, allocations: 0.5957 MB / 0.9159 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002387/1.326, allocations: 61.33 kB / 0.916 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006268/1.333, allocations: 367.4 kB / 0.9163 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/1.335, allocations: 298.2 kB / 0.9166 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03165/1.366, allocations: 13.52 MB / 0.9298 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02503/1.391, allocations: 15.95 MB / 0.9454 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.319/1.71, allocations: 4.584 MB / 0.9499 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00695/1.717, allocations: 3.69 MB / 0.9535 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of Backend: time 8.62e-07/1.717, allocations: 0 / 0.9535 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02061/1.738, allocations: 9.559 MB / 0.9628 GB, free: 201.5 MB / 0.6231 GB Notification: Performance of SimCode: time 0.02295/1.761, allocations: 14.69 MB / 0.9771 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.1423/1.903, allocations: 109.8 MB / 1.084 GB, free: 96.74 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)