Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 110.1 kB / 17.09 MB, free: 6.008 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.00122/0.00122, allocations: 194.2 kB / 18.02 MB, free: 5.094 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1983/0.1983, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 57.78 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01773/0.1294, allocations: 17.51 MB / 0.5057 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1409, allocations: 5.429 MB / 0.511 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.144, allocations: 123.6 kB / 0.5111 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009561/0.1537, allocations: 5.292 MB / 0.5162 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007454/0.1612, allocations: 2.684 MB / 0.5189 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.164, allocations: 1.217 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.1753, allocations: 7.811 MB / 0.5277 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2364/0.4117, allocations: 7.012 MB / 0.5345 GB, free: 7.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/0.4178, allocations: 2.803 MB / 0.5373 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008361/0.4262, allocations: 3.749 MB / 0.5409 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002536/0.4287, allocations: 0.6111 MB / 0.5415 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004659/0.4334, allocations: 1.481 MB / 0.543 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004566/0.438, allocations: 3.368 MB / 0.5463 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006661/0.4447, allocations: 3.762 MB / 0.5499 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.459, allocations: 11.69 MB / 0.5613 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4591, allocations: 0 / 0.5613 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4591, allocations: 0 / 0.5613 GB, free: 1.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004739/0.4595, allocations: 0 / 0.5613 GB, free: 1.934 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: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.02294/0.4825, allocations: 8.164 MB / 0.5693 GB, free: 12.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4826, allocations: 18.98 kB / 0.5693 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03462/0.5172, allocations: 4.147 MB / 0.5734 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.5312, allocations: 5.242 MB / 0.5785 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.5316, allocations: 386.5 kB / 0.5789 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/0.5342, allocations: 0.5345 MB / 0.5794 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.5638, allocations: 15.84 MB / 0.5949 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.5641, allocations: 71.05 kB / 0.5949 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006979/0.5648, allocations: 242.1 kB / 0.5952 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005324/0.5701, allocations: 2.913 MB / 0.598 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/0.5988, allocations: 14.28 MB / 0.6119 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08409/0.683, allocations: 62.65 MB / 0.6731 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/0.7012, allocations: 7.292 MB / 0.6802 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006793/0.708, allocations: 5.554 MB / 0.6857 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02898/0.737, allocations: 18.38 MB / 0.7036 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.417e-05/0.7371, allocations: 67.77 kB / 0.7037 GB, free: 7.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=310): time 6.963e-06/0.7371, allocations: 0 / 0.7037 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=394): time 0.4111/1.148, allocations: 60.39 MB / 0.7627 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.148, allocations: 327.9 kB / 0.763 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009456/1.158, allocations: 5.89 MB / 0.7687 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/1.159, allocations: 87.36 kB / 0.7688 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002848/1.162, allocations: 4.337 MB / 0.773 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.164, allocations: 1.438 MB / 0.7744 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/1.167, allocations: 1.828 MB / 0.7762 GB, free: 198.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/1.167, allocations: 304.1 kB / 0.7765 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007642/1.175, allocations: 5.186 MB / 0.7816 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008527/1.183, allocations: 9.633 MB / 0.791 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/1.2, allocations: 15.73 MB / 0.8064 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/1.2, allocations: 43.44 kB / 0.8064 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03657/1.236, allocations: 19.61 MB / 0.8255 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/1.237, allocations: 71.28 kB / 0.8256 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.237, allocations: 152 kB / 0.8258 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/1.251, allocations: 5.438 MB / 0.8311 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007261/1.258, allocations: 2.083 MB / 0.8331 GB, free: 158.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03379/1.292, allocations: 29.18 MB / 0.8616 GB, free: 129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008451/1.3, allocations: 0.634 MB / 0.8622 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.302, allocations: 0.4971 MB / 0.8627 GB, free: 127.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 57 (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 (1048): * Single equations (assignments): 1042 * 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,44.4%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006732/1.309, allocations: 3.158 MB / 0.8658 GB, free: 124.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.311, allocations: 0.54 MB / 0.8663 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02437/1.335, allocations: 13.98 MB / 0.88 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/1.335, allocations: 20.62 kB / 0.88 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/1.335, allocations: 0 / 0.88 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004177/1.339, allocations: 1.497 MB / 0.8815 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.341, allocations: 67.84 kB / 0.8815 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003978/1.345, allocations: 377.1 kB / 0.8819 GB, free: 108.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008283/1.346, allocations: 302.9 kB / 0.8822 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02221/1.368, allocations: 13.45 MB / 0.8953 GB, free: 94.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01724/1.385, allocations: 15.78 MB / 0.9107 GB, free: 78.61 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004737/1.39, allocations: 4.531 MB / 0.9151 GB, free: 74.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006907/1.397, allocations: 3.773 MB / 0.9188 GB, free: 70.32 MB / 0.5919 GB Notification: Performance of Backend: time 4.5e-07/1.397, allocations: 0 / 0.9188 GB, free: 70.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0224/1.419, allocations: 9.561 MB / 0.9282 GB, free: 60.78 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02747/1.447, allocations: 15.14 MB / 0.9429 GB, free: 45.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.4226/1.87, allocations: 112 MB / 1.052 GB, free: 149.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)