Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.0111/0.01111, allocations: 176 kB / 15.12 MB, free: 5.93 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 1.995/1.995, 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.002024/0.002023, allocations: 108.7 kB / 255.6 MB, free: 11.21 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.2447/0.2447, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006517/0.0006521, allocations: 10.72 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1187, allocations: 54.87 MB / 461.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5357/0.6545, allocations: 102.9 MB / 0.5509 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.6549, allocations: 79.66 kB / 0.5509 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5565/1.211, allocations: 138.3 MB / 0.686 GB, free: 6.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.401e-06/1.211, allocations: 0 / 0.686 GB, free: 6.125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005232/1.212, allocations: 135.9 kB / 0.6862 GB, free: 5.992 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03529/1.247, allocations: 7.295 MB / 0.6933 GB, free: 14.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.247, allocations: 12.03 kB / 0.6933 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006843/1.254, allocations: 1.236 MB / 0.6945 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05695/1.311, allocations: 7.178 MB / 0.7015 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7108/2.022, allocations: 7.565 MB / 0.7089 GB, free: 69.32 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008194/2.023, allocations: 0.5171 MB / 0.7094 GB, free: 69.3 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004616/2.028, allocations: 0.6902 MB / 0.7101 GB, free: 69.3 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06081/2.089, allocations: 17.24 MB / 0.7269 GB, free: 65.59 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005747/2.089, allocations: 84.17 kB / 0.727 GB, free: 65.59 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003802/2.093, allocations: 331.1 kB / 0.7273 GB, free: 65.59 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003882/2.097, allocations: 1.62 MB / 0.7289 GB, free: 65.57 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0464/2.143, allocations: 14.36 MB / 0.7429 GB, free: 65.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1154/2.259, allocations: 72.29 MB / 0.8135 GB, free: 35.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03026/2.289, allocations: 7.209 MB / 0.8205 GB, free: 33.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0247/2.314, allocations: 9.469 MB / 0.8298 GB, free: 29.32 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/2.314, allocations: 70.56 kB / 0.8299 GB, free: 29.26 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 7.675e-06/2.314, allocations: 0 / 0.8299 GB, free: 29.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.1391/2.453, allocations: 32.16 MB / 0.8613 GB, free: 8.562 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/2.453, allocations: 240.2 kB / 0.8615 GB, free: 8.277 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01743/2.471, allocations: 5.946 MB / 0.8673 GB, free: 3.34 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/2.472, allocations: 73.7 kB / 0.8674 GB, free: 3.262 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006266/2.478, allocations: 4.815 MB / 0.8721 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002651/2.481, allocations: 1.264 MB / 0.8733 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/2.483, allocations: 179.9 kB / 0.8735 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001105/2.484, allocations: 0.6845 MB / 0.8741 GB, free: 13.08 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01141/2.495, allocations: 3.731 MB / 0.8778 GB, free: 9.926 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/2.512, allocations: 8.756 MB / 0.8863 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/2.528, allocations: 5.604 MB / 0.8918 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001964/2.528, allocations: 56 kB / 0.8919 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.4469/2.975, allocations: 13.85 MB / 0.9054 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.975, allocations: 79.59 kB / 0.9055 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003533/2.975, allocations: 177.7 kB / 0.9056 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008249/2.984, allocations: 1.7 MB / 0.9073 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/2.999, allocations: 2.122 MB / 0.9094 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02532/3.025, allocations: 11.71 MB / 0.9208 GB, free: 97.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/3.037, allocations: 0.5227 MB / 0.9213 GB, free: 97.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002599/3.039, allocations: 0.5185 MB / 0.9218 GB, free: 97.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1089): * Single equations (assignments): 1084 * 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.009856/3.049, allocations: 3.287 MB / 0.925 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/3.051, allocations: 0.5801 MB / 0.9256 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/3.074, allocations: 7.526 MB / 0.933 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/3.074, allocations: 34.41 kB / 0.933 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/3.074, allocations: 9.594 kB / 0.933 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-05/3.074, allocations: 17.41 kB / 0.933 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05017/3.125, allocations: 16.09 MB / 0.9487 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/3.125, allocations: 3.531 kB / 0.9487 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006884/3.132, allocations: 0.6304 MB / 0.9493 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006748/3.138, allocations: 1.427 MB / 0.9507 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/3.14, allocations: 65.06 kB / 0.9508 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/3.162, allocations: 10.92 MB / 0.9615 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/3.162, allocations: 11.19 kB / 0.9615 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03162/3.193, allocations: 12.72 MB / 0.9739 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005267/3.199, allocations: 1.199 MB / 0.9751 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002978/3.202, allocations: 61.48 kB / 0.9751 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00682/3.209, allocations: 228.8 kB / 0.9753 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001509/3.21, allocations: 208 kB / 0.9755 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004124/3.211, allocations: 87.67 kB / 0.9756 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0119/3.223, allocations: 4.281 MB / 0.9798 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.383e-06/3.223, allocations: 0 / 0.9798 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01186/3.235, allocations: 1.699 MB / 0.9815 GB, free: 86.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 274 * 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.03209/3.267, allocations: 14.11 MB / 0.9952 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02176/3.289, allocations: 9.183 MB / 1.004 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/3.289, allocations: 0 / 1.004 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009862/3.298, allocations: 3.711 MB / 1.008 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006097/3.305, allocations: 0.7063 MB / 1.009 GB, free: 74.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5472/3.852, allocations: 187.9 MB / 1.192 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/3.865, allocations: 5.171 MB / 1.197 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01454/3.879, allocations: 2.972 MB / 1.2 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009112/3.888, allocations: 3.276 MB / 1.203 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of SimCode: time 1.633e-06/3.888, allocations: 3.469 kB / 1.203 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6634/4.552, allocations: 133.9 MB / 1.334 GB, free: 94.55 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/4.552, allocations: 205.3 kB / 1.334 GB, free: 94.31 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/13.39, allocations: 3.938 kB / 1.334 GB, free: 94.3 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat