Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002131/0.002131, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.622/1.622, allocations: 194.3 MB / 207.5 MB, free: 3.379 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 108.4 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2232/0.2232, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.042e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09955, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.5077, allocations: 101.5 MB / 0.5436 GB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.508, allocations: 84.58 kB / 0.5437 GB, free: 6.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.663/1.171, allocations: 131.2 MB / 0.6718 GB, free: 84.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.171, allocations: 0 / 0.6718 GB, free: 84.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005235/1.172, allocations: 137.5 kB / 0.672 GB, free: 84.91 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.02846/1.2, allocations: 6.877 MB / 0.6787 GB, free: 82.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.2, allocations: 11.11 kB / 0.6787 GB, free: 82.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0378/1.238, allocations: 9.413 MB / 0.6879 GB, free: 82.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.261, allocations: 8.989 MB / 0.6967 GB, free: 81.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006826/1.262, allocations: 489.3 kB / 0.6971 GB, free: 81.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004255/1.266, allocations: 0.6427 MB / 0.6978 GB, free: 81.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04279/1.309, allocations: 16.22 MB / 0.7136 GB, free: 77.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005111/1.309, allocations: 83.56 kB / 0.7137 GB, free: 77.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003109/1.313, allocations: 303.6 kB / 0.714 GB, free: 77.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/1.315, allocations: 1.536 MB / 0.7155 GB, free: 77.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02963/1.345, allocations: 14.07 MB / 0.7292 GB, free: 77.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08694/1.432, allocations: 70.53 MB / 0.7981 GB, free: 25.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/1.45, allocations: 7.362 MB / 0.8053 GB, free: 19.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006163/1.456, allocations: 5.243 MB / 0.8104 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03133/1.487, allocations: 18.02 MB / 0.828 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.501e-05/1.488, allocations: 70.72 kB / 0.8281 GB, free: 15.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=310): time 7.885e-06/1.488, allocations: 7.938 kB / 0.8281 GB, free: 15.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=404): time 0.4599/1.948, allocations: 51.51 MB / 0.8784 GB, free: 91.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/1.948, allocations: 325 kB / 0.8787 GB, free: 90.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007545/1.955, allocations: 4.894 MB / 0.8835 GB, free: 90.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001455/1.957, allocations: 99.41 kB / 0.8836 GB, free: 90.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.959, allocations: 4.413 MB / 0.8879 GB, free: 88.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.962, allocations: 1.462 MB / 0.8893 GB, free: 87.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006222/1.962, allocations: 172.1 kB / 0.8895 GB, free: 87.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003744/1.963, allocations: 0.6602 MB / 0.8901 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006464/1.969, allocations: 4.91 MB / 0.8949 GB, free: 87.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00935/1.978, allocations: 9.306 MB / 0.904 GB, free: 81.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.989, allocations: 6.7 MB / 0.9105 GB, free: 79.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.989, allocations: 43.56 kB / 0.9106 GB, free: 79.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03883/2.028, allocations: 18.4 MB / 0.9285 GB, free: 73.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/2.028, allocations: 74.11 kB / 0.9286 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002885/2.028, allocations: 160.1 kB / 0.9288 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/2.042, allocations: 4.768 MB / 0.9334 GB, free: 72.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/2.05, allocations: 2.021 MB / 0.9354 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03411/2.084, allocations: 25.4 MB / 0.9602 GB, free: 53.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008985/2.093, allocations: 0.6096 MB / 0.9608 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/2.096, allocations: 495.1 kB / 0.9613 GB, free: 52.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1001): * Single equations (assignments): 995 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,44.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003793/2.099, allocations: 0.7266 MB / 0.962 GB, free: 51.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002138/2.102, allocations: 0.5476 MB / 0.9625 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/2.128, allocations: 13.34 MB / 0.9755 GB, free: 40.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/2.128, allocations: 44 kB / 0.9756 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/2.128, allocations: 19.09 kB / 0.9756 GB, free: 40.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/2.128, allocations: 17.11 kB / 0.9756 GB, free: 40.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04467/2.173, allocations: 23.73 MB / 0.9988 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/2.173, allocations: 4 kB / 0.9988 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004101/2.177, allocations: 0.7059 MB / 0.9995 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/2.189, allocations: 4.526 MB / 1.004 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001106/2.19, allocations: 64 kB / 1.004 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3365/2.526, allocations: 24.58 MB / 1.028 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/2.526, allocations: 2.094 kB / 1.028 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04434/2.571, allocations: 20.06 MB / 1.048 GB, free: 98.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/2.576, allocations: 1.457 MB / 1.049 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002459/2.578, allocations: 65.41 kB / 1.049 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004973/2.583, allocations: 359.3 kB / 1.049 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/2.584, allocations: 256.3 kB / 1.05 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004228/2.585, allocations: 102.5 kB / 1.05 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006556/2.591, allocations: 3.474 MB / 1.053 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.591, allocations: 3.344 kB / 1.053 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01046/2.602, allocations: 1.926 MB / 1.055 GB, free: 97.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (315): * Single equations (assignments): 309 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/2.603, allocations: 224.7 kB / 1.055 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02229/2.625, allocations: 12.92 MB / 1.068 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.625, allocations: 2.25 kB / 1.068 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/2.637, allocations: 6.205 MB / 1.074 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004921/2.642, allocations: 0.7007 MB / 1.075 GB, free: 96.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/2.67, allocations: 15.32 MB / 1.09 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006131/2.676, allocations: 5.096 MB / 1.095 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007829/2.684, allocations: 2.967 MB / 1.097 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/2.686, allocations: 402.2 kB / 1.098 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/2.686, allocations: 0 / 1.098 GB, free: 89.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.1292/2.815, allocations: 85.28 MB / 1.181 GB, free: 26.91 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)