Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",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.01759/0.01759, allocations: 103.7 kB / 15.05 MB, free: 6.027 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.001267/0.001267, allocations: 173.5 kB / 15.93 MB, free: 5.961 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.652/1.652, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2551/0.2551, allocations: 38.08 MB / 265.1 MB, free: 3.984 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004849, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09132, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4334/0.5247, allocations: 79.93 MB / 452.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04773/0.5725, allocations: 17.96 MB / 470.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01927/0.5919, allocations: 390.4 kB / 470.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0141/0.606, allocations: 4.109 MB / 474.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04336/0.6494, allocations: 11.42 MB / 486.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006895/0.6564, allocations: 0.9368 MB / 487 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05484/0.7113, allocations: 18.48 MB / 0.4937 GB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/0.727, allocations: 7.348 MB / 0.5009 GB, free: 7.137 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.7317, allocations: 1.654 MB / 0.5025 GB, free: 5.477 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/0.737, allocations: 2.254 MB / 0.5047 GB, free: 3.215 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001657/0.7387, allocations: 244 kB / 0.5049 GB, free: 2.977 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004474/0.7432, allocations: 1.143 MB / 0.506 GB, free: 1.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005214/0.7485, allocations: 2.665 MB / 0.5086 GB, free: 15.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.7516, allocations: 1.384 MB / 0.51 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.7676, allocations: 9.325 MB / 0.5191 GB, free: 4.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7676, allocations: 4 kB / 0.5191 GB, free: 4.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7677, allocations: 0 / 0.5191 GB, free: 4.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004586/0.7681, allocations: 0 / 0.5191 GB, free: 4.414 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02917/0.7973, allocations: 7.25 MB / 0.5262 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.7974, allocations: 8.031 kB / 0.5262 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004412/0.8018, allocations: 1.159 MB / 0.5273 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08993/0.8918, allocations: 8.334 MB / 0.5354 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/0.9072, allocations: 4.844 MB / 0.5402 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/0.9078, allocations: 398 kB / 0.5405 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00249/0.9103, allocations: 0.5114 MB / 0.541 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04948/0.9598, allocations: 17.02 MB / 0.5577 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003062/0.9601, allocations: 59.45 kB / 0.5577 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001815/0.962, allocations: 251.7 kB / 0.558 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007994/0.97, allocations: 3.03 MB / 0.5609 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04825/1.018, allocations: 14.41 MB / 0.575 GB, free: 9.922 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6665/1.685, allocations: 62.41 MB / 0.6359 GB, free: 131.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03233/1.717, allocations: 6.972 MB / 0.6428 GB, free: 129.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02439/1.742, allocations: 9.508 MB / 0.652 GB, free: 124.8 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/1.742, allocations: 63.94 kB / 0.6521 GB, free: 124.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=297): time 7.734e-06/1.742, allocations: 3.594 kB / 0.6521 GB, free: 124.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=339): time 0.139/1.881, allocations: 34.1 MB / 0.6854 GB, free: 96.81 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.881, allocations: 246.7 kB / 0.6856 GB, free: 96.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.893, allocations: 6.954 MB / 0.6924 GB, free: 89.57 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.894, allocations: 73.7 kB / 0.6925 GB, free: 89.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003916/1.898, allocations: 4.783 MB / 0.6972 GB, free: 84.72 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002141/1.9, allocations: 1.263 MB / 0.6984 GB, free: 83.47 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.902, allocations: 179.9 kB / 0.6986 GB, free: 83.29 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005144/1.902, allocations: 0.6861 MB / 0.6992 GB, free: 82.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009376/1.911, allocations: 3.808 MB / 0.703 GB, free: 78.78 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.924, allocations: 8.819 MB / 0.7116 GB, free: 67.54 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/1.936, allocations: 5.67 MB / 0.7171 GB, free: 61.87 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/1.937, allocations: 52 kB / 0.7172 GB, free: 61.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03717/1.974, allocations: 14.02 MB / 0.7309 GB, free: 47.78 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.974, allocations: 83.94 kB / 0.7309 GB, free: 47.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/1.974, allocations: 179.2 kB / 0.7311 GB, free: 47.52 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007539/1.982, allocations: 1.801 MB / 0.7329 GB, free: 45.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/1.995, allocations: 2.09 MB / 0.7349 GB, free: 43.62 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/2.019, allocations: 12.39 MB / 0.747 GB, free: 30.98 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.029, allocations: 0.5177 MB / 0.7475 GB, free: 30.46 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/2.031, allocations: 0.5195 MB / 0.748 GB, free: 29.95 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1084): * Single equations (assignments): 1077 * 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.008454/2.04, allocations: 3.283 MB / 0.7512 GB, free: 26.65 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/2.041, allocations: 0.5784 MB / 0.7518 GB, free: 26.06 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/2.064, allocations: 7.702 MB / 0.7593 GB, free: 18.32 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-05/2.064, allocations: 41.48 kB / 0.7593 GB, free: 18.29 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/2.064, allocations: 8 kB / 0.7594 GB, free: 18.28 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/2.064, allocations: 15.94 kB / 0.7594 GB, free: 18.26 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04644/2.111, allocations: 16.36 MB / 0.7753 GB, free: 1.871 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.187e-05/2.111, allocations: 4 kB / 0.7753 GB, free: 1.867 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006059/2.117, allocations: 0.5854 MB / 0.7759 GB, free: 1.281 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3012/2.418, allocations: 1.527 MB / 0.7774 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001098/2.419, allocations: 63.86 kB / 0.7775 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/2.446, allocations: 11.58 MB / 0.7888 GB, free: 148.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/2.446, allocations: 4.312 kB / 0.7888 GB, free: 148.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03216/2.478, allocations: 12.99 MB / 0.8015 GB, free: 143.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004512/2.483, allocations: 1.234 MB / 0.8027 GB, free: 143 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/2.484, allocations: 69.72 kB / 0.8027 GB, free: 143 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005411/2.49, allocations: 229.1 kB / 0.803 GB, free: 142.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/2.491, allocations: 201.6 kB / 0.8031 GB, free: 142.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/2.492, allocations: 92.64 kB / 0.8032 GB, free: 142.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.009931/2.502, allocations: 4.501 MB / 0.8076 GB, free: 141.4 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.12e-07/2.502, allocations: 0 / 0.8076 GB, free: 141.4 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0102/2.512, allocations: 1.731 MB / 0.8093 GB, free: 141.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 274 * 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.03082/2.543, allocations: 14.39 MB / 0.8234 GB, free: 131.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02071/2.563, allocations: 9.324 MB / 0.8325 GB, free: 122.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.563, allocations: 4 kB / 0.8325 GB, free: 122.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009926/2.573, allocations: 3.799 MB / 0.8362 GB, free: 119 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006359/2.58, allocations: 0.714 MB / 0.8369 GB, free: 118.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3674/2.947, allocations: 156.3 MB / 0.9895 GB, free: 105.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01275/2.96, allocations: 5.173 MB / 0.9945 GB, free: 104.5 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01457/2.975, allocations: 2.974 MB / 0.9974 GB, free: 104.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01015/2.985, allocations: 3.325 MB / 1.001 GB, free: 104.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.714e-06/2.985, allocations: 1.219 kB / 1.001 GB, free: 104.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6338/3.619, allocations: 133.4 MB / 1.131 GB, free: 127.1 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/3.619, allocations: 215.4 kB / 1.131 GB, free: 126.9 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/11.92, allocations: 0 / 1.131 GB, free: 126.9 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat