Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01051/0.01051, allocations: 164.7 kB / 15.11 MB, free: 5.988 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.877/1.877, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001962/0.001961, allocations: 107.4 kB / 226.2 MB, free: 10.11 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.4413/0.4413, allocations: 38.05 MB / 303.7 MB, free: 42.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007205/0.0007205, allocations: 16 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1095, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5422, allocations: 94.57 MB / 0.4944 GB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5426, allocations: 76.89 kB / 0.4945 GB, free: 9.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8358/1.378, allocations: 132.7 MB / 0.624 GB, free: 72.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.378, allocations: 0 / 0.624 GB, free: 72.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005102/1.379, allocations: 129.4 kB / 0.6241 GB, free: 72.47 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.03286/1.412, allocations: 6.89 MB / 0.6309 GB, free: 69.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.412, allocations: 9.375 kB / 0.6309 GB, free: 69.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006322/1.418, allocations: 1.196 MB / 0.632 GB, free: 69.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05415/1.472, allocations: 7.125 MB / 0.639 GB, free: 69.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02712/1.5, allocations: 7.255 MB / 0.6461 GB, free: 68.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/1.5, allocations: 0.5053 MB / 0.6466 GB, free: 68.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/1.504, allocations: 0.6724 MB / 0.6472 GB, free: 68.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06597/1.57, allocations: 16.71 MB / 0.6636 GB, free: 61.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005132/1.571, allocations: 86.59 kB / 0.6636 GB, free: 61.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/1.574, allocations: 320.4 kB / 0.6639 GB, free: 61.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004133/1.578, allocations: 1.562 MB / 0.6655 GB, free: 61.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05053/1.628, allocations: 13.98 MB / 0.6791 GB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/1.741, allocations: 70.1 MB / 0.7476 GB, free: 8.836 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03706/1.778, allocations: 7.938 MB / 0.7553 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004655/1.779, allocations: 54.36 kB / 0.7554 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.806e-05/1.779, allocations: 76.48 kB / 0.7555 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 8.326e-06/1.779, allocations: 0 / 0.7555 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of matching and sorting (n=332): time 0.4784/2.257, allocations: 32.7 MB / 0.7874 GB, free: 78.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/2.257, allocations: 216.1 kB / 0.7876 GB, free: 78.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01779/2.275, allocations: 5.626 MB / 0.7931 GB, free: 77.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001168/2.276, allocations: 76.89 kB / 0.7932 GB, free: 77.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005104/2.281, allocations: 4.588 MB / 0.7976 GB, free: 75.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002415/2.284, allocations: 1.238 MB / 0.7989 GB, free: 74.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/2.286, allocations: 170.3 kB / 0.799 GB, free: 74.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008558/2.287, allocations: 0.673 MB / 0.7997 GB, free: 74.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/2.297, allocations: 3.785 MB / 0.8034 GB, free: 74.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/2.311, allocations: 8.606 MB / 0.8118 GB, free: 66.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/2.326, allocations: 5.588 MB / 0.8172 GB, free: 64.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002116/2.326, allocations: 46.88 kB / 0.8173 GB, free: 64.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.04153/2.367, allocations: 13.74 MB / 0.8307 GB, free: 59.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/2.368, allocations: 81.81 kB / 0.8308 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003414/2.368, allocations: 170.5 kB / 0.8309 GB, free: 59.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007655/2.376, allocations: 1.684 MB / 0.8326 GB, free: 59.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/2.391, allocations: 2.087 MB / 0.8346 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/2.414, allocations: 11.69 MB / 0.846 GB, free: 53.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.426, allocations: 0.5266 MB / 0.8465 GB, free: 53.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/2.429, allocations: 0.5005 MB / 0.847 GB, free: 52.95 MB / 442.7 MB 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.01083/2.44, allocations: 3.155 MB / 0.8501 GB, free: 51.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002488/2.442, allocations: 0.5562 MB / 0.8507 GB, free: 51.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02484/2.467, allocations: 7.515 MB / 0.858 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-05/2.467, allocations: 32.97 kB / 0.858 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/2.467, allocations: 13 kB / 0.858 GB, free: 48.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-05/2.468, allocations: 20.45 kB / 0.8581 GB, free: 48.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05348/2.521, allocations: 16.35 MB / 0.874 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-05/2.521, allocations: 7 kB / 0.874 GB, free: 35.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006863/2.528, allocations: 0.6472 MB / 0.8747 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006624/2.535, allocations: 1.424 MB / 0.8761 GB, free: 34.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/2.536, allocations: 65.98 kB / 0.8761 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02184/2.558, allocations: 10.92 MB / 0.8868 GB, free: 24.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.558, allocations: 4 kB / 0.8868 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03197/2.59, allocations: 12.85 MB / 0.8993 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004879/2.595, allocations: 1.213 MB / 0.9005 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002376/2.597, allocations: 58.66 kB / 0.9006 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006713/2.604, allocations: 274.4 kB / 0.9008 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/2.605, allocations: 198.9 kB / 0.901 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004814/2.606, allocations: 91.88 kB / 0.9011 GB, free: 11.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01077/2.617, allocations: 3.999 MB / 0.905 GB, free: 8.125 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.617, allocations: 7.094 kB / 0.905 GB, free: 8.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01191/2.629, allocations: 1.672 MB / 0.9067 GB, free: 6.457 MB / 442.7 MB 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.3832/3.012, allocations: 14.49 MB / 0.9208 GB, free: 86.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02475/3.037, allocations: 9.321 MB / 0.9299 GB, free: 85.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/3.037, allocations: 2.719 kB / 0.9299 GB, free: 85.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01238/3.049, allocations: 3.86 MB / 0.9337 GB, free: 85.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006542/3.056, allocations: 0.6638 MB / 0.9343 GB, free: 85.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.203/3.259, allocations: 179.4 MB / 1.11 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01359/3.272, allocations: 4.99 MB / 1.114 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01452/3.287, allocations: 2.923 MB / 1.117 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01034/3.297, allocations: 3.159 MB / 1.12 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/3.297, allocations: 0 / 1.12 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.694/3.991, allocations: 128.8 MB / 1.246 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/3.992, allocations: 210.8 kB / 1.246 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/12.16, allocations: 0 / 1.246 GB, free: 140.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat