Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002591/0.002595, allocations: 355.4 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.482/3.482, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004267/0.004267, allocations: 225.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4555/0.4555, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007236/0.0007241, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09492, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.3506/0.4456, allocations: 71.58 MB / 0.6767 GB, free: 41.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04026/0.4859, allocations: 14.65 MB / 0.691 GB, free: 26.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01634/0.5023, allocations: 339.2 kB / 0.6913 GB, free: 26.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.5153, allocations: 3.562 MB / 0.6948 GB, free: 22.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04736/0.5627, allocations: 12.08 MB / 0.7066 GB, free: 10.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007293/0.57, allocations: 0.8108 MB / 0.7073 GB, free: 9.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07072/0.6408, allocations: 31.03 MB / 0.7377 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01823/0.6591, allocations: 7.871 MB / 0.7453 GB, free: 2.824 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/0.6655, allocations: 2.385 MB / 0.7477 GB, free: 440 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00899/0.6745, allocations: 3.785 MB / 0.7514 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.677, allocations: 292 kB / 0.7516 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.682, allocations: 1.073 MB / 0.7527 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006495/0.6885, allocations: 3.323 MB / 0.7559 GB, free: 7.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003818/0.6924, allocations: 1.629 MB / 0.7575 GB, free: 6.297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3943/1.087, allocations: 10.84 MB / 0.7681 GB, free: 39.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/1.087, allocations: 0.6875 kB / 0.7681 GB, free: 39.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.087, allocations: 0 / 0.7681 GB, free: 39.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005454/1.087, allocations: 0.7812 kB / 0.7681 GB, free: 39.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3108 * Number of variables: 3108 Notification: Performance of Generate backend data structure: time 0.0275/1.115, allocations: 7.596 MB / 0.7755 GB, free: 35.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.115, allocations: 15.84 kB / 0.7755 GB, free: 35.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04664/1.162, allocations: 6.62 MB / 0.782 GB, free: 35.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.18, allocations: 5.004 MB / 0.7869 GB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007191/1.181, allocations: 460 kB / 0.7873 GB, free: 34.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004655/1.186, allocations: 0.5885 MB / 0.7879 GB, free: 34.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05811/1.244, allocations: 20.72 MB / 0.8081 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/1.244, allocations: 64.33 kB / 0.8082 GB, free: 30.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00415/1.248, allocations: 289.2 kB / 0.8085 GB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01156/1.26, allocations: 4.288 MB / 0.8127 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05414/1.314, allocations: 18.38 MB / 0.8306 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1688/1.483, allocations: 75.4 MB / 0.9042 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04028/1.523, allocations: 8.264 MB / 0.9123 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01338/1.537, allocations: 5.336 MB / 0.9175 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/1.537, allocations: 74.66 kB / 0.9176 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/1.537, allocations: 73.2 kB / 0.9177 GB, free: 1.309 MB / 474.7 MB Notification: Performance of pre-optimization done (n=450): time 1.083e-05/1.537, allocations: 0 / 0.9177 GB, free: 1.309 MB / 474.7 MB Notification: Performance of matching and sorting (n=497): time 0.7467/2.284, allocations: 43.48 MB / 0.9601 GB, free: 198.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/2.284, allocations: 231.2 kB / 0.9603 GB, free: 198.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/2.301, allocations: 6.458 MB / 0.9667 GB, free: 197.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001451/2.303, allocations: 95.36 kB / 0.9667 GB, free: 197 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005177/2.308, allocations: 5.621 MB / 0.9722 GB, free: 192.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003332/2.311, allocations: 1.814 MB / 0.974 GB, free: 191.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/2.313, allocations: 229.4 kB / 0.9742 GB, free: 191.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008196/2.314, allocations: 0.8118 MB / 0.975 GB, free: 190.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01401/2.328, allocations: 5.152 MB / 0.98 GB, free: 189 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01758/2.345, allocations: 11.33 MB / 0.9911 GB, free: 179.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/2.362, allocations: 7.589 MB / 0.9985 GB, free: 176.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/2.363, allocations: 61.59 kB / 0.9986 GB, free: 176.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1520) (initialization): time 0.05033/2.413, allocations: 18.22 MB / 1.016 GB, free: 163.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/2.413, allocations: 99.95 kB / 1.016 GB, free: 163.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003163/2.413, allocations: 212 kB / 1.017 GB, free: 163.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/2.424, allocations: 2.38 MB / 1.019 GB, free: 161.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02172/2.446, allocations: 2.636 MB / 1.022 GB, free: 159.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03858/2.485, allocations: 16.11 MB / 1.037 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/2.503, allocations: 0.6982 MB / 1.038 GB, free: 142 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003358/2.506, allocations: 0.6325 MB / 1.039 GB, free: 141.4 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 971 * 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 (1396): * Single equations (assignments): 1383 * 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.01318/2.519, allocations: 4.177 MB / 1.043 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002515/2.522, allocations: 0.6054 MB / 1.043 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03316/2.555, allocations: 10.58 MB / 1.054 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/2.555, allocations: 23.09 kB / 1.054 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/2.555, allocations: 0 / 1.054 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005555/2.561, allocations: 1.418 MB / 1.055 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003157/2.564, allocations: 73.55 kB / 1.055 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007035/2.571, allocations: 325.7 kB / 1.055 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001923/2.573, allocations: 291.2 kB / 1.056 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03762/2.611, allocations: 10.51 MB / 1.066 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03566/2.646, allocations: 14.71 MB / 1.08 GB, free: 98.6 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008756/2.655, allocations: 4.125 MB / 1.084 GB, free: 94.47 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009574/2.665, allocations: 3.996 MB / 1.088 GB, free: 90.48 MB / 0.4949 GB Notification: Performance of Backend: time 1.713e-06/2.665, allocations: 4 kB / 1.088 GB, free: 90.48 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02812/2.693, allocations: 9.235 MB / 1.097 GB, free: 81.27 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04912/2.742, allocations: 21.34 MB / 1.118 GB, free: 59.95 MB / 0.4949 GB Notification: Performance of Templates: time 0.6011/3.343, allocations: 90.83 MB / 1.207 GB, free: 166 MB / 0.4949 GB