Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003102/0.003107, allocations: 368.3 kB / 15.96 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.89/3.89, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003514/0.003514, allocations: 241.7 kB / 451 MB, free: 145.1 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.4908/0.4908, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12.5 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 54.89 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.5284/0.6367, allocations: 165.8 MB / 0.842 GB, free: 3.523 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.09735/0.7341, allocations: 31.63 MB / 0.8729 GB, free: 3.785 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03504/0.7692, allocations: 0.76 MB / 0.8737 GB, free: 3.023 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02949/0.7987, allocations: 8.216 MB / 0.8817 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4908/1.29, allocations: 27.31 MB / 0.9084 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02084/1.31, allocations: 1.685 MB / 0.91 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.1378/1.448, allocations: 58.68 MB / 0.9673 GB, free: 3.707 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03459/1.483, allocations: 15.69 MB / 0.9826 GB, free: 8.641 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009701/1.493, allocations: 3.731 MB / 0.9863 GB, free: 6.207 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/1.507, allocations: 6.063 MB / 0.9922 GB, free: 1.957 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.004192/1.511, allocations: 448 kB / 0.9926 GB, free: 1.52 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008821/1.52, allocations: 1.234 MB / 0.9938 GB, free: 484 kB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.01287/1.533, allocations: 5.369 MB / 0.9991 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.007601/1.54, allocations: 2.469 MB / 1.001 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03547/1.576, allocations: 16.55 MB / 1.018 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.576, allocations: 0 / 1.018 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.347e-06/1.576, allocations: 0 / 1.018 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007152/1.577, allocations: 0 / 1.018 GB, free: 13.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05313/1.63, allocations: 12.99 MB / 1.03 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/1.63, allocations: 14.47 kB / 1.03 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04416/1.674, allocations: 5.115 MB / 1.035 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.703, allocations: 8.445 MB / 1.044 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009589/1.704, allocations: 0.7425 MB / 1.044 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004927/1.709, allocations: 0.9835 MB / 1.045 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09517/1.804, allocations: 30.42 MB / 1.075 GB, free: 14.56 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006883/1.805, allocations: 116.1 kB / 1.075 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004/1.809, allocations: 464.3 kB / 1.076 GB, free: 14.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01279/1.822, allocations: 4.997 MB / 1.08 GB, free: 10.31 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.089/1.911, allocations: 25.61 MB / 1.105 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8818/2.793, allocations: 111.9 MB / 1.215 GB, free: 211.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06913/2.862, allocations: 15.34 MB / 1.23 GB, free: 204.8 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01736/2.879, allocations: 8.803 MB / 1.238 GB, free: 199.8 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04931/2.929, allocations: 20.56 MB / 1.258 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/2.929, allocations: 94.84 kB / 1.258 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=566): time 1.137e-05/2.929, allocations: 0 / 1.258 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=650): time 0.4121/3.341, allocations: 76.38 MB / 1.333 GB, free: 102.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/3.341, allocations: 374.1 kB / 1.333 GB, free: 102 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02948/3.371, allocations: 11.97 MB / 1.345 GB, free: 90.11 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002079/3.373, allocations: 125.7 kB / 1.345 GB, free: 89.98 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.007431/3.38, allocations: 8.252 MB / 1.353 GB, free: 81.76 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00425/3.385, allocations: 2.392 MB / 1.356 GB, free: 79.39 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002844/3.388, allocations: 321.2 kB / 1.356 GB, free: 79.07 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001111/3.389, allocations: 0.9799 MB / 1.357 GB, free: 78.09 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01893/3.408, allocations: 7.38 MB / 1.364 GB, free: 70.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02485/3.432, allocations: 15.7 MB / 1.379 GB, free: 51.02 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02413/3.457, allocations: 10.53 MB / 1.39 GB, free: 40.48 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002649/3.457, allocations: 84 kB / 1.39 GB, free: 40.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.0765/3.534, allocations: 27.08 MB / 1.416 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/3.534, allocations: 128 kB / 1.416 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003609/3.534, allocations: 288 kB / 1.417 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0205/3.555, allocations: 4.513 MB / 1.421 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02566/3.58, allocations: 3.805 MB / 1.425 GB, free: 4.543 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5713/4.152, allocations: 26.53 MB / 1.451 GB, free: 238.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03042/4.182, allocations: 0.9596 MB / 1.452 GB, free: 238.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005435/4.188, allocations: 0.8965 MB / 1.452 GB, free: 238.5 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1943): * Single equations (assignments): 1932 * Array equations: 7 * 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 {(3,100.0%) 22,(3,100.0%) 21,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02473/4.213, allocations: 5.659 MB / 1.458 GB, free: 236.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005567/4.218, allocations: 1.05 MB / 1.459 GB, free: 236.4 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07871/4.297, allocations: 16.69 MB / 1.475 GB, free: 230.7 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002058/4.297, allocations: 46.73 kB / 1.475 GB, free: 230.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/4.297, allocations: 0 / 1.475 GB, free: 230.7 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008328/4.306, allocations: 2.263 MB / 1.478 GB, free: 230.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005211/4.311, allocations: 109.9 kB / 1.478 GB, free: 230 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/4.323, allocations: 475.4 kB / 1.478 GB, free: 229.9 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002605/4.325, allocations: 436.2 kB / 1.479 GB, free: 229.9 MB / 0.6043 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05616/4.381, allocations: 16.58 MB / 1.495 GB, free: 224.6 MB / 0.6043 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05047/4.432, allocations: 21.1 MB / 1.515 GB, free: 204 MB / 0.6043 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01271/4.445, allocations: 5.908 MB / 1.521 GB, free: 198.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01793/4.463, allocations: 7.653 MB / 1.529 GB, free: 190.5 MB / 0.6043 GB Notification: Performance of Backend: time 1.012e-06/4.463, allocations: 4 kB / 1.529 GB, free: 190.5 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0394/4.502, allocations: 13.13 MB / 1.541 GB, free: 177.6 MB / 0.6043 GB Notification: Performance of SimCode: time 0.06759/4.57, allocations: 32.06 MB / 1.573 GB, free: 145.9 MB / 0.6043 GB Notification: Performance of Templates: time 0.8548/5.425, allocations: 149.3 MB / 1.719 GB, free: 231.4 MB / 0.6043 GB