Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Parts.Rotor1D.Beveal1d,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.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002655/0.002656, allocations: 366.6 kB / 15.96 MB, free: 6.203 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.092/4.092, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003553/0.003553, allocations: 228.9 kB / 451 MB, free: 145 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.5096/0.5096, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004817, allocations: 18.7 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09522, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.4236/0.5188, allocations: 60.96 MB / 0.7396 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05135/0.5703, allocations: 12.9 MB / 0.7522 GB, free: 7.871 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01978/0.5901, allocations: 286.9 kB / 0.7525 GB, free: 7.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.6014, allocations: 2.977 MB / 0.7554 GB, free: 6.445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0365/0.638, allocations: 10.24 MB / 0.7654 GB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.6442, allocations: 0.8083 MB / 0.7662 GB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06362/0.7079, allocations: 28.45 MB / 0.794 GB, free: 4.859 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01594/0.7239, allocations: 6.597 MB / 0.8004 GB, free: 14.21 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.7288, allocations: 1.662 MB / 0.8021 GB, free: 12.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006419/0.7352, allocations: 2.668 MB / 0.8047 GB, free: 9.867 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.7367, allocations: 188 kB / 0.8048 GB, free: 9.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.7411, allocations: 1.018 MB / 0.8058 GB, free: 8.664 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004403/0.7455, allocations: 2.26 MB / 0.808 GB, free: 6.398 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.7481, allocations: 1.08 MB / 0.8091 GB, free: 5.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.7611, allocations: 7.416 MB / 0.8163 GB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7612, allocations: 3.938 kB / 0.8163 GB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7612, allocations: 0 / 0.8163 GB, free: 13.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000322/0.7616, allocations: 0 / 0.8163 GB, free: 13.87 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.02004/0.7816, allocations: 5.445 MB / 0.8217 GB, free: 8.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.894e-05/0.7817, allocations: 12.03 kB / 0.8217 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02493/0.8067, allocations: 3.109 MB / 0.8247 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.8205, allocations: 3.922 MB / 0.8285 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/0.821, allocations: 308 kB / 0.8288 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.8232, allocations: 423.6 kB / 0.8292 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/0.8602, allocations: 12.16 MB / 0.8411 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/0.8605, allocations: 51.59 kB / 0.8412 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/0.8623, allocations: 195.8 kB / 0.8413 GB, free: 3.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005865/0.8682, allocations: 2.085 MB / 0.8434 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/0.903, allocations: 10.26 MB / 0.8534 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.167/1.07, allocations: 47.03 MB / 0.8993 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02799/1.098, allocations: 4.386 MB / 0.9036 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3654/1.464, allocations: 2.499 MB / 0.9061 GB, free: 172.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02728/1.491, allocations: 9.994 MB / 0.9158 GB, free: 169.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.491, allocations: 59.38 kB / 0.9159 GB, free: 169 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 6.291e-06/1.491, allocations: 3.938 kB / 0.9159 GB, free: 169 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.09748/1.589, allocations: 20.82 MB / 0.9362 GB, free: 161.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.589, allocations: 199.9 kB / 0.9364 GB, free: 161.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009581/1.598, allocations: 4.764 MB / 0.941 GB, free: 159.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005884/1.599, allocations: 58.34 kB / 0.9411 GB, free: 159.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003109/1.602, allocations: 3.704 MB / 0.9447 GB, free: 155.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.603, allocations: 0.8114 MB / 0.9455 GB, free: 155 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007253/1.604, allocations: 136 kB / 0.9456 GB, free: 154.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003979/1.605, allocations: 0.5912 MB / 0.9462 GB, free: 154.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.611, allocations: 2.525 MB / 0.9487 GB, free: 151.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008776/1.62, allocations: 6.477 MB / 0.955 GB, free: 143.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008971/1.629, allocations: 3.961 MB / 0.9589 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.629, allocations: 40 kB / 0.9589 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.02923/1.658, allocations: 10.1 MB / 0.9688 GB, free: 129.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.658, allocations: 68 kB / 0.9689 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002157/1.659, allocations: 140 kB / 0.969 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007896/1.667, allocations: 1.617 MB / 0.9706 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00949/1.676, allocations: 1.552 MB / 0.9721 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/1.694, allocations: 9.361 MB / 0.9812 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007538/1.702, allocations: 383.4 kB / 0.9816 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.703, allocations: 401.1 kB / 0.982 GB, free: 115.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 42 (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 (825): * Single equations (assignments): 820 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006577/1.71, allocations: 2.567 MB / 0.9845 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.711, allocations: 423.6 kB / 0.9849 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.726, allocations: 4.553 MB / 0.9893 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/1.726, allocations: 11.92 kB / 0.9893 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.726, allocations: 0 / 0.9893 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003915/1.73, allocations: 0.7805 MB / 0.9901 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/1.732, allocations: 36 kB / 0.9901 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/1.736, allocations: 139.8 kB / 0.9903 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007937/1.736, allocations: 145.1 kB / 0.9904 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01614/1.753, allocations: 4.936 MB / 0.9952 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01867/1.771, allocations: 6.236 MB / 1.001 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009945/1.781, allocations: 1.631 MB / 1.003 GB, free: 94.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02119/1.803, allocations: 3.001 MB / 1.006 GB, free: 91.14 MB / 490.7 MB Notification: Performance of Backend: time 2.224e-06/1.803, allocations: 0 / 1.006 GB, free: 91.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02829/1.831, allocations: 5.001 MB / 1.011 GB, free: 86.16 MB / 490.7 MB Notification: Performance of SimCode: time 0.03413/1.865, allocations: 13.6 MB / 1.024 GB, free: 72.52 MB / 490.7 MB Notification: Performance of Templates: time 0.1474/2.013, allocations: 53.41 MB / 1.076 GB, free: 19.32 MB / 490.7 MB