Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01016/0.01016, allocations: 174.1 kB / 15.12 MB, free: 5.98 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 2.171/2.171, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002076/0.002076, allocations: 116.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2743/0.2743, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.000519, allocations: 15.62 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1139, allocations: 54.88 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5403/0.6542, allocations: 104.1 MB / 0.552 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.6546, allocations: 79.03 kB / 0.552 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7168/1.371, allocations: 148.6 MB / 0.6972 GB, free: 8.777 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.371, allocations: 0 / 0.6972 GB, free: 8.777 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005832/1.372, allocations: 148 kB / 0.6973 GB, free: 8.633 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.03847/1.411, allocations: 7.916 MB / 0.705 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/1.411, allocations: 8.031 kB / 0.705 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007957/1.419, allocations: 1.376 MB / 0.7064 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05865/1.477, allocations: 7.318 MB / 0.7135 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7335/2.211, allocations: 7.908 MB / 0.7213 GB, free: 75.05 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009261/2.212, allocations: 0.5839 MB / 0.7218 GB, free: 75.03 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004579/2.216, allocations: 0.7694 MB / 0.7226 GB, free: 75.03 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06423/2.281, allocations: 18.99 MB / 0.7411 GB, free: 70.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005645/2.281, allocations: 99.91 kB / 0.7412 GB, free: 70.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003554/2.285, allocations: 377.8 kB / 0.7416 GB, free: 70.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004144/2.289, allocations: 1.831 MB / 0.7434 GB, free: 70.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04894/2.338, allocations: 15.58 MB / 0.7586 GB, free: 70.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/2.473, allocations: 81.74 MB / 0.8384 GB, free: 36.1 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03843/2.512, allocations: 8.745 MB / 0.847 GB, free: 33.48 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03172/2.544, allocations: 11.7 MB / 0.8584 GB, free: 28.11 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/2.544, allocations: 67.28 kB / 0.8584 GB, free: 28.05 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=347): time 8.586e-06/2.544, allocations: 0 / 0.8584 GB, free: 28.05 MB / 0.4949 GB Notification: Performance of matching and sorting (n=389): time 0.1591/2.703, allocations: 36.5 MB / 0.8941 GB, free: 2.785 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/2.703, allocations: 247.5 kB / 0.8943 GB, free: 2.492 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0325/2.736, allocations: 7.026 MB / 0.9012 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/2.737, allocations: 85.7 kB / 0.9013 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00865/2.746, allocations: 5.279 MB / 0.9064 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003649/2.749, allocations: 1.436 MB / 0.9078 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/2.752, allocations: 204 kB / 0.908 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001312/2.753, allocations: 0.7265 MB / 0.9087 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01734/2.771, allocations: 4.109 MB / 0.9127 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3921/3.163, allocations: 9.679 MB / 0.9222 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/3.181, allocations: 6.189 MB / 0.9282 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003393/3.181, allocations: 55.5 kB / 0.9283 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04728/3.228, allocations: 15.14 MB / 0.9431 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/3.229, allocations: 93.52 kB / 0.9432 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003887/3.229, allocations: 193.5 kB / 0.9434 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/3.237, allocations: 1.724 MB / 0.945 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/3.253, allocations: 2.43 MB / 0.9474 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/3.276, allocations: 11.72 MB / 0.9589 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/3.288, allocations: 0.5789 MB / 0.9594 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/3.291, allocations: 0.5794 MB / 0.96 GB, free: 90.29 MB / 0.5105 GB 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.01133/3.302, allocations: 3.611 MB / 0.9635 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/3.305, allocations: 0.6474 MB / 0.9642 GB, free: 89.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02576/3.331, allocations: 8.227 MB / 0.9722 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-05/3.331, allocations: 38.34 kB / 0.9722 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-05/3.331, allocations: 13.94 kB / 0.9722 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/3.331, allocations: 18.48 kB / 0.9723 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05613/3.387, allocations: 18.32 MB / 0.9901 GB, free: 85.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-05/3.387, allocations: 6.781 kB / 0.9901 GB, free: 85.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00772/3.395, allocations: 0.7671 MB / 0.9909 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006671/3.402, allocations: 1.425 MB / 0.9923 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/3.403, allocations: 80.77 kB / 0.9924 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02305/3.426, allocations: 10.92 MB / 1.003 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/3.426, allocations: 10.19 kB / 1.003 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03642/3.462, allocations: 14.51 MB / 1.017 GB, free: 72.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005282/3.468, allocations: 1.327 MB / 1.019 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002748/3.47, allocations: 64.86 kB / 1.019 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007231/3.478, allocations: 260.5 kB / 1.019 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001651/3.479, allocations: 238.8 kB / 1.019 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009891/3.48, allocations: 106.4 kB / 1.019 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01373/3.494, allocations: 4.717 MB / 1.024 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.92e-07/3.494, allocations: 0 / 1.024 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01365/3.508, allocations: 1.87 MB / 1.026 GB, free: 69.57 MB / 0.5105 GB 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.03716/3.545, allocations: 16.26 MB / 1.041 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0253/3.57, allocations: 10.1 MB / 1.051 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/3.571, allocations: 3.938 kB / 1.051 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/3.584, allocations: 4.036 MB / 1.055 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009283/3.594, allocations: 0.7623 MB / 1.056 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6404/4.234, allocations: 209.3 MB / 1.26 GB, free: 28.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01449/4.249, allocations: 5.639 MB / 1.266 GB, free: 28.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01637/4.265, allocations: 3.327 MB / 1.269 GB, free: 28.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01023/4.275, allocations: 3.683 MB / 1.273 GB, free: 28.04 MB / 0.573 GB Notification: Performance of SimCode: time 1.232e-06/4.275, allocations: 0 / 1.273 GB, free: 28.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7677/5.043, allocations: 146.7 MB / 1.416 GB, free: 137.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/5.043, allocations: 204.8 kB / 1.416 GB, free: 137.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/13.74, allocations: 0 / 1.416 GB, free: 137.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat