Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques2",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.01095/0.01096, 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.001171/0.001171, allocations: 167.4 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.575/1.575, allocations: 170.9 MB / 187.6 MB, free: 1 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.2454/0.2454, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09052, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4556/0.5462, allocations: 103.1 MB / 475.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06047/0.6067, allocations: 22.76 MB / 498.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02322/0.63, allocations: 0.4988 MB / 498.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01905/0.6491, allocations: 5.319 MB / 0.4921 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05597/0.7051, allocations: 14.65 MB / 0.5065 GB, free: 1.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008704/0.7139, allocations: 1.24 MB / 0.5077 GB, free: 300 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1054/0.8193, allocations: 34.51 MB / 0.5414 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/0.8407, allocations: 9.963 MB / 0.5511 GB, free: 3.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/0.8464, allocations: 2.157 MB / 0.5532 GB, free: 1.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006858/0.8533, allocations: 2.995 MB / 0.5561 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.8552, allocations: 315.9 kB / 0.5564 GB, free: 14.22 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.8593, allocations: 1.206 MB / 0.5576 GB, free: 13.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00574/0.8651, allocations: 3.456 MB / 0.561 GB, free: 9.547 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003261/0.8684, allocations: 1.731 MB / 0.5627 GB, free: 7.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.8877, allocations: 11.88 MB / 0.5743 GB, free: 11.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8878, allocations: 0 / 0.5743 GB, free: 11.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8878, allocations: 4 kB / 0.5743 GB, free: 11.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005645/0.8884, allocations: 0 / 0.5743 GB, free: 11.89 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03577/0.9242, allocations: 9.019 MB / 0.5831 GB, free: 2.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.9243, allocations: 8.031 kB / 0.5831 GB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005065/0.9293, allocations: 1.384 MB / 0.5844 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1662/1.096, allocations: 14.28 MB / 0.5984 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5443/1.64, allocations: 7.184 MB / 0.6054 GB, free: 170.1 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/1.641, allocations: 499.1 kB / 0.6059 GB, free: 169.9 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003288/1.644, allocations: 0.6626 MB / 0.6065 GB, free: 169.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0564/1.7, allocations: 19.92 MB / 0.626 GB, free: 160.7 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005081/1.701, allocations: 91.33 kB / 0.6261 GB, free: 160.6 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/1.704, allocations: 310.4 kB / 0.6264 GB, free: 160.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007802/1.712, allocations: 3.374 MB / 0.6297 GB, free: 158.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05026/1.762, allocations: 16.43 MB / 0.6457 GB, free: 142 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1228/1.885, allocations: 72.32 MB / 0.7163 GB, free: 68.78 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05137/1.936, allocations: 8.285 MB / 0.7244 GB, free: 60.34 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.937, allocations: 0.6632 MB / 0.7251 GB, free: 59.58 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/1.937, allocations: 68.81 kB / 0.7251 GB, free: 59.51 MB / 458.8 MB Notification: Performance of pre-optimization done (n=311): time 6.883e-06/1.937, allocations: 0 / 0.7251 GB, free: 59.51 MB / 458.8 MB Notification: Performance of matching and sorting (n=335): time 0.1471/2.084, allocations: 32.4 MB / 0.7568 GB, free: 26.87 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/2.085, allocations: 291.6 kB / 0.7571 GB, free: 26.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02239/2.107, allocations: 8.288 MB / 0.7652 GB, free: 18.28 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/2.108, allocations: 73.7 kB / 0.7652 GB, free: 18.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006709/2.115, allocations: 5.829 MB / 0.7709 GB, free: 12.37 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/2.117, allocations: 1.267 MB / 0.7722 GB, free: 11.11 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/2.119, allocations: 196 kB / 0.7723 GB, free: 10.92 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008081/2.12, allocations: 0.7074 MB / 0.773 GB, free: 10.21 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0127/2.132, allocations: 3.642 MB / 0.7766 GB, free: 6.559 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3085/2.441, allocations: 9.266 MB / 0.7856 GB, free: 146.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/2.455, allocations: 5.67 MB / 0.7912 GB, free: 145 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003587/2.456, allocations: 56.16 kB / 0.7912 GB, free: 145 MB / 458.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.039/2.495, allocations: 13.73 MB / 0.8046 GB, free: 140.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/2.495, allocations: 92.09 kB / 0.8047 GB, free: 140.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/2.495, allocations: 196.9 kB / 0.8049 GB, free: 140.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/2.501, allocations: 1.348 MB / 0.8062 GB, free: 139.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/2.515, allocations: 2.229 MB / 0.8084 GB, free: 139.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/2.536, allocations: 12.92 MB / 0.821 GB, free: 131.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.548, allocations: 0.5346 MB / 0.8215 GB, free: 131.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002139/2.55, allocations: 0.5604 MB / 0.8221 GB, free: 131.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1171): * Single equations (assignments): 1164 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01008/2.56, allocations: 3.887 MB / 0.8259 GB, free: 129.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/2.562, allocations: 0.6772 MB / 0.8266 GB, free: 129.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/2.579, allocations: 6.496 MB / 0.8329 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/2.58, allocations: 39.75 kB / 0.8329 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.683e-05/2.58, allocations: 8 kB / 0.8329 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.563e-05/2.58, allocations: 18.06 kB / 0.833 GB, free: 126.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0452/2.625, allocations: 15.91 MB / 0.8485 GB, free: 111.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/2.625, allocations: 7.953 kB / 0.8485 GB, free: 111.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005792/2.631, allocations: 0.5618 MB / 0.8491 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/2.636, allocations: 0.985 MB / 0.85 GB, free: 109.7 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007255/2.636, allocations: 61.62 kB / 0.8501 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/2.655, allocations: 11.79 MB / 0.8616 GB, free: 97.41 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.655, allocations: 11.92 kB / 0.8616 GB, free: 97.39 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02655/2.682, allocations: 10.85 MB / 0.8722 GB, free: 86.55 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004674/2.686, allocations: 1.25 MB / 0.8734 GB, free: 85.27 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/2.689, allocations: 56 kB / 0.8735 GB, free: 85.22 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00635/2.695, allocations: 212.4 kB / 0.8737 GB, free: 85.01 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/2.696, allocations: 207.4 kB / 0.8739 GB, free: 84.81 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005174/2.697, allocations: 87.98 kB / 0.8739 GB, free: 84.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01222/2.709, allocations: 5.363 MB / 0.8792 GB, free: 79.37 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.52e-07/2.709, allocations: 0 / 0.8792 GB, free: 79.37 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01241/2.721, allocations: 1.919 MB / 0.8811 GB, free: 77.46 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02723/2.749, allocations: 11.81 MB / 0.8926 GB, free: 65.52 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02107/2.77, allocations: 9.217 MB / 0.9016 GB, free: 56.29 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/2.77, allocations: 7.828 kB / 0.9016 GB, free: 56.28 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007586/2.778, allocations: 3.374 MB / 0.9049 GB, free: 52.86 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007543/2.785, allocations: 0.9372 MB / 0.9058 GB, free: 51.93 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5245/3.31, allocations: 214.1 MB / 1.115 GB, free: 14.36 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01307/3.323, allocations: 6.122 MB / 1.121 GB, free: 11.27 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0143/3.337, allocations: 3.098 MB / 1.124 GB, free: 8.164 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009885/3.347, allocations: 4.051 MB / 1.128 GB, free: 4.113 MB / 474.8 MB Notification: Performance of SimCode: time 1.272e-06/3.347, allocations: 4 kB / 1.128 GB, free: 4.109 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6257/3.973, allocations: 153.6 MB / 1.278 GB, free: 31.62 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/3.973, allocations: 195.9 kB / 1.278 GB, free: 31.38 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/13.28, allocations: 64 / 1.278 GB, free: 31.38 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat