Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01598/0.01598, 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.001155/0.001155, 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.592/1.592, 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.2543/0.2543, allocations: 38.09 MB / 265.1 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 15.98 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09404, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.4426/0.5367, allocations: 87.01 MB / 459.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05962/0.5964, allocations: 19.29 MB / 478.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02406/0.6205, allocations: 425.6 kB / 479 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.6378, allocations: 4.476 MB / 483.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04977/0.6876, allocations: 12.35 MB / 495.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007647/0.6953, allocations: 1.006 MB / 496.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05727/0.7526, allocations: 18.74 MB / 0.5035 GB, free: 4.512 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01876/0.7714, allocations: 8.826 MB / 0.5121 GB, free: 11.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.776, allocations: 1.806 MB / 0.5139 GB, free: 9.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005675/0.7818, allocations: 2.476 MB / 0.5163 GB, free: 7.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001588/0.7834, allocations: 272 kB / 0.5166 GB, free: 7.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.7874, allocations: 1.057 MB / 0.5176 GB, free: 5.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005163/0.7926, allocations: 2.973 MB / 0.5205 GB, free: 3.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.7953, allocations: 1.524 MB / 0.522 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.8118, allocations: 10.34 MB / 0.5321 GB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8118, allocations: 0 / 0.5321 GB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8119, allocations: 0 / 0.5321 GB, free: 7.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004169/0.8123, allocations: 0 / 0.5321 GB, free: 7.105 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02943/0.8417, allocations: 7.875 MB / 0.5398 GB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.8418, allocations: 8.031 kB / 0.5398 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004807/0.8466, allocations: 1.301 MB / 0.5411 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09078/0.9374, allocations: 8.45 MB / 0.5493 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.9553, allocations: 5.17 MB / 0.5544 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.956, allocations: 451.5 kB / 0.5548 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002976/0.959, allocations: 0.5933 MB / 0.5554 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05544/1.014, allocations: 18.67 MB / 0.5736 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003404/1.015, allocations: 63.47 kB / 0.5737 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/1.017, allocations: 275.8 kB / 0.5739 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008682/1.026, allocations: 3.316 MB / 0.5772 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05341/1.079, allocations: 15.66 MB / 0.5925 GB, free: 7.996 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6637/1.743, allocations: 69.93 MB / 0.6607 GB, free: 120.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0374/1.78, allocations: 8.572 MB / 0.6691 GB, free: 114.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02924/1.81, allocations: 11.73 MB / 0.6806 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/1.81, allocations: 69.12 kB / 0.6806 GB, free: 102.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=347): time 7.694e-06/1.81, allocations: 0 / 0.6806 GB, free: 102.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=389): time 0.1609/1.971, allocations: 38.34 MB / 0.7181 GB, free: 63.65 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.971, allocations: 248.9 kB / 0.7183 GB, free: 63.36 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/1.986, allocations: 7.63 MB / 0.7258 GB, free: 55.75 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001174/1.987, allocations: 86.64 kB / 0.7258 GB, free: 55.66 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004499/1.992, allocations: 5.244 MB / 0.731 GB, free: 50.42 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002331/1.994, allocations: 1.445 MB / 0.7324 GB, free: 48.98 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.995, allocations: 203.8 kB / 0.7326 GB, free: 48.79 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005894/1.996, allocations: 0.7237 MB / 0.7333 GB, free: 48.06 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/2.006, allocations: 4.205 MB / 0.7374 GB, free: 43.85 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01396/2.02, allocations: 9.753 MB / 0.7469 GB, free: 31.36 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/2.034, allocations: 6.284 MB / 0.753 GB, free: 25.08 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/2.035, allocations: 56 kB / 0.7531 GB, free: 25.03 MB / 458.8 MB Notification: Performance of matching and sorting (n=1302) (initialization): time 0.05177/2.086, allocations: 15.37 MB / 0.7681 GB, free: 9.641 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/2.087, allocations: 88 kB / 0.7682 GB, free: 9.555 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003621/2.087, allocations: 196 kB / 0.7684 GB, free: 9.363 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/2.098, allocations: 1.84 MB / 0.7702 GB, free: 7.516 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02039/2.118, allocations: 2.378 MB / 0.7725 GB, free: 5.133 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3597/2.478, allocations: 12.4 MB / 0.7846 GB, free: 145.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.489, allocations: 0.5707 MB / 0.7852 GB, free: 145.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002579/2.492, allocations: 0.5772 MB / 0.7857 GB, free: 145.4 MB / 458.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.01091/2.503, allocations: 3.61 MB / 0.7893 GB, free: 144 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/2.505, allocations: 0.6428 MB / 0.7899 GB, free: 144 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03435/2.539, allocations: 8.438 MB / 0.7981 GB, free: 141 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/2.539, allocations: 41.42 kB / 0.7982 GB, free: 141 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/2.539, allocations: 7.875 kB / 0.7982 GB, free: 141 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.54, allocations: 24.59 kB / 0.7982 GB, free: 141 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0658/2.605, allocations: 18.62 MB / 0.8164 GB, free: 134.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/2.606, allocations: 7.812 kB / 0.8164 GB, free: 134.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007102/2.613, allocations: 0.7074 MB / 0.8171 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007328/2.62, allocations: 1.531 MB / 0.8186 GB, free: 133.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/2.621, allocations: 80.7 kB / 0.8186 GB, free: 133.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/2.645, allocations: 11.59 MB / 0.83 GB, free: 122.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/2.645, allocations: 14.45 kB / 0.83 GB, free: 122.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03514/2.68, allocations: 14.83 MB / 0.8445 GB, free: 107.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005427/2.686, allocations: 1.349 MB / 0.8458 GB, free: 106.5 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002799/2.689, allocations: 71.98 kB / 0.8458 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006904/2.696, allocations: 251.6 kB / 0.8461 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/2.697, allocations: 247.5 kB / 0.8463 GB, free: 106 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005001/2.698, allocations: 107.2 kB / 0.8464 GB, free: 105.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01184/2.71, allocations: 4.94 MB / 0.8512 GB, free: 101 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.51e-07/2.71, allocations: 1.688 kB / 0.8513 GB, free: 101 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01216/2.722, allocations: 1.903 MB / 0.8531 GB, free: 99.05 MB / 458.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.03522/2.757, allocations: 16.59 MB / 0.8693 GB, free: 82.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02361/2.781, allocations: 10.27 MB / 0.8793 GB, free: 72.01 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.781, allocations: 0 / 0.8793 GB, free: 72.01 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01151/2.792, allocations: 4.134 MB / 0.8834 GB, free: 67.86 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006556/2.799, allocations: 0.7765 MB / 0.8841 GB, free: 67.11 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4149/3.214, allocations: 175.2 MB / 1.055 GB, free: 34.83 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01396/3.228, allocations: 5.628 MB / 1.061 GB, free: 33.93 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01695/3.245, allocations: 3.327 MB / 1.064 GB, free: 33.69 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008848/3.254, allocations: 3.651 MB / 1.068 GB, free: 31.97 MB / 458.8 MB Notification: Performance of SimCode: time 1.673e-06/3.254, allocations: 0 / 1.068 GB, free: 31.97 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6473/3.901, allocations: 146.1 MB / 1.21 GB, free: 100.4 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/3.901, allocations: 204.1 kB / 1.21 GB, free: 100.1 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/12.07, allocations: 4 kB / 1.21 GB, free: 100.1 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat