Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004068/0.004074, allocations: 345.9 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.442/3.442, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003596/0.003595, allocations: 221.2 kB / 397.9 MB, free: 4.984 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.4593/0.4593, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006946, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1096, allocations: 48.71 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3765/0.4862, allocations: 57.52 MB / 0.6629 GB, free: 54.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03285/0.5191, allocations: 11.89 MB / 0.6745 GB, free: 43.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01318/0.5323, allocations: 267.9 kB / 0.6748 GB, free: 43.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009717/0.5421, allocations: 2.797 MB / 0.6775 GB, free: 40.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03459/0.5767, allocations: 9.481 MB / 0.6868 GB, free: 30.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005025/0.5818, allocations: 0.6398 MB / 0.6874 GB, free: 30.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00804/0.5899, allocations: 5.219 MB / 0.6925 GB, free: 24.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.6009, allocations: 6.003 MB / 0.6984 GB, free: 18.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.6041, allocations: 1.44 MB / 0.6998 GB, free: 17.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/0.6085, allocations: 2.29 MB / 0.702 GB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.6099, allocations: 172 kB / 0.7022 GB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.6133, allocations: 0.8582 MB / 0.703 GB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002776/0.6162, allocations: 1.983 MB / 0.7049 GB, free: 12.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.6175, allocations: 1.006 MB / 0.7059 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008177/0.6257, allocations: 6.648 MB / 0.7124 GB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6257, allocations: 0 / 0.7124 GB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6257, allocations: 0 / 0.7124 GB, free: 4.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002631/0.626, allocations: 0 / 0.7124 GB, free: 4.535 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02929/0.6553, allocations: 6.08 MB / 0.7184 GB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6554, allocations: 8.031 kB / 0.7184 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01493/0.6703, allocations: 2.329 MB / 0.7206 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008524/0.6789, allocations: 2.713 MB / 0.7233 GB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.6793, allocations: 315.8 kB / 0.7236 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.6814, allocations: 407.6 kB / 0.724 GB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03816/0.7196, allocations: 12.64 MB / 0.7363 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/0.7198, allocations: 43.59 kB / 0.7364 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.7215, allocations: 191.8 kB / 0.7365 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00781/0.7293, allocations: 2.144 MB / 0.7386 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0555/0.7849, allocations: 11.21 MB / 0.7496 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3761/1.161, allocations: 47.09 MB / 0.7956 GB, free: 91.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02984/1.191, allocations: 5.467 MB / 0.8009 GB, free: 89.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00756/1.198, allocations: 3.401 MB / 0.8042 GB, free: 88.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002453/1.201, allocations: 1.019 MB / 0.8052 GB, free: 87.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/1.201, allocations: 59.45 kB / 0.8053 GB, free: 87.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 6.442e-06/1.201, allocations: 1.969 kB / 0.8053 GB, free: 87.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1283/1.329, allocations: 26.82 MB / 0.8315 GB, free: 72.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.33, allocations: 150.5 kB / 0.8316 GB, free: 72.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009143/1.339, allocations: 4.478 MB / 0.836 GB, free: 67.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008888/1.34, allocations: 61.7 kB / 0.8361 GB, free: 67.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003127/1.343, allocations: 3.529 MB / 0.8395 GB, free: 64.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.345, allocations: 0.9484 MB / 0.8404 GB, free: 63.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/1.346, allocations: 140 kB / 0.8406 GB, free: 63.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005645/1.347, allocations: 0.5914 MB / 0.8411 GB, free: 62.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007787/1.354, allocations: 3.062 MB / 0.8441 GB, free: 59.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/1.365, allocations: 6.99 MB / 0.851 GB, free: 50.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/1.379, allocations: 4.526 MB / 0.8554 GB, free: 46.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.38, allocations: 36 kB / 0.8554 GB, free: 46.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.04129/1.421, allocations: 10.9 MB / 0.8661 GB, free: 35.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.421, allocations: 64 kB / 0.8661 GB, free: 35.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002189/1.421, allocations: 136 kB / 0.8662 GB, free: 34.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006905/1.428, allocations: 1.148 MB / 0.8674 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/1.444, allocations: 1.712 MB / 0.869 GB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/1.456, allocations: 6.011 MB / 0.8749 GB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008736/1.465, allocations: 421.1 kB / 0.8753 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.467, allocations: 427.9 kB / 0.8757 GB, free: 25.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (854): * Single equations (assignments): 850 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006703/1.473, allocations: 2.415 MB / 0.8781 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.475, allocations: 410.7 kB / 0.8785 GB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.491, allocations: 5.697 MB / 0.884 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.491, allocations: 19.91 kB / 0.8841 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.491, allocations: 0 / 0.8841 GB, free: 16.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002991/1.494, allocations: 0.9095 MB / 0.8849 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.496, allocations: 40 kB / 0.885 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/1.5, allocations: 183.7 kB / 0.8852 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/1.5, allocations: 149.8 kB / 0.8853 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01876/1.519, allocations: 6.126 MB / 0.8913 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01904/1.538, allocations: 8.689 MB / 0.8998 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006063/1.544, allocations: 2.385 MB / 0.9021 GB, free: 14.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007065/1.551, allocations: 2.811 MB / 0.9048 GB, free: 11.25 MB / 426.7 MB Notification: Performance of Backend: time 1.222e-06/1.551, allocations: 0 / 0.9048 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0193/1.571, allocations: 5.402 MB / 0.9101 GB, free: 5.883 MB / 426.7 MB Notification: Performance of SimCode: time 0.0437/1.615, allocations: 13.01 MB / 0.9228 GB, free: 8.883 MB / 442.7 MB Notification: Performance of Templates: time 0.4781/2.093, allocations: 58.4 MB / 0.9799 GB, free: 118.4 MB / 442.7 MB