Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01523/0.01523, allocations: 162.4 kB / 15.11 MB, free: 5.93 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 1.678/1.678, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00207/0.00207, allocations: 106.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4495/0.4495, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 15.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5804, allocations: 97.26 MB / 0.497 GB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.5807, allocations: 78.02 kB / 0.4971 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9227/1.503, allocations: 148.4 MB / 0.642 GB, free: 70.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.504, allocations: 3.938 kB / 0.642 GB, free: 70.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005063/1.504, allocations: 154.7 kB / 0.6422 GB, free: 70.2 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03638/1.54, allocations: 7.91 MB / 0.6499 GB, free: 67.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.54, allocations: 19.03 kB / 0.6499 GB, free: 67.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007384/1.548, allocations: 1.367 MB / 0.6513 GB, free: 66.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05509/1.603, allocations: 7.318 MB / 0.6584 GB, free: 66.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/1.633, allocations: 7.92 MB / 0.6661 GB, free: 63.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008366/1.634, allocations: 0.5786 MB / 0.6667 GB, free: 63.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004984/1.639, allocations: 0.7644 MB / 0.6674 GB, free: 63.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06363/1.702, allocations: 18.99 MB / 0.686 GB, free: 53.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000672/1.703, allocations: 87.69 kB / 0.6861 GB, free: 53.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004563/1.708, allocations: 374.9 kB / 0.6864 GB, free: 53.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00446/1.712, allocations: 1.826 MB / 0.6882 GB, free: 53.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05152/1.764, allocations: 15.58 MB / 0.7034 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5136/2.278, allocations: 81.67 MB / 0.7832 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04011/2.318, allocations: 8.754 MB / 0.7917 GB, free: 29.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04283/2.361, allocations: 11.7 MB / 0.8032 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/2.361, allocations: 69.05 kB / 0.8032 GB, free: 27.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=347): time 1.152e-05/2.361, allocations: 2.766 kB / 0.8032 GB, free: 27.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=389): time 0.1739/2.535, allocations: 36.5 MB / 0.8389 GB, free: 17.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006451/2.535, allocations: 253.4 kB / 0.8391 GB, free: 33.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/2.553, allocations: 6.554 MB / 0.8455 GB, free: 31.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/2.554, allocations: 83.61 kB / 0.8456 GB, free: 31.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005385/2.559, allocations: 5.274 MB / 0.8507 GB, free: 27.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/2.562, allocations: 1.435 MB / 0.8521 GB, free: 26.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/2.564, allocations: 201.6 kB / 0.8523 GB, free: 26.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009084/2.565, allocations: 0.7286 MB / 0.853 GB, free: 25.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01521/2.58, allocations: 4.114 MB / 0.8571 GB, free: 24.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0228/2.603, allocations: 9.683 MB / 0.8665 GB, free: 15.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01955/2.622, allocations: 6.186 MB / 0.8726 GB, free: 13.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002453/2.623, allocations: 58.62 kB / 0.8726 GB, free: 13.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04708/2.67, allocations: 15.14 MB / 0.8874 GB, free: 5.762 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002391/2.67, allocations: 88 kB / 0.8875 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005104/2.671, allocations: 200.2 kB / 0.8877 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008049/2.679, allocations: 1.729 MB / 0.8894 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01706/2.696, allocations: 2.426 MB / 0.8917 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02631/2.722, allocations: 11.77 MB / 0.9032 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/2.735, allocations: 0.5732 MB / 0.9038 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/2.738, allocations: 0.5773 MB / 0.9044 GB, free: 6.699 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1225): * Single equations (assignments): 1220 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01318/2.752, allocations: 3.614 MB / 0.9079 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/2.754, allocations: 0.6401 MB / 0.9085 GB, free: 2.871 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/2.793, allocations: 8.486 MB / 0.9168 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.544e-05/2.793, allocations: 40 kB / 0.9168 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-05/2.794, allocations: 11.39 kB / 0.9168 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/2.794, allocations: 32.14 kB / 0.9169 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.409/3.203, allocations: 18.29 MB / 0.9347 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.467e-05/3.203, allocations: 8.125 kB / 0.9347 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/3.214, allocations: 0.7647 MB / 0.9355 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009842/3.224, allocations: 1.428 MB / 0.9369 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/3.225, allocations: 74.78 kB / 0.937 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/3.26, allocations: 10.92 MB / 0.9476 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-05/3.26, allocations: 14.39 kB / 0.9476 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04138/3.301, allocations: 14.51 MB / 0.9618 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005656/3.307, allocations: 1.32 MB / 0.9631 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002649/3.31, allocations: 75.84 kB / 0.9632 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007245/3.317, allocations: 259.4 kB / 0.9634 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/3.318, allocations: 231.3 kB / 0.9636 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004402/3.319, allocations: 110.2 kB / 0.9637 GB, free: 108.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01388/3.333, allocations: 4.718 MB / 0.9683 GB, free: 108.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.246e-06/3.333, allocations: 0 / 0.9683 GB, free: 108.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01305/3.346, allocations: 1.876 MB / 0.9702 GB, free: 108.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (329): * Single equations (assignments): 324 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03804/3.384, allocations: 16.25 MB / 0.986 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02371/3.408, allocations: 10.11 MB / 0.9959 GB, free: 96.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/3.408, allocations: 0 / 0.9959 GB, free: 96.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01061/3.418, allocations: 4.035 MB / 0.9999 GB, free: 95.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007097/3.426, allocations: 0.7727 MB / 1.001 GB, free: 95.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6312/4.057, allocations: 209.3 MB / 1.205 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01658/4.074, allocations: 5.634 MB / 1.211 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01632/4.09, allocations: 3.326 MB / 1.214 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/4.101, allocations: 3.683 MB / 1.217 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/4.101, allocations: 0 / 1.217 GB, free: 47.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8093/4.91, allocations: 146.7 MB / 1.361 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/4.91, allocations: 198 kB / 1.361 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/13.51, allocations: 3.938 kB / 1.361 GB, free: 120.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat