Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.01661/0.01661, allocations: 165.4 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.783/1.783, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.002095/0.002095, allocations: 103.5 kB / 226.2 MB, free: 10.12 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.4469/0.4469, allocations: 38.04 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006401, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5356, allocations: 94.09 MB / 0.4939 GB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5359, allocations: 74.22 kB / 0.494 GB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8591/1.395, allocations: 130.7 MB / 0.6217 GB, free: 71.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.536e-06/1.395, allocations: 0 / 0.6217 GB, free: 71.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005523/1.396, allocations: 126.5 kB / 0.6218 GB, free: 71.34 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.03522/1.431, allocations: 6.808 MB / 0.6284 GB, free: 68.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.431, allocations: 8.844 kB / 0.6285 GB, free: 68.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006067/1.437, allocations: 1.179 MB / 0.6296 GB, free: 68.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0545/1.492, allocations: 7.097 MB / 0.6365 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/1.518, allocations: 7.266 MB / 0.6436 GB, free: 67.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005463/1.518, allocations: 0.4892 MB / 0.6441 GB, free: 67.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003586/1.522, allocations: 0.6622 MB / 0.6448 GB, free: 67.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/1.571, allocations: 16.55 MB / 0.6609 GB, free: 61.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/1.572, allocations: 72.06 kB / 0.661 GB, free: 61.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001986/1.574, allocations: 311.3 kB / 0.6613 GB, free: 61.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003111/1.577, allocations: 1.57 MB / 0.6628 GB, free: 60.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04523/1.622, allocations: 14.1 MB / 0.6766 GB, free: 56.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1499/1.772, allocations: 66.15 MB / 0.7412 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03234/1.804, allocations: 7.065 MB / 0.7481 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3687/2.173, allocations: 15.05 MB / 0.7628 GB, free: 80.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/2.173, allocations: 71.47 kB / 0.7629 GB, free: 80.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 7.424e-06/2.173, allocations: 0.6562 kB / 0.7629 GB, free: 80.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.1422/2.315, allocations: 30.72 MB / 0.7929 GB, free: 75.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/2.316, allocations: 222.2 kB / 0.7931 GB, free: 75.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01352/2.329, allocations: 4.706 MB / 0.7977 GB, free: 75.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.33, allocations: 78.3 kB / 0.7977 GB, free: 75.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004288/2.335, allocations: 4.393 MB / 0.802 GB, free: 72.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002485/2.337, allocations: 1.274 MB / 0.8033 GB, free: 71.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/2.339, allocations: 168.7 kB / 0.8034 GB, free: 71.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006453/2.339, allocations: 0.653 MB / 0.8041 GB, free: 71.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009548/2.349, allocations: 3.618 MB / 0.8076 GB, free: 69.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/2.363, allocations: 8.067 MB / 0.8155 GB, free: 62.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/2.376, allocations: 5.291 MB / 0.8207 GB, free: 60.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/2.376, allocations: 49.31 kB / 0.8207 GB, free: 60.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03871/2.415, allocations: 13.05 MB / 0.8335 GB, free: 56.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/2.415, allocations: 72.09 kB / 0.8335 GB, free: 56.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000279/2.415, allocations: 161.5 kB / 0.8337 GB, free: 56.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007335/2.423, allocations: 1.672 MB / 0.8353 GB, free: 56.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/2.436, allocations: 1.924 MB / 0.8372 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/2.459, allocations: 11.67 MB / 0.8486 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.469, allocations: 0.4885 MB / 0.8491 GB, free: 49.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/2.472, allocations: 482.5 kB / 0.8495 GB, free: 49.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (996): * Single equations (assignments): 991 * 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.009468/2.481, allocations: 3.079 MB / 0.8525 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/2.483, allocations: 0.4971 MB / 0.853 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02536/2.508, allocations: 7.462 MB / 0.8603 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-05/2.509, allocations: 39.88 kB / 0.8603 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/2.509, allocations: 12.92 kB / 0.8604 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.893e-05/2.509, allocations: 21.53 kB / 0.8604 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05126/2.56, allocations: 16.09 MB / 0.8761 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.692e-05/2.56, allocations: 3.609 kB / 0.8761 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00642/2.567, allocations: 0.6042 MB / 0.8767 GB, free: 32.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006602/2.573, allocations: 1.415 MB / 0.8781 GB, free: 31.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/2.574, allocations: 65.77 kB / 0.8781 GB, free: 31.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/2.597, allocations: 10.86 MB / 0.8887 GB, free: 21.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.597, allocations: 1.875 kB / 0.8887 GB, free: 21.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03313/2.63, allocations: 12.04 MB / 0.9005 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004878/2.635, allocations: 1.097 MB / 0.9016 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002462/2.637, allocations: 56 kB / 0.9016 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006445/2.644, allocations: 258.2 kB / 0.9019 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/2.645, allocations: 199.1 kB / 0.902 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008064/2.646, allocations: 88.25 kB / 0.9021 GB, free: 9.559 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009373/2.656, allocations: 3.322 MB / 0.9054 GB, free: 6.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.656, allocations: 4 kB / 0.9054 GB, free: 6.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01183/2.667, allocations: 1.611 MB / 0.907 GB, free: 5.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.3718/3.039, allocations: 13.2 MB / 0.9198 GB, free: 86.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0246/3.064, allocations: 8.962 MB / 0.9286 GB, free: 86.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/3.064, allocations: 3.281 kB / 0.9286 GB, free: 86.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01122/3.075, allocations: 3.784 MB / 0.9323 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005899/3.081, allocations: 0.6183 MB / 0.9329 GB, free: 86.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1981/3.279, allocations: 164.5 MB / 1.094 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01275/3.292, allocations: 4.931 MB / 1.098 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0128/3.305, allocations: 2.646 MB / 1.101 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008866/3.314, allocations: 3.048 MB / 1.104 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/3.314, allocations: 0 / 1.104 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6308/3.945, allocations: 122.7 MB / 1.224 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/3.945, allocations: 198.8 kB / 1.224 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/11.36, allocations: 0 / 1.224 GB, free: 132.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat