Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004035/0.004041, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.028/4.028, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003489/0.003489, allocations: 228.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5467/0.5467, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006407, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09749, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.411/0.5085, allocations: 71.63 MB / 0.7501 GB, free: 9.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05083/0.5594, allocations: 14.69 MB / 0.7644 GB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01835/0.5778, allocations: 338.8 kB / 0.7647 GB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01401/0.5919, allocations: 3.566 MB / 0.7682 GB, free: 12.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06241/0.6543, allocations: 12.07 MB / 0.78 GB, free: 3.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.6609, allocations: 0.8075 MB / 0.7808 GB, free: 2.391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07585/0.7368, allocations: 31.02 MB / 0.8111 GB, free: 3.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01834/0.7552, allocations: 7.874 MB / 0.8188 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006593/0.7619, allocations: 2.382 MB / 0.8211 GB, free: 9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008888/0.7708, allocations: 3.785 MB / 0.8248 GB, free: 5.203 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002307/0.7732, allocations: 292 kB / 0.8251 GB, free: 4.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005147/0.7783, allocations: 1.073 MB / 0.8261 GB, free: 3.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006311/0.7847, allocations: 3.315 MB / 0.8294 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.7884, allocations: 1.637 MB / 0.831 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.8073, allocations: 10.84 MB / 0.8415 GB, free: 4.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.8074, allocations: 0 / 0.8415 GB, free: 4.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.8074, allocations: 0 / 0.8415 GB, free: 4.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005193/0.808, allocations: 0 / 0.8415 GB, free: 4.004 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.0268/0.8348, allocations: 7.599 MB / 0.849 GB, free: 12.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.8349, allocations: 8.031 kB / 0.849 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1096/0.9445, allocations: 6.614 MB / 0.8554 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/0.9651, allocations: 5.004 MB / 0.8603 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/0.9658, allocations: 451.5 kB / 0.8607 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/0.9693, allocations: 0.5932 MB / 0.8613 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05748/1.027, allocations: 20.72 MB / 0.8816 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/1.027, allocations: 67.31 kB / 0.8816 GB, free: 9.727 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002539/1.03, allocations: 287.7 kB / 0.8819 GB, free: 9.445 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01226/1.042, allocations: 4.29 MB / 0.8861 GB, free: 5.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06354/1.106, allocations: 18.38 MB / 0.904 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8519/1.958, allocations: 75.49 MB / 0.9778 GB, free: 110.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02753/1.985, allocations: 8.26 MB / 0.9858 GB, free: 104.9 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01079/1.996, allocations: 5.352 MB / 0.991 GB, free: 99.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/1.996, allocations: 59.64 kB / 0.9911 GB, free: 99.51 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/1.997, allocations: 89.17 kB / 0.9912 GB, free: 99.41 MB / 490.8 MB Notification: Performance of pre-optimization done (n=450): time 9.478e-06/1.997, allocations: 0 / 0.9912 GB, free: 99.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=497): time 0.1778/2.174, allocations: 43.46 MB / 1.034 GB, free: 55.87 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/2.175, allocations: 231 kB / 1.034 GB, free: 55.6 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/2.191, allocations: 6.445 MB / 1.04 GB, free: 49.15 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001546/2.193, allocations: 97.53 kB / 1.04 GB, free: 49.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006781/2.199, allocations: 5.629 MB / 1.046 GB, free: 43.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004246/2.204, allocations: 1.805 MB / 1.048 GB, free: 41.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/2.206, allocations: 233.4 kB / 1.048 GB, free: 41.41 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001296/2.207, allocations: 0.8096 MB / 1.049 GB, free: 40.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01899/2.226, allocations: 5.156 MB / 1.054 GB, free: 35.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02517/2.251, allocations: 11.33 MB / 1.065 GB, free: 21.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01966/2.271, allocations: 7.589 MB / 1.072 GB, free: 13.53 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/2.271, allocations: 60 kB / 1.072 GB, free: 13.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=1521) (initialization): time 0.06373/2.335, allocations: 18.22 MB / 1.09 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/2.336, allocations: 97 kB / 1.09 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004797/2.336, allocations: 212 kB / 1.09 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/2.352, allocations: 2.381 MB / 1.093 GB, free: 8.52 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02262/2.375, allocations: 2.644 MB / 1.095 GB, free: 5.871 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3961/2.771, allocations: 16.12 MB / 1.111 GB, free: 154.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0182/2.789, allocations: 0.6889 MB / 1.111 GB, free: 154.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003504/2.793, allocations: 0.636 MB / 1.112 GB, free: 154.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1397): * Single equations (assignments): 1384 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(3,77.8%) 40,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01598/2.809, allocations: 4.181 MB / 1.116 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002378/2.811, allocations: 0.6062 MB / 1.117 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04078/2.852, allocations: 10.57 MB / 1.127 GB, free: 149.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001398/2.852, allocations: 22.09 kB / 1.127 GB, free: 149.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/2.852, allocations: 3 kB / 1.127 GB, free: 149.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/2.857, allocations: 1.422 MB / 1.129 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002713/2.86, allocations: 70.03 kB / 1.129 GB, free: 148.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006598/2.867, allocations: 321.7 kB / 1.129 GB, free: 148.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/2.869, allocations: 298.4 kB / 1.129 GB, free: 148.7 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03471/2.903, allocations: 10.5 MB / 1.139 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03408/2.937, allocations: 14.72 MB / 1.154 GB, free: 138.4 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008712/2.946, allocations: 4.119 MB / 1.158 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008469/2.955, allocations: 3.996 MB / 1.162 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of Backend: time 9.12e-07/2.955, allocations: 0 / 1.162 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02756/2.982, allocations: 9.243 MB / 1.171 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04524/3.028, allocations: 21.34 MB / 1.192 GB, free: 101 MB / 0.4949 GB Notification: Performance of Templates: time 0.2378/3.266, allocations: 90.87 MB / 1.28 GB, free: 10.36 MB / 0.4949 GB