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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003194/0.003194, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.627/1.627, allocations: 205.1 MB / 222 MB, free: 4.758 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.3783/0.3783, allocations: 39.94 MB / 309.3 MB, free: 9.352 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.001463/0.001463, allocations: 70.55 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 56.88 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.3616/0.5049, allocations: 87.41 MB / 0.509 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05165/0.5566, allocations: 17.14 MB / 0.5257 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0272/0.5839, allocations: 391 kB / 0.5261 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.5966, allocations: 5.296 MB / 0.5313 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.6088, allocations: 2.531 MB / 0.5338 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.6144, allocations: 1.112 MB / 0.5348 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02158/0.636, allocations: 11.14 MB / 0.5457 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.6472, allocations: 6.828 MB / 0.5524 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/0.6535, allocations: 2.48 MB / 0.5548 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007336/0.6609, allocations: 3.965 MB / 0.5587 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.663, allocations: 432 kB / 0.5591 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.6673, allocations: 1.358 MB / 0.5604 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.6713, allocations: 3.187 MB / 0.5635 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007372/0.6786, allocations: 3.573 MB / 0.567 GB, free: 424 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.6967, allocations: 11.22 MB / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.6968, allocations: 0 / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6968, allocations: 0 / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000503/0.6973, allocations: 4 kB / 0.578 GB, free: 5.156 MB / 446.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.02607/0.7234, allocations: 8.155 MB / 0.586 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.7235, allocations: 12.03 kB / 0.586 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/0.7584, allocations: 4.146 MB / 0.59 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.7733, allocations: 5.134 MB / 0.595 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/0.7739, allocations: 386.3 kB / 0.5954 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.7766, allocations: 0.5389 MB / 0.5959 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/0.814, allocations: 15.85 MB / 0.6114 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/0.8144, allocations: 71.36 kB / 0.6115 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/0.817, allocations: 239.8 kB / 0.6117 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006045/0.823, allocations: 2.907 MB / 0.6145 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03332/0.8564, allocations: 14.29 MB / 0.6285 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.369/1.225, allocations: 62.95 MB / 0.69 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02072/1.246, allocations: 7.288 MB / 0.6971 GB, free: 98.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009304/1.256, allocations: 5.556 MB / 0.7025 GB, free: 96.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03312/1.289, allocations: 18.36 MB / 0.7204 GB, free: 85.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/1.289, allocations: 68.39 kB / 0.7205 GB, free: 85.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=310): time 6.282e-06/1.289, allocations: 0 / 0.7205 GB, free: 85.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=394): time 0.1499/1.439, allocations: 60.38 MB / 0.7795 GB, free: 26.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.439, allocations: 329.4 kB / 0.7798 GB, free: 25.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008009/1.447, allocations: 5.892 MB / 0.7855 GB, free: 19.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.448, allocations: 81.7 kB / 0.7856 GB, free: 19.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/1.45, allocations: 4.338 MB / 0.7899 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.452, allocations: 1.438 MB / 0.7913 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002413/1.454, allocations: 1.832 MB / 0.793 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/1.454, allocations: 301.1 kB / 0.7933 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005948/1.46, allocations: 5.182 MB / 0.7984 GB, free: 6.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009032/1.469, allocations: 9.635 MB / 0.8078 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2648/1.734, allocations: 15.73 MB / 0.8232 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/1.734, allocations: 46 kB / 0.8232 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03778/1.772, allocations: 19.6 MB / 0.8424 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.772, allocations: 70.03 kB / 0.8424 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/1.772, allocations: 153.2 kB / 0.8426 GB, free: 135.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/1.789, allocations: 5.441 MB / 0.8479 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008939/1.798, allocations: 2.076 MB / 0.8499 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04165/1.84, allocations: 27.34 MB / 0.8766 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.85, allocations: 0.6334 MB / 0.8772 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/1.852, allocations: 0.4947 MB / 0.8777 GB, free: 121.3 MB / 0.4981 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.006273/1.859, allocations: 3.161 MB / 0.8808 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.86, allocations: 0.541 MB / 0.8813 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02384/1.884, allocations: 13.98 MB / 0.895 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-05/1.884, allocations: 43.19 kB / 0.895 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-05/1.884, allocations: 19.94 kB / 0.895 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/1.884, allocations: 23.88 kB / 0.8951 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04228/1.927, allocations: 24.22 MB / 0.9187 GB, free: 86.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/1.927, allocations: 4 kB / 0.9187 GB, free: 86.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/1.931, allocations: 0.6786 MB / 0.9194 GB, free: 85.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/1.944, allocations: 5.225 MB / 0.9245 GB, free: 80.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001451/1.946, allocations: 71.98 kB / 0.9245 GB, free: 80.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03056/1.977, allocations: 26.68 MB / 0.9506 GB, free: 53.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.977, allocations: 0 / 0.9506 GB, free: 53.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03308/2.01, allocations: 20.69 MB / 0.9708 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005759/2.016, allocations: 1.49 MB / 0.9723 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00268/2.018, allocations: 64 kB / 0.9723 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/2.023, allocations: 375 kB / 0.9727 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001733/2.025, allocations: 250.8 kB / 0.9729 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005/2.026, allocations: 99.98 kB / 0.973 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006408/2.032, allocations: 3.781 MB / 0.9767 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.21e-07/2.032, allocations: 0 / 0.9767 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01119/2.043, allocations: 2.003 MB / 0.9787 GB, free: 24.43 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 299 * 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 {(3,12,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/2.045, allocations: 216.6 kB / 0.9789 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.022/2.067, allocations: 13.37 MB / 0.9919 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/2.067, allocations: 0 / 0.9919 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01236/2.079, allocations: 6.447 MB / 0.9982 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/2.086, allocations: 0.7065 MB / 0.9989 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.259/2.345, allocations: 21.38 MB / 1.02 GB, free: 150.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007811/2.353, allocations: 4.946 MB / 1.025 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008369/2.361, allocations: 2.897 MB / 1.027 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002328/2.363, allocations: 402.7 kB / 1.028 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.754e-06/2.363, allocations: 0 / 1.028 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1474/2.511, allocations: 93.57 MB / 1.119 GB, free: 87.27 MB / 0.5137 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)