Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002557/0.002561, allocations: 348.4 kB / 15.94 MB, free: 6.215 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.641/3.641, 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.003527/0.003527, allocations: 229.1 kB / 397.9 MB, free: 4.98 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.4584/0.4584, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006793/0.0006795, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.114, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4236/0.5377, allocations: 78.27 MB / 0.6832 GB, free: 34.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04339/0.5811, allocations: 15.79 MB / 0.6986 GB, free: 18.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0193/0.6005, allocations: 367.2 kB / 0.6989 GB, free: 18.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01914/0.6197, allocations: 3.834 MB / 0.7027 GB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05281/0.6726, allocations: 13.08 MB / 0.7155 GB, free: 1.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009359/0.682, allocations: 0.9105 MB / 0.7163 GB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.09036/0.7725, allocations: 29.62 MB / 0.7453 GB, free: 2.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02417/0.7967, allocations: 7.411 MB / 0.7525 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007038/0.8038, allocations: 1.961 MB / 0.7544 GB, free: 9.492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.8142, allocations: 3.147 MB / 0.7575 GB, free: 6.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002533/0.8168, allocations: 224 kB / 0.7577 GB, free: 6.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/0.8234, allocations: 1.061 MB / 0.7587 GB, free: 5.055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007269/0.8308, allocations: 2.758 MB / 0.7614 GB, free: 2.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3936/1.224, allocations: 1.292 MB / 0.7627 GB, free: 36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.239, allocations: 8.579 MB / 0.7711 GB, free: 35.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/1.239, allocations: 0.625 kB / 0.7711 GB, free: 35.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.239, allocations: 0.9062 kB / 0.7711 GB, free: 35.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004565/1.239, allocations: 0 / 0.7711 GB, free: 35.47 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02807/1.267, allocations: 6.867 MB / 0.7778 GB, free: 32.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.267, allocations: 8.438 kB / 0.7778 GB, free: 32.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0278/1.295, allocations: 3.34 MB / 0.7811 GB, free: 32.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/1.312, allocations: 4.417 MB / 0.7854 GB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/1.312, allocations: 369.9 kB / 0.7857 GB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.315, allocations: 497.6 kB / 0.7862 GB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04982/1.365, allocations: 16 MB / 0.8018 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.366, allocations: 70.36 kB / 0.8019 GB, free: 28.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002315/1.368, allocations: 238.7 kB / 0.8021 GB, free: 28.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006667/1.375, allocations: 2.767 MB / 0.8048 GB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04328/1.418, allocations: 13.62 MB / 0.8181 GB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1189/1.537, allocations: 60.94 MB / 0.8776 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.037/1.574, allocations: 7.828 MB / 0.8853 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009625/1.584, allocations: 4.145 MB / 0.8893 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02922/1.613, allocations: 9.845 MB / 0.8989 GB, free: 4.391 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.567e-05/1.613, allocations: 59.09 kB / 0.899 GB, free: 4.328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=273): time 8.005e-06/1.613, allocations: 4 kB / 0.899 GB, free: 4.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=315): time 0.2243/1.837, allocations: 35.17 MB / 0.9333 GB, free: 1.008 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.838, allocations: 239.4 kB / 0.9336 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02015/1.858, allocations: 6.824 MB / 0.9402 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/1.859, allocations: 73.7 kB / 0.9403 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00633/1.865, allocations: 4.615 MB / 0.9448 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002887/1.868, allocations: 1.189 MB / 0.946 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/1.87, allocations: 183.8 kB / 0.9461 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001163/1.872, allocations: 0.6984 MB / 0.9468 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3041/2.176, allocations: 3.86 MB / 0.9506 GB, free: 203.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01636/2.192, allocations: 9.021 MB / 0.9594 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/2.208, allocations: 5.764 MB / 0.965 GB, free: 195.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002951/2.208, allocations: 53.69 kB / 0.9651 GB, free: 195.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04679/2.255, allocations: 14.72 MB / 0.9795 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/2.255, allocations: 83.28 kB / 0.9795 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003314/2.256, allocations: 177.9 kB / 0.9797 GB, free: 190.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/2.267, allocations: 2.303 MB / 0.982 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/2.281, allocations: 2.156 MB / 0.9841 GB, free: 190.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/2.308, allocations: 13.23 MB / 0.997 GB, free: 183 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/2.32, allocations: 0.5372 MB / 0.9975 GB, free: 182.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/2.322, allocations: 0.5313 MB / 0.998 GB, free: 182 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1117): * Single equations (assignments): 1110 * Array equations: 5 * 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,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01026/2.333, allocations: 3.143 MB / 1.001 GB, free: 179.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/2.334, allocations: 0.5735 MB / 1.002 GB, free: 179.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/2.359, allocations: 7.748 MB / 1.009 GB, free: 173 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/2.359, allocations: 16.36 kB / 1.009 GB, free: 173 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/2.359, allocations: 1.75 kB / 1.009 GB, free: 173 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/2.364, allocations: 1.196 MB / 1.01 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00257/2.367, allocations: 54.8 kB / 1.01 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006358/2.373, allocations: 226.1 kB / 1.011 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.374, allocations: 216 kB / 1.011 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02786/2.402, allocations: 8.11 MB / 1.019 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02434/2.427, allocations: 10.33 MB / 1.029 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006097/2.433, allocations: 2.81 MB / 1.032 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01152/2.444, allocations: 4.334 MB / 1.036 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of Backend: time 2.255e-06/2.445, allocations: 2.812 kB / 1.036 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02487/2.469, allocations: 7.13 MB / 1.043 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of SimCode: time 0.03992/2.509, allocations: 17.07 MB / 1.059 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.205/2.714, allocations: 78.42 MB / 1.136 GB, free: 44.24 MB / 0.4948 GB