Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.01058/0.01058, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.802/1.802, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.003028/0.003028, allocations: 107.3 kB / 226.2 MB, free: 10.09 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.4393/0.4393, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004645, allocations: 15.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1192, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5556, allocations: 94.77 MB / 0.4946 GB, free: 9.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5559, allocations: 80.02 kB / 0.4947 GB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082/1.638, allocations: 178.4 MB / 0.6688 GB, free: 65.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.638, allocations: 0 / 0.6688 GB, free: 65.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005667/1.638, allocations: 183.4 kB / 0.669 GB, free: 65.69 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04177/1.68, allocations: 9.453 MB / 0.6782 GB, free: 59.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.68, allocations: 7.062 kB / 0.6783 GB, free: 59.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007626/1.688, allocations: 1.611 MB / 0.6798 GB, free: 58.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07352/1.762, allocations: 9.865 MB / 0.6895 GB, free: 53.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03525/1.797, allocations: 9.879 MB / 0.6991 GB, free: 46.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/1.798, allocations: 0.6884 MB / 0.6998 GB, free: 46.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005467/1.803, allocations: 0.9154 MB / 0.7007 GB, free: 45.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0726/1.876, allocations: 22.32 MB / 0.7225 GB, free: 21.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00073/1.877, allocations: 107 kB / 0.7226 GB, free: 21.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00505/1.882, allocations: 433.2 kB / 0.723 GB, free: 21.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004646/1.887, allocations: 2.081 MB / 0.725 GB, free: 19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06139/1.948, allocations: 18.67 MB / 0.7433 GB, free: 288 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.499/2.447, allocations: 91.44 MB / 0.8325 GB, free: 33.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04102/2.488, allocations: 9.44 MB / 0.8418 GB, free: 30.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/2.489, allocations: 83.53 kB / 0.8418 GB, free: 30.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/2.489, allocations: 77.84 kB / 0.8419 GB, free: 30.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=412): time 8.245e-06/2.489, allocations: 0 / 0.8419 GB, free: 30.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=475): time 0.1969/2.686, allocations: 45.17 MB / 0.886 GB, free: 13.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/2.686, allocations: 286.6 kB / 0.8863 GB, free: 12.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02067/2.707, allocations: 7.386 MB / 0.8935 GB, free: 9.355 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001506/2.708, allocations: 97.7 kB / 0.8936 GB, free: 9.254 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006333/2.715, allocations: 6.103 MB / 0.8996 GB, free: 3.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003421/2.718, allocations: 1.745 MB / 0.9013 GB, free: 2.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/2.721, allocations: 224 kB / 0.9015 GB, free: 2.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001295/2.722, allocations: 0.7778 MB / 0.9022 GB, free: 1.367 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03443/2.757, allocations: 6.195 MB / 0.9083 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0214/2.778, allocations: 11.1 MB / 0.9191 GB, free: 2.848 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3711/3.149, allocations: 7.325 MB / 0.9263 GB, free: 98.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002544/3.15, allocations: 60.72 kB / 0.9263 GB, free: 98.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05465/3.204, allocations: 18.29 MB / 0.9442 GB, free: 97.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000163/3.205, allocations: 94.78 kB / 0.9443 GB, free: 97.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000339/3.205, allocations: 214.5 kB / 0.9445 GB, free: 97.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/3.216, allocations: 2.471 MB / 0.9469 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01889/3.235, allocations: 2.677 MB / 0.9495 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03739/3.273, allocations: 17.42 MB / 0.9665 GB, free: 92.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01507/3.288, allocations: 0.6666 MB / 0.9672 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003368/3.291, allocations: 0.65 MB / 0.9678 GB, free: 92.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1362): * Single equations (assignments): 1356 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01381/3.305, allocations: 4.184 MB / 0.9719 GB, free: 90.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/3.307, allocations: 0.7554 MB / 0.9726 GB, free: 90.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03385/3.341, allocations: 10.8 MB / 0.9832 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-05/3.341, allocations: 53.3 kB / 0.9832 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-05/3.341, allocations: 14.44 kB / 0.9833 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/3.342, allocations: 22.45 kB / 0.9833 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07299/3.415, allocations: 22.96 MB / 1.006 GB, free: 78.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-05/3.415, allocations: 6.031 kB / 1.006 GB, free: 78.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009075/3.424, allocations: 0.8756 MB / 1.007 GB, free: 78.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009743/3.434, allocations: 2.137 MB / 1.009 GB, free: 78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001294/3.435, allocations: 88.44 kB / 1.009 GB, free: 77.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0439/3.479, allocations: 16.18 MB / 1.025 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/3.479, allocations: 7.938 kB / 1.025 GB, free: 65.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06362/3.543, allocations: 17.79 MB / 1.042 GB, free: 50.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006928/3.55, allocations: 1.612 MB / 1.043 GB, free: 49.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003539/3.553, allocations: 79.12 kB / 1.044 GB, free: 48.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00912/3.562, allocations: 362.1 kB / 1.044 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002174/3.565, allocations: 289.4 kB / 1.044 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00145/3.566, allocations: 125.5 kB / 1.044 GB, free: 48.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01493/3.581, allocations: 5.273 MB / 1.049 GB, free: 44.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.82e-07/3.581, allocations: 0 / 1.049 GB, free: 44.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01561/3.597, allocations: 2.27 MB / 1.052 GB, free: 41.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (406): * Single equations (assignments): 400 * 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,(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.04717/3.644, allocations: 19.09 MB / 1.07 GB, free: 25.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03001/3.674, allocations: 12.55 MB / 1.083 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/3.674, allocations: 0 / 1.083 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.689, allocations: 5.349 MB / 1.088 GB, free: 8.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008357/3.697, allocations: 0.9392 MB / 1.089 GB, free: 7.312 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9822/4.679, allocations: 237.4 MB / 1.321 GB, free: 190.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01798/4.697, allocations: 6.587 MB / 1.327 GB, free: 189.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01868/4.716, allocations: 3.777 MB / 1.331 GB, free: 189.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01288/4.729, allocations: 4.435 MB / 1.335 GB, free: 187.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.946e-06/4.729, allocations: 1.125 kB / 1.335 GB, free: 187.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7545/5.484, allocations: 176.5 MB / 1.507 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/5.484, allocations: 199.4 kB / 1.508 GB, free: 178.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/16.09, allocations: 0 / 1.508 GB, free: 178.6 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat