Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.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.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.2_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003891/0.003896, allocations: 365.4 kB / 15.96 MB, free: 6.191 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 4.021/4.021, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.005127/0.005126, allocations: 233.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.5174/0.5174, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09451, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4077/0.5022, allocations: 78.31 MB / 0.7566 GB, free: 4.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0494/0.5517, allocations: 15.81 MB / 0.772 GB, free: 9.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01906/0.5708, allocations: 370 kB / 0.7724 GB, free: 9.113 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0152/0.5861, allocations: 3.837 MB / 0.7761 GB, free: 6.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04773/0.6339, allocations: 13.07 MB / 0.7889 GB, free: 10.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006862/0.6408, allocations: 0.905 MB / 0.7898 GB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06435/0.7052, allocations: 29.64 MB / 0.8187 GB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.7215, allocations: 7.394 MB / 0.8259 GB, free: 3.969 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.7265, allocations: 1.957 MB / 0.8278 GB, free: 2.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007463/0.734, allocations: 3.158 MB / 0.8309 GB, free: 14.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.7357, allocations: 228 kB / 0.8311 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.7402, allocations: 1.057 MB / 0.8322 GB, free: 13.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007298/0.7475, allocations: 2.758 MB / 0.8349 GB, free: 10.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.7521, allocations: 1.294 MB / 0.8361 GB, free: 9.484 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.7677, allocations: 8.598 MB / 0.8445 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.7678, allocations: 4 kB / 0.8445 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7678, allocations: 0 / 0.8445 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004072/0.7682, allocations: 0 / 0.8445 GB, free: 0.8633 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02614/0.7944, allocations: 6.873 MB / 0.8512 GB, free: 9.906 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.7944, allocations: 8.031 kB / 0.8512 GB, free: 9.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02668/0.8211, allocations: 3.341 MB / 0.8545 GB, free: 6.543 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.8366, allocations: 4.422 MB / 0.8588 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007359/0.8374, allocations: 377.6 kB / 0.8592 GB, free: 1.668 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/0.8402, allocations: 0.4917 MB / 0.8597 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04865/0.8889, allocations: 16.01 MB / 0.8753 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003252/0.8892, allocations: 67.45 kB / 0.8754 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/0.8914, allocations: 235.8 kB / 0.8756 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007662/0.8991, allocations: 2.774 MB / 0.8783 GB, free: 13.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04747/0.9466, allocations: 13.62 MB / 0.8916 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4305/1.377, allocations: 60.99 MB / 0.9512 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/1.411, allocations: 7.835 MB / 0.9588 GB, free: 129.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008012/1.42, allocations: 4.152 MB / 0.9629 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/1.444, allocations: 9.836 MB / 0.9725 GB, free: 121.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/1.444, allocations: 70.66 kB / 0.9725 GB, free: 121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 7.965e-06/1.444, allocations: 0 / 0.9725 GB, free: 121 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.1582/1.602, allocations: 35.15 MB / 1.007 GB, free: 86.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.602, allocations: 235.9 kB / 1.007 GB, free: 86.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01908/1.621, allocations: 6.827 MB / 1.014 GB, free: 79.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001103/1.622, allocations: 69.7 kB / 1.014 GB, free: 79.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005242/1.628, allocations: 4.626 MB / 1.018 GB, free: 74.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002482/1.63, allocations: 1.185 MB / 1.019 GB, free: 73.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/1.632, allocations: 180 kB / 1.02 GB, free: 73.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007083/1.632, allocations: 0.6978 MB / 1.02 GB, free: 72.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01311/1.645, allocations: 3.863 MB / 1.024 GB, free: 68.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01727/1.663, allocations: 9.026 MB / 1.033 GB, free: 57.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/1.676, allocations: 5.757 MB / 1.039 GB, free: 51.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.676, allocations: 52 kB / 1.039 GB, free: 51.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04114/1.718, allocations: 14.72 MB / 1.053 GB, free: 36.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.718, allocations: 80 kB / 1.053 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/1.718, allocations: 184 kB / 1.053 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/1.728, allocations: 2.296 MB / 1.055 GB, free: 34.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/1.743, allocations: 2.156 MB / 1.058 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/1.769, allocations: 13.23 MB / 1.071 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.78, allocations: 0.542 MB / 1.071 GB, free: 17.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001972/1.782, allocations: 0.5351 MB / 1.072 GB, free: 17.32 MB / 490.7 MB 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.008182/1.79, allocations: 3.144 MB / 1.075 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.792, allocations: 0.5784 MB / 1.075 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02456/1.816, allocations: 7.745 MB / 1.083 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.642e-05/1.816, allocations: 11.95 kB / 1.083 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.816, allocations: 4 kB / 1.083 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004186/1.821, allocations: 1.188 MB / 1.084 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/1.823, allocations: 51.95 kB / 1.084 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/1.829, allocations: 227.7 kB / 1.084 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.83, allocations: 206 kB / 1.084 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3617/2.192, allocations: 8.114 MB / 1.092 GB, free: 154.3 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02666/2.219, allocations: 10.33 MB / 1.102 GB, free: 150.7 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006877/2.226, allocations: 2.806 MB / 1.105 GB, free: 149.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01141/2.237, allocations: 4.336 MB / 1.109 GB, free: 148.2 MB / 490.7 MB Notification: Performance of Backend: time 1.203e-06/2.237, allocations: 2.719 kB / 1.109 GB, free: 148.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02282/2.26, allocations: 7.13 MB / 1.116 GB, free: 145.5 MB / 490.7 MB Notification: Performance of SimCode: time 0.03862/2.299, allocations: 17.08 MB / 1.133 GB, free: 136.1 MB / 490.7 MB Notification: Performance of Templates: time 0.201/2.5, allocations: 78.43 MB / 1.21 GB, free: 59.56 MB / 490.7 MB