Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01042/0.01042, allocations: 176.1 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.046/2.046, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002027/0.002026, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.2871/0.2871, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 13.28 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5296/0.6465, allocations: 101.6 MB / 0.5495 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.6469, allocations: 76.28 kB / 0.5496 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42/2.067, allocations: 178.6 MB / 0.7241 GB, free: 63.32 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.045e-06/2.067, allocations: 0 / 0.7241 GB, free: 63.32 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0007063/2.068, allocations: 184.4 kB / 0.7242 GB, free: 63.32 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.04552/2.113, allocations: 9.465 MB / 0.7335 GB, free: 61.83 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/2.113, allocations: 10.67 kB / 0.7335 GB, free: 61.83 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008818/2.122, allocations: 1.614 MB / 0.7351 GB, free: 61.71 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07339/2.196, allocations: 9.868 MB / 0.7447 GB, free: 61.09 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03529/2.231, allocations: 9.876 MB / 0.7544 GB, free: 60.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/2.232, allocations: 0.6978 MB / 0.755 GB, free: 60.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005953/2.238, allocations: 0.9242 MB / 0.7559 GB, free: 60.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07946/2.318, allocations: 22.33 MB / 0.7777 GB, free: 55.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/2.319, allocations: 103.6 kB / 0.7778 GB, free: 55.53 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006587/2.325, allocations: 440.8 kB / 0.7783 GB, free: 55.53 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006817/2.332, allocations: 2.081 MB / 0.7803 GB, free: 55.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0794/2.412, allocations: 18.68 MB / 0.7985 GB, free: 55.41 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1569/2.569, allocations: 91.5 MB / 0.8879 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0384/2.607, allocations: 9.453 MB / 0.8971 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/2.608, allocations: 82.19 kB / 0.8972 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/2.608, allocations: 84.95 kB / 0.8973 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 7.554e-06/2.608, allocations: 0 / 0.8973 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.5584/3.166, allocations: 45.19 MB / 0.9414 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/3.166, allocations: 277.3 kB / 0.9417 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/3.186, allocations: 7.376 MB / 0.9489 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001518/3.187, allocations: 97 kB / 0.949 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006003/3.193, allocations: 6.117 MB / 0.955 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003138/3.196, allocations: 1.74 MB / 0.9566 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/3.199, allocations: 228.3 kB / 0.9569 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001011/3.2, allocations: 0.778 MB / 0.9576 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01349/3.213, allocations: 5.039 MB / 0.9625 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0182/3.232, allocations: 11.09 MB / 0.9734 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/3.249, allocations: 7.34 MB / 0.9805 GB, free: 73.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002428/3.25, allocations: 60.78 kB / 0.9806 GB, free: 73.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05259/3.302, allocations: 18.28 MB / 0.9985 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/3.302, allocations: 95.47 kB / 0.9985 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003631/3.303, allocations: 210.4 kB / 0.9987 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/3.314, allocations: 2.48 MB / 1.001 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01845/3.332, allocations: 2.677 MB / 1.004 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0331/3.365, allocations: 17.4 MB / 1.021 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/3.38, allocations: 0.6753 MB / 1.021 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003267/3.383, allocations: 0.6464 MB / 1.022 GB, free: 61.21 MB / 0.5105 GB 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.01384/3.397, allocations: 4.19 MB / 1.026 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003293/3.401, allocations: 0.747 MB / 1.027 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03532/3.436, allocations: 10.8 MB / 1.037 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/3.436, allocations: 48 kB / 1.037 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-05/3.436, allocations: 16 kB / 1.037 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001317/3.436, allocations: 22.31 kB / 1.038 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07368/3.51, allocations: 22.98 MB / 1.06 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-05/3.51, allocations: 4 kB / 1.06 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008978/3.519, allocations: 0.8857 MB / 1.061 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009734/3.529, allocations: 2.124 MB / 1.063 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001447/3.53, allocations: 92.36 kB / 1.063 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03708/3.567, allocations: 16.18 MB / 1.079 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/3.568, allocations: 15.47 kB / 1.079 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04434/3.612, allocations: 17.79 MB / 1.096 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006484/3.618, allocations: 1.607 MB / 1.098 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003247/3.622, allocations: 84.39 kB / 1.098 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008883/3.631, allocations: 356.1 kB / 1.098 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0021/3.633, allocations: 290 kB / 1.098 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001431/3.634, allocations: 124.3 kB / 1.099 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3941/4.028, allocations: 5.329 MB / 1.104 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.825e-06/4.028, allocations: 4.531 kB / 1.104 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01958/4.048, allocations: 2.275 MB / 1.106 GB, free: 79.28 MB / 0.5105 GB 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.09797/4.146, allocations: 19.08 MB / 1.125 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03071/4.177, allocations: 12.55 MB / 1.137 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/4.177, allocations: 3.938 kB / 1.137 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01494/4.192, allocations: 5.351 MB / 1.142 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008872/4.201, allocations: 0.946 MB / 1.143 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.668/4.869, allocations: 237.5 MB / 1.375 GB, free: 130.6 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01652/4.885, allocations: 6.593 MB / 1.381 GB, free: 129.7 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01801/4.903, allocations: 3.77 MB / 1.385 GB, free: 129.6 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01243/4.916, allocations: 4.443 MB / 1.389 GB, free: 129.6 MB / 0.6043 GB Notification: Performance of SimCode: time 1.503e-06/4.916, allocations: 0 / 1.389 GB, free: 129.6 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7797/5.696, allocations: 176.5 MB / 1.562 GB, free: 147.6 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/5.696, allocations: 200.7 kB / 1.562 GB, free: 147.4 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/16.45, allocations: 0 / 1.562 GB, free: 147.4 MB / 0.6043 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat