Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.01014/0.01014, allocations: 175.8 kB / 15.12 MB, free: 5.984 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.098/2.098, 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.002014/0.002014, allocations: 120.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.2613/0.2613, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12.38 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.87 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6202, allocations: 101.4 MB / 0.5493 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.6205, allocations: 80.92 kB / 0.5494 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5349/1.155, allocations: 132.9 MB / 0.6792 GB, free: 11.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.156, allocations: 4 kB / 0.6792 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004642/1.156, allocations: 124 kB / 0.6793 GB, free: 11.09 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.03178/1.188, allocations: 6.896 MB / 0.686 GB, free: 4.113 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.188, allocations: 8.031 kB / 0.686 GB, free: 4.105 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006438/1.194, allocations: 1.211 MB / 0.6872 GB, free: 2.883 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05532/1.25, allocations: 7.124 MB / 0.6942 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.279, allocations: 7.262 MB / 0.7013 GB, free: 4.414 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008733/1.279, allocations: 0.5014 MB / 0.7017 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004347/1.284, allocations: 0.6715 MB / 0.7024 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05824/1.342, allocations: 16.74 MB / 0.7187 GB, free: 1.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005347/1.343, allocations: 83.28 kB / 0.7188 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003768/1.347, allocations: 323.8 kB / 0.7191 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3535/1.7, allocations: 1.553 MB / 0.7206 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04851/1.749, allocations: 13.98 MB / 0.7343 GB, free: 87.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/1.854, allocations: 70.15 MB / 0.8028 GB, free: 48.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03403/1.888, allocations: 7.933 MB / 0.8106 GB, free: 46.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/1.888, allocations: 60.02 kB / 0.8106 GB, free: 46.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/1.888, allocations: 69.8 kB / 0.8107 GB, free: 46.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 7.314e-06/1.888, allocations: 0 / 0.8107 GB, free: 46.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.1409/2.029, allocations: 32.71 MB / 0.8426 GB, free: 35.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/2.029, allocations: 216.7 kB / 0.8428 GB, free: 35.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/2.044, allocations: 5.621 MB / 0.8483 GB, free: 32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/2.045, allocations: 77.7 kB / 0.8484 GB, free: 31.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004402/2.049, allocations: 4.597 MB / 0.8529 GB, free: 27.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002071/2.051, allocations: 1.232 MB / 0.8541 GB, free: 26.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/2.053, allocations: 168 kB / 0.8542 GB, free: 26.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006101/2.053, allocations: 0.6681 MB / 0.8549 GB, free: 26.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009845/2.063, allocations: 3.793 MB / 0.8586 GB, free: 22.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/2.077, allocations: 8.608 MB / 0.867 GB, free: 12.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/2.09, allocations: 5.587 MB / 0.8725 GB, free: 7.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/2.09, allocations: 48 kB / 0.8725 GB, free: 7.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.04016/2.13, allocations: 13.75 MB / 0.8859 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/2.131, allocations: 77 kB / 0.886 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003358/2.131, allocations: 168 kB / 0.8862 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007541/2.139, allocations: 1.689 MB / 0.8878 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/2.154, allocations: 2.084 MB / 0.8899 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02592/2.179, allocations: 11.69 MB / 0.9013 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/2.191, allocations: 0.5246 MB / 0.9018 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/2.193, allocations: 0.4972 MB / 0.9023 GB, free: 13.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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 (1047): * Single equations (assignments): 1042 * 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.01046/2.204, allocations: 3.158 MB / 0.9054 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/2.206, allocations: 0.5554 MB / 0.9059 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/2.232, allocations: 7.508 MB / 0.9132 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.565e-05/2.232, allocations: 43.38 kB / 0.9133 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-05/2.232, allocations: 8 kB / 0.9133 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.696e-05/2.232, allocations: 18.44 kB / 0.9133 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4374/2.67, allocations: 16.7 MB / 0.9296 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.536e-05/2.67, allocations: 5.969 kB / 0.9296 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006973/2.677, allocations: 0.645 MB / 0.9302 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006857/2.684, allocations: 1.422 MB / 0.9316 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009584/2.685, allocations: 64.2 kB / 0.9317 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/2.707, allocations: 10.92 MB / 0.9424 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.707, allocations: 7.406 kB / 0.9424 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/2.739, allocations: 12.84 MB / 0.9549 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004716/2.744, allocations: 1.208 MB / 0.9561 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002223/2.746, allocations: 59.73 kB / 0.9561 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006281/2.752, allocations: 271.1 kB / 0.9564 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/2.754, allocations: 202.3 kB / 0.9566 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004287/2.754, allocations: 91.03 kB / 0.9567 GB, free: 106 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01067/2.765, allocations: 3.992 MB / 0.9606 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.52e-07/2.765, allocations: 3.469 kB / 0.9606 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01149/2.776, allocations: 1.669 MB / 0.9622 GB, free: 105.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.03451/2.811, allocations: 14.21 MB / 0.9761 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02236/2.833, allocations: 9.334 MB / 0.9852 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/2.833, allocations: 0 / 0.9852 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/2.844, allocations: 3.856 MB / 0.989 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006023/2.85, allocations: 0.6686 MB / 0.9896 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5406/3.391, allocations: 179.4 MB / 1.165 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/3.403, allocations: 4.985 MB / 1.17 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0178/3.421, allocations: 2.923 MB / 1.173 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/3.432, allocations: 3.164 MB / 1.176 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.843e-06/3.432, allocations: 0 / 1.176 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6973/4.13, allocations: 128.9 MB / 1.301 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/4.13, allocations: 212.5 kB / 1.302 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/12.48, allocations: 3.75 kB / 1.302 GB, free: 108.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat