Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004362/0.004368, allocations: 350.1 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.739/3.739, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003646/0.003645, allocations: 217.6 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6189/0.6189, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006274, allocations: 15.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.0973, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5439, allocations: 93.86 MB / 0.6984 GB, free: 18.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5443, allocations: 87.02 kB / 0.6985 GB, free: 18.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.762/1.306, allocations: 109.9 MB / 0.8058 GB, free: 85.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.306, allocations: 0 / 0.8058 GB, free: 85.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003912/1.307, allocations: 108.2 kB / 0.8059 GB, free: 85.05 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02423/1.331, allocations: 5.654 MB / 0.8114 GB, free: 82.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.331, allocations: 9.531 kB / 0.8114 GB, free: 82.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04343/1.375, allocations: 5.275 MB / 0.8166 GB, free: 82.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02614/1.401, allocations: 5.596 MB / 0.822 GB, free: 80.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008093/1.402, allocations: 405 kB / 0.8224 GB, free: 80.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003982/1.406, allocations: 0.5226 MB / 0.8229 GB, free: 79.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/1.46, allocations: 12.91 MB / 0.8355 GB, free: 71.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005288/1.461, allocations: 77.53 kB / 0.8356 GB, free: 71.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003739/1.464, allocations: 268.3 kB / 0.8359 GB, free: 71.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003944/1.468, allocations: 1.202 MB / 0.8371 GB, free: 71.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04565/1.514, allocations: 10.26 MB / 0.8471 GB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0908/1.605, allocations: 58.25 MB / 0.904 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/1.626, allocations: 4.675 MB / 0.9085 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005689/1.631, allocations: 2.248 MB / 0.9107 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/1.652, allocations: 6.809 MB / 0.9174 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.37e-05/1.653, allocations: 55.86 kB / 0.9174 GB, free: 3.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.732e-06/1.653, allocations: 0 / 0.9174 GB, free: 3.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.4394/2.092, allocations: 15.93 MB / 0.933 GB, free: 91.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/2.092, allocations: 199.1 kB / 0.9332 GB, free: 90.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0166/2.109, allocations: 5.756 MB / 0.9388 GB, free: 90.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005795/2.109, allocations: 59.88 kB / 0.9388 GB, free: 90.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004661/2.114, allocations: 4.017 MB / 0.9428 GB, free: 88.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/2.116, allocations: 0.7559 MB / 0.9435 GB, free: 87.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/2.117, allocations: 143.4 kB / 0.9436 GB, free: 87.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000582/2.117, allocations: 0.5985 MB / 0.9442 GB, free: 87.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006652/2.124, allocations: 2.265 MB / 0.9464 GB, free: 87.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.134, allocations: 6.694 MB / 0.953 GB, free: 81.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/2.144, allocations: 3.82 MB / 0.9567 GB, free: 81.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003109/2.145, allocations: 44.34 kB / 0.9567 GB, free: 81.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02614/2.171, allocations: 9.089 MB / 0.9656 GB, free: 77.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/2.171, allocations: 71.78 kB / 0.9657 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003025/2.171, allocations: 155.9 kB / 0.9658 GB, free: 77.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/2.173, allocations: 0.591 MB / 0.9664 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/2.184, allocations: 1.61 MB / 0.968 GB, free: 77.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00894/2.193, allocations: 5.608 MB / 0.9735 GB, free: 73.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009061/2.202, allocations: 384 kB / 0.9738 GB, free: 73.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/2.204, allocations: 438.5 kB / 0.9743 GB, free: 73.4 MB / 426.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.008119/2.212, allocations: 2.616 MB / 0.9768 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.213, allocations: 480.7 kB / 0.9773 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009283/2.223, allocations: 3.006 MB / 0.9802 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/2.223, allocations: 22.78 kB / 0.9802 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/2.223, allocations: 11 kB / 0.9802 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-05/2.223, allocations: 14.62 kB / 0.9802 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/2.249, allocations: 8.157 MB / 0.9882 GB, free: 67.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/2.249, allocations: 3.844 kB / 0.9882 GB, free: 67.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/2.252, allocations: 287.3 kB / 0.9885 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/2.254, allocations: 356.4 kB / 0.9888 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004634/2.255, allocations: 29.47 kB / 0.9889 GB, free: 67.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007626/2.262, allocations: 4.951 MB / 0.9937 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/2.262, allocations: 6.766 kB / 0.9937 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/2.276, allocations: 5.515 MB / 0.9991 GB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/2.279, allocations: 0.7964 MB / 0.9999 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/2.281, allocations: 27.31 kB / 0.9999 GB, free: 60.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004342/2.286, allocations: 96.53 kB / 1 GB, free: 60.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007138/2.286, allocations: 116.3 kB / 1 GB, free: 60.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/2.287, allocations: 59.28 kB / 1 GB, free: 60.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01061/2.297, allocations: 3.682 MB / 1.004 GB, free: 58.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.297, allocations: 0 / 1.004 GB, free: 58.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009554/2.307, allocations: 1.19 MB / 1.005 GB, free: 57.75 MB / 426.7 MB 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.0008484/2.308, allocations: 178.6 kB / 1.005 GB, free: 57.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01349/2.321, allocations: 5.614 MB / 1.011 GB, free: 52.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/2.321, allocations: 0 / 1.011 GB, free: 52.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003791/2.325, allocations: 1.671 MB / 1.012 GB, free: 51.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008217/2.333, allocations: 0.6253 MB / 1.013 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/2.366, allocations: 13.39 MB / 1.026 GB, free: 38.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.376, allocations: 4.124 MB / 1.03 GB, free: 35.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0116/2.387, allocations: 2.295 MB / 1.032 GB, free: 33.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/2.389, allocations: 317.2 kB / 1.032 GB, free: 33.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/2.389, allocations: 0 / 1.032 GB, free: 33.46 MB / 426.7 MB Notification: Performance of Templates: time 0.1304/2.52, allocations: 42.26 MB / 1.074 GB, free: 10.87 MB / 442.7 MB