Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00277/0.002776, allocations: 363.1 kB / 15.95 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 4.229/4.229, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.005153/0.005152, allocations: 221.7 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.516/0.516, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.0006641, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6007, allocations: 100.7 MB / 0.7784 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.6011, allocations: 86.88 kB / 0.7785 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4835/1.085, allocations: 110 MB / 0.8859 GB, free: 10.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.085, allocations: 0 / 0.8859 GB, free: 10.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003752/1.085, allocations: 100 kB / 0.886 GB, free: 10.19 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.03071/1.116, allocations: 5.661 MB / 0.8915 GB, free: 4.449 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.116, allocations: 8.031 kB / 0.8915 GB, free: 4.441 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3913/1.507, allocations: 5.285 MB / 0.8967 GB, free: 94.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/1.526, allocations: 5.582 MB / 0.9021 GB, free: 94.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/1.527, allocations: 401.1 kB / 0.9025 GB, free: 94.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/1.53, allocations: 0.524 MB / 0.903 GB, free: 94.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04119/1.571, allocations: 12.92 MB / 0.9157 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/1.571, allocations: 70.34 kB / 0.9157 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/1.573, allocations: 260.1 kB / 0.916 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/1.576, allocations: 1.21 MB / 0.9171 GB, free: 90.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03077/1.607, allocations: 10.27 MB / 0.9272 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08538/1.692, allocations: 58.29 MB / 0.9841 GB, free: 49.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/1.711, allocations: 4.666 MB / 0.9887 GB, free: 48.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/1.717, allocations: 2.234 MB / 0.9908 GB, free: 47.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/1.735, allocations: 6.829 MB / 0.9975 GB, free: 44.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/1.735, allocations: 54.62 kB / 0.9976 GB, free: 43.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 5.199e-06/1.735, allocations: 2.094 kB / 0.9976 GB, free: 43.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.0733/1.808, allocations: 15.93 MB / 1.013 GB, free: 37.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.808, allocations: 203.7 kB / 1.013 GB, free: 37.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.823, allocations: 5.756 MB / 1.019 GB, free: 33.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004914/1.823, allocations: 53.61 kB / 1.019 GB, free: 33.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004015/1.827, allocations: 4.01 MB / 1.023 GB, free: 30.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.829, allocations: 0.7635 MB / 1.024 GB, free: 29.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009104/1.83, allocations: 140 kB / 1.024 GB, free: 29.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004978/1.83, allocations: 0.6063 MB / 1.024 GB, free: 28.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.836, allocations: 2.261 MB / 1.027 GB, free: 26.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008931/1.845, allocations: 6.705 MB / 1.033 GB, free: 18.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008868/1.854, allocations: 3.812 MB / 1.037 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001603/1.854, allocations: 44 kB / 1.037 GB, free: 15.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02442/1.879, allocations: 9.09 MB / 1.046 GB, free: 7.145 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/1.879, allocations: 75.75 kB / 1.046 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/1.879, allocations: 160 kB / 1.046 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/1.882, allocations: 0.5861 MB / 1.047 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009808/1.891, allocations: 1.614 MB / 1.048 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008792/1.9, allocations: 5.619 MB / 1.054 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/1.908, allocations: 384.6 kB / 1.054 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.91, allocations: 434.8 kB / 1.054 GB, free: 14.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (868): * Single equations (assignments): 863 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007741/1.918, allocations: 2.614 MB / 1.057 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/1.92, allocations: 481.7 kB / 1.057 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009651/1.929, allocations: 3.011 MB / 1.06 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.843e-05/1.929, allocations: 20 kB / 1.06 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.929, allocations: 4 kB / 1.06 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.93, allocations: 10.92 kB / 1.06 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/1.956, allocations: 8.155 MB / 1.068 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/1.956, allocations: 4 kB / 1.068 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/1.959, allocations: 290.2 kB / 1.069 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.961, allocations: 346.2 kB / 1.069 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005082/1.961, allocations: 39.14 kB / 1.069 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008816/1.97, allocations: 4.951 MB / 1.074 GB, free: 13.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.97, allocations: 7.953 kB / 1.074 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.985, allocations: 5.506 MB / 1.079 GB, free: 8.715 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/1.988, allocations: 0.7888 MB / 1.08 GB, free: 7.961 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.989, allocations: 29.41 kB / 1.08 GB, free: 7.934 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/1.993, allocations: 102.7 kB / 1.08 GB, free: 7.848 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/1.994, allocations: 109.1 kB / 1.08 GB, free: 7.738 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/1.994, allocations: 59.89 kB / 1.08 GB, free: 7.684 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01119/2.005, allocations: 3.68 MB / 1.084 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.152e-06/2.005, allocations: 0 / 1.084 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008825/2.014, allocations: 1.194 MB / 1.085 GB, free: 2.844 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007154/2.015, allocations: 174.2 kB / 1.085 GB, free: 2.668 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.3561/2.371, allocations: 5.603 MB / 1.091 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.371, allocations: 1 kB / 1.091 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/2.375, allocations: 1.678 MB / 1.092 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00733/2.383, allocations: 0.6223 MB / 1.093 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/2.419, allocations: 13.39 MB / 1.106 GB, free: 107.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/2.431, allocations: 4.132 MB / 1.11 GB, free: 106.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01121/2.442, allocations: 2.306 MB / 1.112 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/2.444, allocations: 308.1 kB / 1.113 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of SimCode: time 1.292e-06/2.444, allocations: 0 / 1.113 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.1273/2.572, allocations: 42.25 MB / 1.154 GB, free: 104.2 MB / 0.4949 GB