Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01067/0.01067, allocations: 107.8 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001222/0.001222, allocations: 181.9 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.88/1.88, allocations: 194.5 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2627/0.2627, allocations: 40.05 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005131, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.4204/0.5359, allocations: 87.06 MB / 0.4913 GB, free: 11.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04921/0.5851, allocations: 19.31 MB / 0.5101 GB, free: 14.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01932/0.6045, allocations: 426.1 kB / 0.5106 GB, free: 14.6 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.621, allocations: 4.48 MB / 0.5149 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05134/0.6724, allocations: 12.35 MB / 0.527 GB, free: 6.742 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007592/0.6801, allocations: 0.9917 MB / 0.528 GB, free: 6.082 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0558/0.7359, allocations: 18.74 MB / 0.5463 GB, free: 6.293 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01834/0.7543, allocations: 8.842 MB / 0.5549 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/0.7592, allocations: 1.81 MB / 0.5567 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.7652, allocations: 2.476 MB / 0.5591 GB, free: 9.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.7672, allocations: 276 kB / 0.5593 GB, free: 8.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.7718, allocations: 1.057 MB / 0.5604 GB, free: 7.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005613/0.7775, allocations: 2.977 MB / 0.5633 GB, free: 4.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.7808, allocations: 1.528 MB / 0.5648 GB, free: 3.309 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.7984, allocations: 10.34 MB / 0.5749 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7984, allocations: 4 kB / 0.5749 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7984, allocations: 4 kB / 0.5749 GB, free: 8.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000436/0.7989, allocations: 0 / 0.5749 GB, free: 8.938 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02923/0.8281, allocations: 7.875 MB / 0.5826 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.8282, allocations: 8.031 kB / 0.5826 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00467/0.8329, allocations: 1.294 MB / 0.5838 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08995/0.9229, allocations: 8.454 MB / 0.5921 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.94, allocations: 5.169 MB / 0.5971 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006241/0.9407, allocations: 459.5 kB / 0.5976 GB, free: 1.496 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/0.9437, allocations: 0.5893 MB / 0.5982 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0579/1.002, allocations: 18.69 MB / 0.6164 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004173/1.002, allocations: 65.12 kB / 0.6165 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/1.005, allocations: 283.8 kB / 0.6167 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008829/1.013, allocations: 3.308 MB / 0.62 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6484/1.662, allocations: 15.67 MB / 0.6353 GB, free: 147.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/1.792, allocations: 70.01 MB / 0.7036 GB, free: 102.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03788/1.83, allocations: 8.555 MB / 0.712 GB, free: 98.88 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0291/1.86, allocations: 11.73 MB / 0.7234 GB, free: 90.23 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/1.86, allocations: 71.19 kB / 0.7235 GB, free: 90.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=347): time 8.125e-06/1.86, allocations: 0 / 0.7235 GB, free: 90.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=389): time 0.1949/2.055, allocations: 38.34 MB / 0.761 GB, free: 51.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/2.055, allocations: 248.9 kB / 0.7612 GB, free: 51.22 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/2.071, allocations: 7.622 MB / 0.7686 GB, free: 43.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/2.072, allocations: 87.77 kB / 0.7687 GB, free: 43.53 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004592/2.077, allocations: 5.246 MB / 0.7738 GB, free: 38.29 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002364/2.079, allocations: 1.442 MB / 0.7753 GB, free: 36.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/2.081, allocations: 201 kB / 0.7754 GB, free: 36.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007438/2.082, allocations: 0.7276 MB / 0.7762 GB, free: 35.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01091/2.092, allocations: 4.205 MB / 0.7803 GB, free: 31.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/2.107, allocations: 9.757 MB / 0.7898 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/2.122, allocations: 6.272 MB / 0.7959 GB, free: 12.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/2.122, allocations: 56 kB / 0.796 GB, free: 12.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=1302) (initialization): time 0.3664/2.488, allocations: 15.38 MB / 0.811 GB, free: 131.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/2.489, allocations: 86.47 kB / 0.8111 GB, free: 131.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003013/2.489, allocations: 193 kB / 0.8113 GB, free: 131.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007923/2.497, allocations: 1.833 MB / 0.813 GB, free: 131.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01578/2.513, allocations: 2.379 MB / 0.8154 GB, free: 131.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/2.537, allocations: 12.41 MB / 0.8275 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.549, allocations: 0.5675 MB / 0.828 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/2.552, allocations: 0.576 MB / 0.8286 GB, free: 127.9 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 887 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1220): * Single equations (assignments): 1213 * Array equations: 5 * 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.009847/2.561, allocations: 3.611 MB / 0.8321 GB, free: 126.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/2.563, allocations: 0.6434 MB / 0.8328 GB, free: 126.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02737/2.591, allocations: 8.438 MB / 0.841 GB, free: 123.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.95e-05/2.591, allocations: 46.16 kB / 0.841 GB, free: 123.4 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.804e-05/2.591, allocations: 9.625 kB / 0.8411 GB, free: 123.4 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/2.591, allocations: 17.77 kB / 0.8411 GB, free: 123.4 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05981/2.651, allocations: 18.65 MB / 0.8593 GB, free: 116.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-05/2.651, allocations: 11.36 kB / 0.8593 GB, free: 116.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007093/2.658, allocations: 0.6998 MB / 0.86 GB, free: 116.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007424/2.666, allocations: 1.54 MB / 0.8615 GB, free: 116.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001196/2.667, allocations: 70.14 kB / 0.8615 GB, free: 116.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/2.691, allocations: 11.59 MB / 0.8729 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/2.691, allocations: 11.38 kB / 0.8729 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03452/2.726, allocations: 14.84 MB / 0.8874 GB, free: 97.55 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005336/2.731, allocations: 1.344 MB / 0.8887 GB, free: 96.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/2.733, allocations: 71.98 kB / 0.8887 GB, free: 96.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006733/2.74, allocations: 255.6 kB / 0.889 GB, free: 95.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/2.742, allocations: 238.7 kB / 0.8892 GB, free: 95.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006292/2.743, allocations: 104 kB / 0.8893 GB, free: 95.61 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01132/2.754, allocations: 4.944 MB / 0.8941 GB, free: 90.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.31e-07/2.754, allocations: 3.469 kB / 0.8941 GB, free: 90.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01139/2.765, allocations: 1.902 MB / 0.896 GB, free: 88.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (329): * Single equations (assignments): 324 * 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.03446/2.8, allocations: 16.58 MB / 0.9122 GB, free: 71.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02273/2.823, allocations: 10.28 MB / 0.9222 GB, free: 61.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/2.823, allocations: 4 kB / 0.9222 GB, free: 61.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01049/2.833, allocations: 4.12 MB / 0.9263 GB, free: 57.63 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/2.839, allocations: 0.77 MB / 0.927 GB, free: 56.89 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4046/3.244, allocations: 175.3 MB / 1.098 GB, free: 41.07 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/3.256, allocations: 5.633 MB / 1.104 GB, free: 40.18 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0156/3.272, allocations: 3.332 MB / 1.107 GB, free: 39.99 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008782/3.28, allocations: 3.647 MB / 1.11 GB, free: 39.54 MB / 0.4949 GB Notification: Performance of SimCode: time 1.432e-06/3.28, allocations: 0 / 1.11 GB, free: 39.54 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.67/3.951, allocations: 146.1 MB / 1.253 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/3.951, allocations: 205.4 kB / 1.253 GB, free: 135 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/12.64, allocations: 7.938 kB / 1.253 GB, free: 135 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat