Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004327/0.004332, allocations: 372.1 kB / 15.97 MB, free: 6.203 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.898/3.898, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003487/0.003487, allocations: 228 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.5056/0.5056, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004609, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09603, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.4439/0.54, allocations: 43.54 MB / 0.7226 GB, free: 11.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.5647, allocations: 9.587 MB / 0.732 GB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008686/0.5735, allocations: 204.7 kB / 0.7322 GB, free: 11.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007582/0.5811, allocations: 2.091 MB / 0.7342 GB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02594/0.6071, allocations: 7.259 MB / 0.7413 GB, free: 8.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.6111, allocations: 0.5824 MB / 0.7419 GB, free: 8.668 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00801/0.6192, allocations: 4.43 MB / 0.7462 GB, free: 7.117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009361/0.6286, allocations: 4.617 MB / 0.7507 GB, free: 5.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.632, allocations: 1.213 MB / 0.7519 GB, free: 5.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.6365, allocations: 1.874 MB / 0.7537 GB, free: 4.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.6377, allocations: 142.9 kB / 0.7539 GB, free: 4.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.6416, allocations: 0.9175 MB / 0.7548 GB, free: 4.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003219/0.6448, allocations: 1.67 MB / 0.7564 GB, free: 3.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.6465, allocations: 0.8425 MB / 0.7572 GB, free: 3.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.6549, allocations: 5.572 MB / 0.7626 GB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.655, allocations: 7.25 kB / 0.7627 GB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.655, allocations: 0 / 0.7627 GB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002558/0.6553, allocations: 0 / 0.7627 GB, free: 15.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01285/0.6681, allocations: 3.936 MB / 0.7665 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6682, allocations: 11.97 kB / 0.7665 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.6831, allocations: 2.268 MB / 0.7687 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006734/0.6899, allocations: 2.212 MB / 0.7709 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.6903, allocations: 248.4 kB / 0.7711 GB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/0.6926, allocations: 411.1 kB / 0.7715 GB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0357/0.7284, allocations: 10.27 MB / 0.7815 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.7286, allocations: 43.58 kB / 0.7816 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.7299, allocations: 165.2 kB / 0.7817 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005508/0.7354, allocations: 1.901 MB / 0.7836 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/0.7639, allocations: 8.52 MB / 0.7919 GB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07776/0.8417, allocations: 39.71 MB / 0.8307 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.858, allocations: 3.538 MB / 0.8342 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/0.8624, allocations: 1.71 MB / 0.8358 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/0.882, allocations: 7.496 MB / 0.8431 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.8821, allocations: 43.56 kB / 0.8432 GB, free: 13.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=139): time 7.745e-06/0.8821, allocations: 0 / 0.8432 GB, free: 13.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.0524/0.9345, allocations: 12.23 MB / 0.8551 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.9347, allocations: 145.5 kB / 0.8553 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009721/0.9444, allocations: 3.919 MB / 0.8591 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004915/0.945, allocations: 48.52 kB / 0.8591 GB, free: 12.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003713/0.9487, allocations: 3.162 MB / 0.8622 GB, free: 9.566 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.95, allocations: 0.5812 MB / 0.8628 GB, free: 8.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000817/0.9508, allocations: 116 kB / 0.8629 GB, free: 8.875 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005688/0.9514, allocations: 0.55 MB / 0.8635 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006116/0.9575, allocations: 2.057 MB / 0.8655 GB, free: 6.254 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/0.9682, allocations: 5.756 MB / 0.8711 GB, free: 14.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/0.9769, allocations: 3.366 MB / 0.8744 GB, free: 11.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.977, allocations: 40 kB / 0.8744 GB, free: 11.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.03849/1.016, allocations: 9.245 MB / 0.8834 GB, free: 1.961 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.016, allocations: 67.94 kB / 0.8835 GB, free: 1.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02252/1.038, allocations: 3.589 MB / 0.887 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02124/1.06, allocations: 2.238 MB / 0.8892 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00871/1.068, allocations: 1.368 MB / 0.8905 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/1.086, allocations: 6.88 MB / 0.8972 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00667/1.093, allocations: 366 kB / 0.8976 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.094, allocations: 360 kB / 0.8979 GB, free: 2.805 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (732): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005731/1.1, allocations: 2.098 MB / 0.9 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008916/1.101, allocations: 327.8 kB / 0.9003 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3462/1.447, allocations: 2.808 MB / 0.903 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-05/1.447, allocations: 10.42 kB / 0.9031 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.447, allocations: 1.219 kB / 0.9031 GB, free: 166.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.449, allocations: 391.3 kB / 0.9034 GB, free: 166.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.45, allocations: 39.14 kB / 0.9035 GB, free: 166.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003157/1.453, allocations: 112 kB / 0.9036 GB, free: 166.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/1.453, allocations: 82.86 kB / 0.9037 GB, free: 166.5 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01193/1.465, allocations: 3.473 MB / 0.907 GB, free: 165.8 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009583/1.475, allocations: 4.329 MB / 0.9113 GB, free: 164.1 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002752/1.478, allocations: 1.141 MB / 0.9124 GB, free: 163.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006458/1.484, allocations: 2.431 MB / 0.9148 GB, free: 162.9 MB / 490.7 MB Notification: Performance of Backend: time 1.282e-06/1.484, allocations: 3.75 kB / 0.9148 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01645/1.501, allocations: 4.737 MB / 0.9194 GB, free: 161.1 MB / 490.7 MB Notification: Performance of SimCode: time 0.02587/1.527, allocations: 11.01 MB / 0.9301 GB, free: 155.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1549/1.682, allocations: 44.34 MB / 0.9734 GB, free: 117.1 MB / 490.7 MB