Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002781/0.002786, allocations: 364.4 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.988/3.988, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003529/0.003528, allocations: 230.5 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.5126/0.5126, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004602, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09912, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3937/0.4929, allocations: 64.89 MB / 0.7435 GB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04177/0.5347, allocations: 13.82 MB / 0.757 GB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01653/0.5513, allocations: 318.6 kB / 0.7573 GB, free: 4.652 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.5632, allocations: 3.16 MB / 0.7604 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04065/0.6039, allocations: 10.83 MB / 0.7709 GB, free: 11.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007122/0.6111, allocations: 0.9246 MB / 0.7718 GB, free: 10.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06838/0.6795, allocations: 29.37 MB / 0.8005 GB, free: 14.23 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.6997, allocations: 6.333 MB / 0.8067 GB, free: 7.844 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.7063, allocations: 1.798 MB / 0.8084 GB, free: 6.039 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009802/0.7162, allocations: 2.913 MB / 0.8113 GB, free: 3.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.7184, allocations: 212 kB / 0.8115 GB, free: 2.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.7247, allocations: 1.046 MB / 0.8125 GB, free: 1.863 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006977/0.7317, allocations: 2.47 MB / 0.8149 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004049/0.7359, allocations: 1.193 MB / 0.8161 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.7547, allocations: 7.871 MB / 0.8238 GB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.7548, allocations: 0 / 0.8238 GB, free: 6.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7548, allocations: 4 kB / 0.8238 GB, free: 6.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003574/0.7552, allocations: 0 / 0.8238 GB, free: 6.293 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.03296/0.7882, allocations: 6.264 MB / 0.8299 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.7883, allocations: 8.031 kB / 0.8299 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0932/0.8815, allocations: 3.904 MB / 0.8337 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/0.9045, allocations: 4.517 MB / 0.8381 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007369/0.9053, allocations: 332.6 kB / 0.8385 GB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.9085, allocations: 451.6 kB / 0.8389 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05802/0.9665, allocations: 13.87 MB / 0.8524 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004931/0.9671, allocations: 67.34 kB / 0.8525 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00318/0.9703, allocations: 207.8 kB / 0.8527 GB, free: 7.637 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009138/0.9795, allocations: 2.422 MB / 0.8551 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05707/1.037, allocations: 11.99 MB / 0.8668 GB, free: 9.215 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4557/1.492, allocations: 54.21 MB / 0.9197 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03519/1.528, allocations: 5.941 MB / 0.9255 GB, free: 138.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/1.538, allocations: 3.558 MB / 0.929 GB, free: 137.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.54, allocations: 0.6882 MB / 0.9297 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/1.54, allocations: 64.05 kB / 0.9297 GB, free: 137.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 9.027e-06/1.54, allocations: 0 / 0.9297 GB, free: 137.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=324): time 0.1995/1.739, allocations: 38.11 MB / 0.9669 GB, free: 115.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/1.739, allocations: 269.4 kB / 0.9672 GB, free: 114.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.751, allocations: 5.256 MB / 0.9723 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009961/1.752, allocations: 73.7 kB / 0.9724 GB, free: 109.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.755, allocations: 3.981 MB / 0.9763 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002145/1.757, allocations: 1.214 MB / 0.9775 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/1.759, allocations: 160.9 kB / 0.9776 GB, free: 104.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000565/1.759, allocations: 0.6449 MB / 0.9782 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/1.77, allocations: 3.65 MB / 0.9818 GB, free: 99.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.017/1.787, allocations: 7.923 MB / 0.9895 GB, free: 90 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/1.804, allocations: 5.284 MB / 0.9947 GB, free: 84.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/1.804, allocations: 40 kB / 0.9947 GB, free: 84.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.05213/1.856, allocations: 13.89 MB / 1.008 GB, free: 70.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000197/1.856, allocations: 68 kB / 1.008 GB, free: 70.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000311/1.857, allocations: 144 kB / 1.009 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.872, allocations: 2.78 MB / 1.011 GB, free: 67.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/1.884, allocations: 1.821 MB / 1.013 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03325/1.917, allocations: 16.62 MB / 1.029 GB, free: 49.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009811/1.927, allocations: 484.2 kB / 1.03 GB, free: 48.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.929, allocations: 467.9 kB / 1.03 GB, free: 48.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 669 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (970): * Single equations (assignments): 965 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007641/1.936, allocations: 2.818 MB / 1.033 GB, free: 45.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.938, allocations: 494.4 kB / 1.033 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02717/1.965, allocations: 8.16 MB / 1.041 GB, free: 36.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-05/1.965, allocations: 15.94 kB / 1.041 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.965, allocations: 0 / 1.041 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/1.969, allocations: 1.119 MB / 1.042 GB, free: 35.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/1.972, allocations: 56 kB / 1.043 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005782/1.977, allocations: 232.3 kB / 1.043 GB, free: 35.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.979, allocations: 227.4 kB / 1.043 GB, free: 35.05 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02998/2.009, allocations: 8.481 MB / 1.051 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03979/2.049, allocations: 10.41 MB / 1.061 GB, free: 16.08 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02126/2.07, allocations: 2.907 MB / 1.064 GB, free: 13.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0184/2.089, allocations: 3.31 MB / 1.067 GB, free: 9.863 MB / 490.7 MB Notification: Performance of Backend: time 1.703e-06/2.089, allocations: 7.938 kB / 1.067 GB, free: 9.855 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02809/2.117, allocations: 6.732 MB / 1.074 GB, free: 3.148 MB / 490.7 MB Notification: Performance of SimCode: time 0.03922/2.156, allocations: 15.89 MB / 1.09 GB, free: 3.211 MB / 0.4949 GB Notification: Performance of Templates: time 0.6157/2.772, allocations: 74.75 MB / 1.163 GB, free: 127 MB / 0.4949 GB