Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003921/0.003927, allocations: 371.4 kB / 15.97 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 3.855/3.855, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.005683/0.005683, allocations: 226.3 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.6017/0.6017, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006986/0.000699, allocations: 13.06 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1051, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4083/0.5134, allocations: 77.9 MB / 0.7562 GB, free: 4.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04927/0.5627, allocations: 15.98 MB / 0.7718 GB, free: 9.363 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01955/0.5823, allocations: 360 kB / 0.7721 GB, free: 9.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01524/0.5976, allocations: 3.823 MB / 0.7759 GB, free: 6.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0486/0.6463, allocations: 12.95 MB / 0.7885 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.6533, allocations: 0.9175 MB / 0.7894 GB, free: 9.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06274/0.7161, allocations: 29.42 MB / 0.8181 GB, free: 12.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.7323, allocations: 7.261 MB / 0.8252 GB, free: 4.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.7376, allocations: 1.907 MB / 0.8271 GB, free: 2.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007223/0.7448, allocations: 3.069 MB / 0.8301 GB, free: 15.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.7467, allocations: 236 kB / 0.8303 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.7515, allocations: 1.163 MB / 0.8314 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004989/0.7565, allocations: 2.684 MB / 0.8341 GB, free: 11.65 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.7593, allocations: 1.294 MB / 0.8353 GB, free: 10.35 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.774, allocations: 8.81 MB / 0.8439 GB, free: 1.516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.774, allocations: 7.938 kB / 0.8439 GB, free: 1.508 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.774, allocations: 0 / 0.8439 GB, free: 1.508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003898/0.7744, allocations: 0 / 0.8439 GB, free: 1.508 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02503/0.7995, allocations: 6.608 MB / 0.8504 GB, free: 10.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.7996, allocations: 8.031 kB / 0.8504 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0261/0.8257, allocations: 3.333 MB / 0.8537 GB, free: 7.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.8404, allocations: 4.214 MB / 0.8578 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00054/0.841, allocations: 393.7 kB / 0.8582 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.8436, allocations: 0.4958 MB / 0.8586 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05074/0.8944, allocations: 16.71 MB / 0.875 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003752/0.8948, allocations: 63.52 kB / 0.875 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/0.8972, allocations: 231.8 kB / 0.8752 GB, free: 436 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007904/0.9052, allocations: 2.932 MB / 0.8781 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05023/0.9555, allocations: 14.45 MB / 0.8922 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4365/1.392, allocations: 59.03 MB / 0.9499 GB, free: 132.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04064/1.433, allocations: 7.344 MB / 0.957 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01388/1.447, allocations: 4.488 MB / 0.9614 GB, free: 128.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05523/1.502, allocations: 15.43 MB / 0.9765 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.482e-05/1.502, allocations: 68.31 kB / 0.9765 GB, free: 117.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 9.889e-06/1.502, allocations: 2.969 kB / 0.9765 GB, free: 117.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.2003/1.702, allocations: 33.59 MB / 1.009 GB, free: 83.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/1.703, allocations: 211.5 kB / 1.01 GB, free: 83.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.713, allocations: 5.3 MB / 1.015 GB, free: 78.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.714, allocations: 79.5 kB / 1.015 GB, free: 78.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003388/1.717, allocations: 4.321 MB / 1.019 GB, free: 73.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002128/1.72, allocations: 1.277 MB / 1.02 GB, free: 72.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/1.721, allocations: 170 kB / 1.02 GB, free: 72.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005718/1.722, allocations: 0.6576 MB / 1.021 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/1.732, allocations: 3.891 MB / 1.025 GB, free: 67.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/1.744, allocations: 8.364 MB / 1.033 GB, free: 57.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.757, allocations: 5.578 MB / 1.038 GB, free: 51.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.758, allocations: 44 kB / 1.039 GB, free: 51.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.0415/1.799, allocations: 14.16 MB / 1.052 GB, free: 37.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.799, allocations: 78.75 kB / 1.052 GB, free: 37.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/1.799, allocations: 159.9 kB / 1.053 GB, free: 37.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/1.81, allocations: 2.275 MB / 1.055 GB, free: 34.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/1.823, allocations: 1.985 MB / 1.057 GB, free: 32.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/1.849, allocations: 13.49 MB / 1.07 GB, free: 19.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009892/1.859, allocations: 0.4993 MB / 1.07 GB, free: 18.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/1.861, allocations: 495 kB / 1.071 GB, free: 18.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1029): * Single equations (assignments): 1024 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007991/1.869, allocations: 3.079 MB / 1.074 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.87, allocations: 0.4898 MB / 1.074 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0255/1.896, allocations: 8.379 MB / 1.083 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/1.896, allocations: 15.94 kB / 1.083 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.896, allocations: 0 / 1.083 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003928/1.9, allocations: 1.158 MB / 1.084 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/1.902, allocations: 56 kB / 1.084 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00556/1.907, allocations: 267.6 kB / 1.084 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/1.909, allocations: 230 kB / 1.084 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3849/2.294, allocations: 8.708 MB / 1.093 GB, free: 155.2 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02916/2.323, allocations: 11.32 MB / 1.104 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008076/2.331, allocations: 3.171 MB / 1.107 GB, free: 149.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008602/2.34, allocations: 3.316 MB / 1.11 GB, free: 148.7 MB / 490.7 MB Notification: Performance of Backend: time 1.072e-06/2.34, allocations: 0 / 1.11 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01959/2.359, allocations: 6.966 MB / 1.117 GB, free: 146.1 MB / 490.7 MB Notification: Performance of SimCode: time 0.05278/2.412, allocations: 16.83 MB / 1.133 GB, free: 136.5 MB / 490.7 MB Notification: Performance of Templates: time 0.2278/2.64, allocations: 77.09 MB / 1.209 GB, free: 61.67 MB / 490.7 MB