Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,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.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002606/0.002606, allocations: 352.4 kB / 15.95 MB, free: 6.219 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.3/3.3, 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.003475/0.003475, allocations: 221.1 kB / 397.9 MB, free: 4.988 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.4935/0.4935, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08284/0.08333, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4528/0.5362, allocations: 109.4 MB / 0.7136 GB, free: 3.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06194/0.5982, allocations: 21.65 MB / 0.7347 GB, free: 13.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02266/0.6209, allocations: 0.5027 MB / 0.7352 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01923/0.6402, allocations: 5.393 MB / 0.7405 GB, free: 7.645 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06103/0.7013, allocations: 18.23 MB / 0.7583 GB, free: 5.344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008945/0.7103, allocations: 1.244 MB / 0.7595 GB, free: 4.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4456/1.156, allocations: 54.71 MB / 0.8129 GB, free: 15.37 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02126/1.177, allocations: 10.04 MB / 0.8227 GB, free: 8.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/1.184, allocations: 2.612 MB / 0.8253 GB, free: 6.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009552/1.193, allocations: 4.309 MB / 0.8295 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/1.196, allocations: 312 kB / 0.8298 GB, free: 3.516 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/1.201, allocations: 1.227 MB / 0.831 GB, free: 2.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0067/1.208, allocations: 3.727 MB / 0.8346 GB, free: 15.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003469/1.211, allocations: 1.708 MB / 0.8363 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01926/1.231, allocations: 11.62 MB / 0.8476 GB, free: 5.129 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.231, allocations: 0 / 0.8476 GB, free: 5.129 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.231, allocations: 0 / 0.8476 GB, free: 5.129 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000468/1.231, allocations: 0 / 0.8476 GB, free: 5.129 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03232/1.263, allocations: 8.692 MB / 0.8561 GB, free: 13.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/1.263, allocations: 12.03 kB / 0.8561 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03877/1.302, allocations: 4.462 MB / 0.8605 GB, free: 8.902 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/1.324, allocations: 6.46 MB / 0.8668 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/1.325, allocations: 0.4928 MB / 0.8673 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00314/1.328, allocations: 0.6618 MB / 0.8679 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05805/1.386, allocations: 20.22 MB / 0.8877 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004556/1.386, allocations: 92.73 kB / 0.8878 GB, free: 3.867 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002698/1.389, allocations: 305.4 kB / 0.888 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008942/1.398, allocations: 3.384 MB / 0.8914 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0577/1.456, allocations: 16.94 MB / 0.9079 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7484/2.204, allocations: 73 MB / 0.9792 GB, free: 172.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04278/2.247, allocations: 8.515 MB / 0.9875 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009694/2.257, allocations: 4.542 MB / 0.9919 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009892/2.258, allocations: 0.6593 MB / 0.9926 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/2.258, allocations: 74.34 kB / 0.9926 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 7.594e-06/2.258, allocations: 0 / 0.9926 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.1541/2.412, allocations: 35.79 MB / 1.028 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.412, allocations: 295.7 kB / 1.028 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/2.428, allocations: 7.743 MB / 1.035 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009551/2.429, allocations: 83.23 kB / 1.036 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004676/2.433, allocations: 5.713 MB / 1.041 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/2.435, allocations: 1.284 MB / 1.042 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/2.436, allocations: 204 kB / 1.043 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006252/2.437, allocations: 0.7355 MB / 1.043 GB, free: 142 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00978/2.447, allocations: 4.08 MB / 1.047 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.46, allocations: 9.777 MB / 1.057 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/2.474, allocations: 6.152 MB / 1.063 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/2.474, allocations: 56 kB / 1.063 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1327) (initialization): time 0.04335/2.518, allocations: 15.71 MB / 1.078 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/2.518, allocations: 103.3 kB / 1.078 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/2.518, allocations: 196.9 kB / 1.078 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/2.528, allocations: 2.354 MB / 1.081 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/2.543, allocations: 2.343 MB / 1.083 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/2.57, allocations: 15.59 MB / 1.098 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.584, allocations: 0.5828 MB / 1.099 GB, free: 82.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002189/2.586, allocations: 0.5781 MB / 1.099 GB, free: 81.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1247): * Single equations (assignments): 1240 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009743/2.596, allocations: 3.881 MB / 1.103 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/2.597, allocations: 0.6672 MB / 1.104 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02457/2.622, allocations: 7.966 MB / 1.112 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.977e-05/2.622, allocations: 19.94 kB / 1.112 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/2.622, allocations: 0 / 1.112 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/2.627, allocations: 1.3 MB / 1.113 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/2.629, allocations: 54.31 kB / 1.113 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006306/2.636, allocations: 253.1 kB / 1.113 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/2.637, allocations: 222.2 kB / 1.113 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02696/2.664, allocations: 8.194 MB / 1.121 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02737/2.691, allocations: 10.48 MB / 1.132 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009982/2.701, allocations: 2.826 MB / 1.134 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01807/2.72, allocations: 4.925 MB / 1.139 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of Backend: time 1.933e-06/2.72, allocations: 0 / 1.139 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03399/2.754, allocations: 7.813 MB / 1.147 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of SimCode: time 0.05792/2.812, allocations: 21.41 MB / 1.168 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.5943/3.406, allocations: 88.39 MB / 1.254 GB, free: 158.2 MB / 0.5105 GB