Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces",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.01413/0.01413, allocations: 174.2 kB / 15.12 MB, free: 5.934 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.081/2.081, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.002133/0.002133, allocations: 116.7 kB / 255.6 MB, free: 11.4 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.2676/0.2676, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004857, allocations: 13.44 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 54.87 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5148/0.6183, allocations: 102.6 MB / 0.5505 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.6186, allocations: 76.78 kB / 0.5506 GB, free: 21.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6785/1.297, allocations: 151.8 MB / 0.6989 GB, free: 7.059 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.466e-06/1.297, allocations: 0 / 0.6989 GB, free: 7.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006623/1.298, allocations: 159.9 kB / 0.699 GB, free: 6.902 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03815/1.336, allocations: 8.006 MB / 0.7068 GB, free: 14.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.336, allocations: 12.03 kB / 0.7069 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007238/1.343, allocations: 1.343 MB / 0.7082 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1089/1.452, allocations: 9.631 MB / 0.7176 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5008/1.953, allocations: 9.153 MB / 0.7265 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001316/1.955, allocations: 0.5714 MB / 0.7271 GB, free: 75.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00584/1.96, allocations: 0.7733 MB / 0.7278 GB, free: 75.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06833/2.029, allocations: 18.17 MB / 0.7456 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000839/2.03, allocations: 110.1 kB / 0.7457 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00453/2.034, allocations: 369.1 kB / 0.746 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004115/2.038, allocations: 1.696 MB / 0.7477 GB, free: 71.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04675/2.085, allocations: 14.62 MB / 0.762 GB, free: 71.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.133/2.218, allocations: 80.8 MB / 0.8409 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02974/2.248, allocations: 7.234 MB / 0.8479 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/2.249, allocations: 65.5 kB / 0.848 GB, free: 31.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/2.249, allocations: 67.41 kB / 0.8481 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 8.165e-06/2.249, allocations: 3.938 kB / 0.8481 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.1301/2.379, allocations: 31.74 MB / 0.8791 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/2.379, allocations: 295.4 kB / 0.8794 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/2.397, allocations: 6.587 MB / 0.8858 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009576/2.398, allocations: 77.7 kB / 0.8859 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005388/2.403, allocations: 5.358 MB / 0.8911 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/2.406, allocations: 1.283 MB / 0.8923 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/2.408, allocations: 188 kB / 0.8925 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001123/2.409, allocations: 0.7075 MB / 0.8932 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01889/2.428, allocations: 4.149 MB / 0.8973 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01761/2.445, allocations: 9.284 MB / 0.9063 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/2.462, allocations: 5.813 MB / 0.912 GB, free: 20 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004175/2.462, allocations: 85.28 kB / 0.9121 GB, free: 20 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.4151/2.877, allocations: 13.95 MB / 0.9257 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/2.878, allocations: 91.05 kB / 0.9258 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004536/2.878, allocations: 198.9 kB / 0.926 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006169/2.884, allocations: 1.379 MB / 0.9273 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/2.899, allocations: 2.238 MB / 0.9295 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/2.919, allocations: 11.51 MB / 0.9408 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.931, allocations: 0.5402 MB / 0.9413 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002613/2.934, allocations: 0.558 MB / 0.9418 GB, free: 90.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1172): * Single equations (assignments): 1166 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01067/2.945, allocations: 3.583 MB / 0.9453 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/2.947, allocations: 0.6439 MB / 0.946 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/2.968, allocations: 6.672 MB / 0.9525 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/2.968, allocations: 36.67 kB / 0.9525 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-05/2.968, allocations: 10.59 kB / 0.9525 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.433e-05/2.969, allocations: 18.86 kB / 0.9525 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04807/3.017, allocations: 15.47 MB / 0.9676 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.658e-05/3.017, allocations: 0 / 0.9676 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006201/3.023, allocations: 0.5799 MB / 0.9682 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/3.028, allocations: 1.063 MB / 0.9692 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009513/3.029, allocations: 57.91 kB / 0.9693 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/3.049, allocations: 10.53 MB / 0.9796 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.049, allocations: 0 / 0.9796 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03018/3.079, allocations: 11.26 MB / 0.9906 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004853/3.084, allocations: 1.211 MB / 0.9918 GB, free: 78.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/3.087, allocations: 54.77 kB / 0.9918 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006552/3.094, allocations: 207.3 kB / 0.992 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/3.095, allocations: 190.9 kB / 0.9922 GB, free: 78.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006402/3.096, allocations: 87.89 kB / 0.9923 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01347/3.109, allocations: 4.695 MB / 0.9969 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.21e-07/3.109, allocations: 3.5 kB / 0.9969 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01304/3.122, allocations: 1.791 MB / 0.9986 GB, free: 76.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02976/3.152, allocations: 12.15 MB / 1.01 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02214/3.174, allocations: 9.257 MB / 1.02 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/3.174, allocations: 0 / 1.02 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009024/3.183, allocations: 3.551 MB / 1.023 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007283/3.191, allocations: 0.8118 MB / 1.024 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6452/3.836, allocations: 207.7 MB / 1.227 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/3.85, allocations: 5.604 MB / 1.232 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01544/3.866, allocations: 3.165 MB / 1.235 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/3.876, allocations: 3.662 MB / 1.239 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of SimCode: time 1.694e-06/3.876, allocations: 6.656 kB / 1.239 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7776/4.653, allocations: 142 MB / 1.377 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/4.654, allocations: 201 kB / 1.378 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/13.38, allocations: 0 / 1.378 GB, free: 116.6 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat