Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002575/0.002575, allocations: 350.4 kB / 15.95 MB, free: 6.203 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.305/3.305, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003485/0.003485, allocations: 228.7 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4729/0.4729, allocations: 76.09 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 12 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08344, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.3936/0.4771, allocations: 60.92 MB / 0.6662 GB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05263/0.5298, allocations: 12.85 MB / 0.6788 GB, free: 9.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01896/0.5488, allocations: 291.6 kB / 0.6791 GB, free: 8.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.5617, allocations: 2.98 MB / 0.682 GB, free: 7.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0346/0.5963, allocations: 10.24 MB / 0.692 GB, free: 1.148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.6017, allocations: 0.8046 MB / 0.6928 GB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.06356/0.6653, allocations: 28.46 MB / 0.7206 GB, free: 5.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.6803, allocations: 6.59 MB / 0.727 GB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.6849, allocations: 1.662 MB / 0.7286 GB, free: 12.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/0.6912, allocations: 2.668 MB / 0.7312 GB, free: 10.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.6926, allocations: 192 kB / 0.7314 GB, free: 9.922 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/0.6966, allocations: 1.026 MB / 0.7324 GB, free: 8.895 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004136/0.7008, allocations: 2.252 MB / 0.7346 GB, free: 6.637 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.7031, allocations: 1.08 MB / 0.7357 GB, free: 5.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.7154, allocations: 7.416 MB / 0.7429 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.7155, allocations: 0 / 0.7429 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.7155, allocations: 3.938 kB / 0.7429 GB, free: 14.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003097/0.7158, allocations: 0 / 0.7429 GB, free: 14.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.01929/0.7352, allocations: 5.458 MB / 0.7482 GB, free: 8.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.7352, allocations: 8.031 kB / 0.7482 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/0.7641, allocations: 3.121 MB / 0.7513 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.7781, allocations: 3.915 MB / 0.7551 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.7786, allocations: 308 kB / 0.7554 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.7808, allocations: 411.8 kB / 0.7558 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/0.8156, allocations: 12.16 MB / 0.7677 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/0.8159, allocations: 51.45 kB / 0.7677 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.8171, allocations: 199.8 kB / 0.7679 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005517/0.8227, allocations: 2.086 MB / 0.77 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03357/0.8563, allocations: 10.25 MB / 0.78 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3891/1.245, allocations: 46.95 MB / 0.8258 GB, free: 131.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.264, allocations: 4.378 MB / 0.8301 GB, free: 130.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005639/1.269, allocations: 2.502 MB / 0.8325 GB, free: 130.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02515/1.295, allocations: 9.996 MB / 0.8423 GB, free: 126.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.295, allocations: 50 kB / 0.8423 GB, free: 126.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=190): time 7.594e-06/1.295, allocations: 3.625 kB / 0.8423 GB, free: 126.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=212): time 0.0938/1.388, allocations: 20.83 MB / 0.8627 GB, free: 114.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/1.389, allocations: 206.2 kB / 0.8629 GB, free: 114.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009879/1.399, allocations: 4.779 MB / 0.8676 GB, free: 109.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005935/1.399, allocations: 58.41 kB / 0.8676 GB, free: 109.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.402, allocations: 3.697 MB / 0.8712 GB, free: 105.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.404, allocations: 0.8156 MB / 0.872 GB, free: 104.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/1.405, allocations: 132 kB / 0.8721 GB, free: 104.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/1.405, allocations: 0.5912 MB / 0.8727 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006402/1.412, allocations: 2.531 MB / 0.8752 GB, free: 101.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008771/1.42, allocations: 6.463 MB / 0.8815 GB, free: 93.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008595/1.429, allocations: 3.953 MB / 0.8854 GB, free: 89.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.429, allocations: 41.31 kB / 0.8854 GB, free: 89.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02783/1.457, allocations: 10.11 MB / 0.8953 GB, free: 79.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/1.457, allocations: 64 kB / 0.8953 GB, free: 79.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/1.457, allocations: 136 kB / 0.8955 GB, free: 79.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007757/1.465, allocations: 1.62 MB / 0.897 GB, free: 77.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009252/1.474, allocations: 1.548 MB / 0.8986 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.493, allocations: 9.368 MB / 0.9077 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/1.5, allocations: 380.5 kB / 0.9081 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.501, allocations: 396.6 kB / 0.9084 GB, free: 65.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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 (824): * Single equations (assignments): 819 * 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.006038/1.507, allocations: 2.568 MB / 0.911 GB, free: 63.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.508, allocations: 422.5 kB / 0.9114 GB, free: 62.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.523, allocations: 4.549 MB / 0.9158 GB, free: 58.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-05/1.523, allocations: 15.91 kB / 0.9158 GB, free: 58.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.523, allocations: 0 / 0.9158 GB, free: 58.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.525, allocations: 0.7844 MB / 0.9166 GB, free: 57.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.527, allocations: 37.41 kB / 0.9166 GB, free: 57.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/1.53, allocations: 131.8 kB / 0.9167 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006453/1.531, allocations: 153.1 kB / 0.9169 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01871/1.55, allocations: 4.935 MB / 0.9217 GB, free: 52.09 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01889/1.569, allocations: 6.233 MB / 0.9278 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004826/1.574, allocations: 1.634 MB / 0.9294 GB, free: 44.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009902/1.584, allocations: 3.005 MB / 0.9323 GB, free: 41.19 MB / 442.7 MB Notification: Performance of Backend: time 1.994e-06/1.584, allocations: 0 / 0.9323 GB, free: 41.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0237/1.607, allocations: 5.016 MB / 0.9372 GB, free: 36.2 MB / 442.7 MB Notification: Performance of SimCode: time 0.0313/1.639, allocations: 13.59 MB / 0.9505 GB, free: 22.55 MB / 442.7 MB Notification: Performance of Templates: time 0.4359/2.075, allocations: 53.36 MB / 1.003 GB, free: 158.3 MB / 458.7 MB