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.001434/0.001434, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 210.8 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.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3065, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01631/0.3228, allocations: 16.68 MB / 0.548 GB, free: 464 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3334, allocations: 5.342 MB / 0.5532 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.336, allocations: 119.6 kB / 0.5533 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008669/0.3447, allocations: 5.253 MB / 0.5584 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.351, allocations: 2.544 MB / 0.5609 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.3535, allocations: 1.213 MB / 0.5621 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3636, allocations: 8.264 MB / 0.5702 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007114/0.3707, allocations: 6.918 MB / 0.5769 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.3748, allocations: 2.707 MB / 0.5796 GB, free: 452 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005249/0.3801, allocations: 3.591 MB / 0.5831 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.3813, allocations: 0.5898 MB / 0.5836 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.3841, allocations: 1.463 MB / 0.5851 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.3872, allocations: 3.219 MB / 0.5882 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003957/0.3912, allocations: 3.59 MB / 0.5917 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.4024, allocations: 11.13 MB / 0.6026 GB, free: 8.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4025, allocations: 8 kB / 0.6026 GB, free: 8.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4025, allocations: 3.984 kB / 0.6026 GB, free: 8.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002606/0.4028, allocations: 0 / 0.6026 GB, free: 8.77 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.01795/0.4207, allocations: 7.914 MB / 0.6103 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4208, allocations: 12.03 kB / 0.6103 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0362/0.457, allocations: 4.142 MB / 0.6144 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.4689, allocations: 4.943 MB / 0.6192 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.4692, allocations: 374 kB / 0.6196 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.4712, allocations: 0.5192 MB / 0.6201 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.4985, allocations: 15.15 MB / 0.6349 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002134/0.4987, allocations: 67.42 kB / 0.6349 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.4999, allocations: 235.8 kB / 0.6352 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/0.505, allocations: 2.727 MB / 0.6378 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.5317, allocations: 13.67 MB / 0.6512 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08351/0.6153, allocations: 60.63 MB / 0.7104 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/0.6331, allocations: 7.053 MB / 0.7173 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2602/0.8934, allocations: 5.389 MB / 0.7225 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/0.9155, allocations: 17.75 MB / 0.7399 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.9156, allocations: 71.03 kB / 0.7399 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 5.871e-06/0.9156, allocations: 4.125 kB / 0.7399 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.1367/1.052, allocations: 60.11 MB / 0.7987 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.052, allocations: 325.2 kB / 0.799 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006431/1.059, allocations: 5.753 MB / 0.8046 GB, free: 91.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.06, allocations: 81.7 kB / 0.8047 GB, free: 91.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/1.062, allocations: 4.18 MB / 0.8087 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.063, allocations: 1.397 MB / 0.8101 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/1.066, allocations: 1.796 MB / 0.8119 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/1.066, allocations: 301.1 kB / 0.8121 GB, free: 83.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006437/1.072, allocations: 5.205 MB / 0.8172 GB, free: 78.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008609/1.081, allocations: 9.526 MB / 0.8265 GB, free: 67.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.097, allocations: 15.64 MB / 0.8418 GB, free: 49.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.531e-05/1.097, allocations: 44 kB / 0.8418 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1120) (initialization): time 0.03223/1.129, allocations: 19.53 MB / 0.8609 GB, free: 29.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/1.129, allocations: 71.98 kB / 0.861 GB, free: 29.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.129, allocations: 149.2 kB / 0.8611 GB, free: 29.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/1.143, allocations: 5.427 MB / 0.8664 GB, free: 24.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006931/1.15, allocations: 2.023 MB / 0.8684 GB, free: 22.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03369/1.184, allocations: 29.2 MB / 0.8969 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007262/1.191, allocations: 0.6162 MB / 0.8975 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.192, allocations: 495.6 kB / 0.898 GB, free: 7.367 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.004639/1.197, allocations: 3.054 MB / 0.901 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.198, allocations: 0.5246 MB / 0.9015 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/1.224, allocations: 14.07 MB / 0.9152 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.702e-05/1.224, allocations: 19.94 kB / 0.9152 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.224, allocations: 0 / 0.9152 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.226, allocations: 0.5996 MB / 0.9158 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/1.228, allocations: 64 kB / 0.9159 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004365/1.233, allocations: 363.4 kB / 0.9162 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.234, allocations: 302.2 kB / 0.9165 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02676/1.26, allocations: 13.52 MB / 0.9297 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02092/1.281, allocations: 15.95 MB / 0.9453 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2666/1.548, allocations: 4.584 MB / 0.9498 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006212/1.554, allocations: 3.687 MB / 0.9534 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of Backend: time 6.61e-07/1.554, allocations: 3.875 kB / 0.9534 GB, free: 204.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01984/1.574, allocations: 9.555 MB / 0.9627 GB, free: 201.4 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01955/1.594, allocations: 14.69 MB / 0.9771 GB, free: 195.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.1408/1.735, allocations: 111.4 MB / 1.086 GB, free: 95.25 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)