Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.01161/0.01161, allocations: 103.2 kB / 15.05 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.0012/0.001199, allocations: 169.6 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.7/1.7, allocations: 170.9 MB / 187.6 MB, free: 0.9453 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.2492/0.2492, allocations: 38.1 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004661, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08733, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3939/0.4812, allocations: 76.55 MB / 448.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04456/0.5259, allocations: 17.32 MB / 466.2 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0195/0.5454, allocations: 369.8 kB / 466.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01342/0.5589, allocations: 3.938 MB / 470.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03967/0.5986, allocations: 10.91 MB / 481.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006287/0.605, allocations: 0.9139 MB / 482.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05467/0.6597, allocations: 18.33 MB / 0.4889 GB, free: 3.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01483/0.6746, allocations: 7.027 MB / 0.4957 GB, free: 12.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.6789, allocations: 1.565 MB / 0.4973 GB, free: 10.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.6842, allocations: 2.184 MB / 0.4994 GB, free: 8.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.6859, allocations: 240 kB / 0.4996 GB, free: 8.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.6903, allocations: 1.143 MB / 0.5008 GB, free: 7.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004737/0.6951, allocations: 2.556 MB / 0.5032 GB, free: 4.844 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.698, allocations: 1.326 MB / 0.5045 GB, free: 3.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.7128, allocations: 9.021 MB / 0.5134 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7129, allocations: 0 / 0.5134 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7129, allocations: 0 / 0.5134 GB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004128/0.7133, allocations: 0 / 0.5134 GB, free: 10.46 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02619/0.7395, allocations: 6.87 MB / 0.5201 GB, free: 3.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.7396, allocations: 8.031 kB / 0.5201 GB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004185/0.7438, allocations: 1.136 MB / 0.5212 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0891/0.8329, allocations: 8.288 MB / 0.5293 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.8478, allocations: 4.599 MB / 0.5338 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/0.8483, allocations: 385.8 kB / 0.5341 GB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00226/0.8506, allocations: 0.4997 MB / 0.5346 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04788/0.8985, allocations: 16.5 MB / 0.5507 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003199/0.8988, allocations: 63.47 kB / 0.5508 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/0.9008, allocations: 239.8 kB / 0.551 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00787/0.9087, allocations: 2.932 MB / 0.5539 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04713/0.9559, allocations: 14 MB / 0.5676 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4269/1.383, allocations: 60.29 MB / 0.6264 GB, free: 133.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/1.418, allocations: 8.096 MB / 0.6343 GB, free: 132.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/1.419, allocations: 56.97 kB / 0.6344 GB, free: 132.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/1.419, allocations: 60.84 kB / 0.6345 GB, free: 132.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 6.643e-06/1.419, allocations: 3.344 kB / 0.6345 GB, free: 132.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=332): time 0.1527/1.571, allocations: 35 MB / 0.6686 GB, free: 109.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/1.571, allocations: 214.1 kB / 0.6688 GB, free: 108.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/1.584, allocations: 6.566 MB / 0.6753 GB, free: 102.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.585, allocations: 73.7 kB / 0.6753 GB, free: 102.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003692/1.589, allocations: 4.581 MB / 0.6798 GB, free: 97.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.591, allocations: 1.235 MB / 0.681 GB, free: 96.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.592, allocations: 173.1 kB / 0.6812 GB, free: 96.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000555/1.593, allocations: 0.6695 MB / 0.6818 GB, free: 95.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009608/1.603, allocations: 3.847 MB / 0.6856 GB, free: 91.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/1.615, allocations: 8.644 MB / 0.694 GB, free: 80.85 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.628, allocations: 5.632 MB / 0.6995 GB, free: 75.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/1.628, allocations: 48 kB / 0.6996 GB, free: 75.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.037/1.665, allocations: 13.89 MB / 0.7131 GB, free: 61.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.665, allocations: 80 kB / 0.7132 GB, free: 61.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/1.665, allocations: 168 kB / 0.7134 GB, free: 61.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007463/1.673, allocations: 1.797 MB / 0.7151 GB, free: 59.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/1.686, allocations: 2.027 MB / 0.7171 GB, free: 57.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.709, allocations: 12.36 MB / 0.7292 GB, free: 44.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.72, allocations: 0.5311 MB / 0.7297 GB, free: 44.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/1.722, allocations: 0.493 MB / 0.7302 GB, free: 43.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * 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 (1043): * Single equations (assignments): 1038 * 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.007812/1.729, allocations: 3.15 MB / 0.7332 GB, free: 40.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.731, allocations: 0.5515 MB / 0.7338 GB, free: 39.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/1.753, allocations: 7.702 MB / 0.7413 GB, free: 32.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/1.753, allocations: 37.72 kB / 0.7413 GB, free: 32.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.753, allocations: 12 kB / 0.7413 GB, free: 32.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.964e-05/1.753, allocations: 15.94 kB / 0.7414 GB, free: 32.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04511/1.798, allocations: 16.7 MB / 0.7577 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/1.798, allocations: 4.375 kB / 0.7577 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005804/1.804, allocations: 0.6082 MB / 0.7583 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/1.811, allocations: 1.526 MB / 0.7598 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005443/1.811, allocations: 65.39 kB / 0.7598 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/1.834, allocations: 11.58 MB / 0.7711 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.835, allocations: 4 kB / 0.7711 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3259/2.16, allocations: 13.11 MB / 0.7839 GB, free: 151.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004881/2.165, allocations: 1.24 MB / 0.7852 GB, free: 150.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/2.168, allocations: 55.62 kB / 0.7852 GB, free: 150.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006377/2.174, allocations: 272.9 kB / 0.7855 GB, free: 150.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/2.176, allocations: 202 kB / 0.7857 GB, free: 150.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004967/2.176, allocations: 86.83 kB / 0.7857 GB, free: 150.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01016/2.186, allocations: 4.226 MB / 0.7899 GB, free: 149.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.61e-07/2.186, allocations: 1.969 kB / 0.7899 GB, free: 149.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01044/2.197, allocations: 1.703 MB / 0.7915 GB, free: 149.1 MB / 458.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.03347/2.23, allocations: 14.49 MB / 0.8057 GB, free: 142.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02115/2.251, allocations: 9.417 MB / 0.8149 GB, free: 135.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/2.251, allocations: 0 / 0.8149 GB, free: 135.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/2.263, allocations: 3.949 MB / 0.8187 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/2.268, allocations: 0.6692 MB / 0.8194 GB, free: 131.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4838/2.752, allocations: 179.8 MB / 0.995 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009219/2.761, allocations: 4.986 MB / 0.9999 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01249/2.774, allocations: 2.925 MB / 1.003 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007132/2.781, allocations: 3.125 MB / 1.006 GB, free: 107.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.314e-06/2.781, allocations: 0 / 1.006 GB, free: 107.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5693/3.35, allocations: 131 MB / 1.134 GB, free: 132.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/3.351, allocations: 221.6 kB / 1.134 GB, free: 132 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/11.46, allocations: 0 / 1.134 GB, free: 132 MB / 458.7 MB 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