Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0116/0.0116, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001266/0.001265, allocations: 166.5 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.911/1.911, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3031/0.3031, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005175, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4706/0.6262, allocations: 112.5 MB / 484.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07871/0.7049, allocations: 24.63 MB / 0.4975 GB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03424/0.7393, allocations: 0.5456 MB / 0.4981 GB, free: 10.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0235/0.7628, allocations: 5.813 MB / 0.5037 GB, free: 4.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0662/0.8291, allocations: 15.9 MB / 0.5193 GB, free: 4.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.8394, allocations: 1.213 MB / 0.5204 GB, free: 3.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.08297/0.9224, allocations: 27.02 MB / 0.5468 GB, free: 8.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02227/0.9448, allocations: 10.09 MB / 0.5567 GB, free: 13.9 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00601/0.9508, allocations: 2.16 MB / 0.5588 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007226/0.9581, allocations: 3.025 MB / 0.5618 GB, free: 8.695 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002469/0.9607, allocations: 335.9 kB / 0.5621 GB, free: 8.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.9658, allocations: 1.221 MB / 0.5633 GB, free: 7.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006568/0.9725, allocations: 3.546 MB / 0.5667 GB, free: 3.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003993/0.9765, allocations: 1.82 MB / 0.5685 GB, free: 1.758 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02117/0.9977, allocations: 12.36 MB / 0.5806 GB, free: 5.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9978, allocations: 0 / 0.5806 GB, free: 5.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.9978, allocations: 0 / 0.5806 GB, free: 5.367 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005852/0.9984, allocations: 4 kB / 0.5806 GB, free: 5.363 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03947/1.038, allocations: 9.487 MB / 0.5898 GB, free: 11.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.038, allocations: 12.03 kB / 0.5899 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006143/1.044, allocations: 1.521 MB / 0.5913 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7585/1.803, allocations: 11.54 MB / 0.6026 GB, free: 170.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02187/1.825, allocations: 6.521 MB / 0.609 GB, free: 168.2 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.826, allocations: 0.5228 MB / 0.6095 GB, free: 168.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003942/1.83, allocations: 0.7005 MB / 0.6102 GB, free: 167.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06349/1.893, allocations: 22.23 MB / 0.6319 GB, free: 155.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004703/1.894, allocations: 92.58 kB / 0.632 GB, free: 155.5 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002871/1.897, allocations: 337 kB / 0.6323 GB, free: 155.2 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008522/1.905, allocations: 3.867 MB / 0.6361 GB, free: 151.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07244/1.978, allocations: 18.79 MB / 0.6544 GB, free: 132.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1404/2.118, allocations: 80.55 MB / 0.7331 GB, free: 51 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03758/2.156, allocations: 9.221 MB / 0.7421 GB, free: 41.62 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/2.156, allocations: 77.36 kB / 0.7422 GB, free: 41.57 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/2.157, allocations: 96.17 kB / 0.7422 GB, free: 41.48 MB / 458.8 MB Notification: Performance of pre-optimization done (n=412): time 9.197e-06/2.157, allocations: 0 / 0.7422 GB, free: 41.48 MB / 458.8 MB Notification: Performance of matching and sorting (n=475): time 0.5296/2.686, allocations: 47.62 MB / 0.7887 GB, free: 151.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/2.686, allocations: 284.6 kB / 0.789 GB, free: 151.4 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02257/2.709, allocations: 8.695 MB / 0.7975 GB, free: 148.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/2.71, allocations: 98.48 kB / 0.7976 GB, free: 148.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005576/2.716, allocations: 6.085 MB / 0.8035 GB, free: 144.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003167/2.719, allocations: 1.744 MB / 0.8052 GB, free: 142.9 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/2.721, allocations: 223.3 kB / 0.8055 GB, free: 142.7 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009582/2.722, allocations: 0.7845 MB / 0.8062 GB, free: 142.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01371/2.736, allocations: 5.161 MB / 0.8113 GB, free: 140.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/2.754, allocations: 11.16 MB / 0.8222 GB, free: 130.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/2.771, allocations: 7.442 MB / 0.8294 GB, free: 127.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001813/2.772, allocations: 58.31 kB / 0.8295 GB, free: 127.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.05183/2.824, allocations: 18.53 MB / 0.8476 GB, free: 115.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/2.824, allocations: 96 kB / 0.8477 GB, free: 115.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003138/2.824, allocations: 208 kB / 0.8479 GB, free: 115 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/2.835, allocations: 2.629 MB / 0.8504 GB, free: 112.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02458/2.86, allocations: 2.706 MB / 0.8531 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/2.911, allocations: 18.56 MB / 0.8712 GB, free: 90.66 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/2.925, allocations: 0.6671 MB / 0.8719 GB, free: 89.99 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002761/2.928, allocations: 0.6423 MB / 0.8725 GB, free: 89.35 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 (1356): * Single equations (assignments): 1350 * 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.01147/2.94, allocations: 4.178 MB / 0.8766 GB, free: 85.16 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002874/2.943, allocations: 0.7482 MB / 0.8773 GB, free: 84.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03675/2.979, allocations: 11.12 MB / 0.8882 GB, free: 73.21 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.457e-05/2.979, allocations: 49.48 kB / 0.8882 GB, free: 73.17 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/2.98, allocations: 12.88 kB / 0.8882 GB, free: 73.16 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/2.98, allocations: 27.91 kB / 0.8882 GB, free: 73.13 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07545/3.055, allocations: 23.53 MB / 0.9112 GB, free: 49.58 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-05/3.055, allocations: 7.938 kB / 0.9112 GB, free: 49.57 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009432/3.065, allocations: 0.9208 MB / 0.9121 GB, free: 48.65 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/3.075, allocations: 2.294 MB / 0.9144 GB, free: 46.35 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/3.077, allocations: 83.98 kB / 0.9144 GB, free: 46.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03492/3.112, allocations: 17.46 MB / 0.9315 GB, free: 28.43 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/3.112, allocations: 4 kB / 0.9315 GB, free: 28.42 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3569/3.469, allocations: 18.31 MB / 0.9494 GB, free: 133.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00689/3.475, allocations: 1.653 MB / 0.951 GB, free: 133.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003302/3.479, allocations: 85.64 kB / 0.9511 GB, free: 133.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008832/3.488, allocations: 356.6 kB / 0.9514 GB, free: 133.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002221/3.49, allocations: 290 kB / 0.9517 GB, free: 133 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009787/3.491, allocations: 123.2 kB / 0.9518 GB, free: 133 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0153/3.506, allocations: 5.613 MB / 0.9573 GB, free: 131.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.062e-06/3.506, allocations: 1.75 kB / 0.9573 GB, free: 131.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01529/3.522, allocations: 2.315 MB / 0.9596 GB, free: 130.9 MB / 458.8 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.05241/3.574, allocations: 19.62 MB / 0.9787 GB, free: 122.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03577/3.61, allocations: 12.75 MB / 0.9912 GB, free: 117.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/3.61, allocations: 8.469 kB / 0.9912 GB, free: 117.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02709/3.637, allocations: 5.595 MB / 0.9966 GB, free: 114.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/3.648, allocations: 0.9332 MB / 0.9976 GB, free: 113.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5875/4.235, allocations: 238.3 MB / 1.23 GB, free: 64.78 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01335/4.249, allocations: 6.588 MB / 1.237 GB, free: 60.45 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01687/4.266, allocations: 3.776 MB / 1.24 GB, free: 56.87 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01048/4.276, allocations: 4.435 MB / 1.245 GB, free: 52.45 MB / 474.8 MB Notification: Performance of SimCode: time 1.583e-06/4.276, allocations: 0 / 1.245 GB, free: 52.45 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7039/4.98, allocations: 179.3 MB / 1.42 GB, free: 45.34 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/4.98, allocations: 214.8 kB / 1.42 GB, free: 45.08 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/15.48, allocations: 0 / 1.42 GB, free: 45.08 MB / 474.8 MB 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