Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.608/2.608, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.575e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4905, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.7065, allocations: 100.6 MB / 465.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.707, allocations: 79.94 kB / 465.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8452/1.552, allocations: 110.8 MB / 0.5626 GB, free: 104.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.716e-06/1.552, allocations: 0 / 0.5626 GB, free: 104.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003991/1.553, allocations: 104.9 kB / 0.5627 GB, free: 104.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.02268/1.575, allocations: 5.347 MB / 0.5679 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.575, allocations: 10.31 kB / 0.5679 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004775/1.58, allocations: 0.9438 MB / 0.5689 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05179/1.632, allocations: 6.927 MB / 0.5756 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/1.657, allocations: 6.791 MB / 0.5823 GB, free: 99.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/1.658, allocations: 401.4 kB / 0.5826 GB, free: 99.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/1.661, allocations: 0.5235 MB / 0.5832 GB, free: 99.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0359/1.696, allocations: 12.9 MB / 0.5958 GB, free: 92.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/1.697, allocations: 74.02 kB / 0.5958 GB, free: 92.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/1.699, allocations: 261 kB / 0.5961 GB, free: 92.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002609/1.701, allocations: 1.208 MB / 0.5973 GB, free: 92.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0317/1.733, allocations: 10.22 MB / 0.6072 GB, free: 82.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08838/1.821, allocations: 58.36 MB / 0.6642 GB, free: 22.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/1.841, allocations: 4.66 MB / 0.6688 GB, free: 18.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/1.846, allocations: 2.206 MB / 0.6709 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01959/1.865, allocations: 6.854 MB / 0.6776 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.865, allocations: 55.81 kB / 0.6777 GB, free: 9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 5.971e-06/1.865, allocations: 0 / 0.6777 GB, free: 9 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.06294/1.928, allocations: 13.35 MB / 0.6907 GB, free: 11.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.929, allocations: 201.5 kB / 0.6909 GB, free: 11.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/1.944, allocations: 5.073 MB / 0.6959 GB, free: 6.273 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/1.945, allocations: 61.7 kB / 0.6959 GB, free: 6.207 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0048/1.95, allocations: 3.831 MB / 0.6997 GB, free: 2.383 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.951, allocations: 0.7594 MB / 0.7004 GB, free: 1.629 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/1.952, allocations: 143 kB / 0.7005 GB, free: 1.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007301/1.953, allocations: 0.6044 MB / 0.7011 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.373/2.326, allocations: 2.204 MB / 0.7033 GB, free: 109.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009892/2.336, allocations: 6.613 MB / 0.7097 GB, free: 104.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.346, allocations: 3.8 MB / 0.7135 GB, free: 104.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003194/2.347, allocations: 45.25 kB / 0.7135 GB, free: 104.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02773/2.375, allocations: 8.779 MB / 0.7221 GB, free: 103.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/2.375, allocations: 69.78 kB / 0.7221 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/2.375, allocations: 156.3 kB / 0.7223 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/2.378, allocations: 0.5909 MB / 0.7229 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.388, allocations: 1.612 MB / 0.7244 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009028/2.397, allocations: 5.588 MB / 0.7299 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00908/2.406, allocations: 384 kB / 0.7303 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/2.408, allocations: 434.3 kB / 0.7307 GB, free: 100.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 863 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00253/2.411, allocations: 0.652 MB / 0.7313 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/2.412, allocations: 489.4 kB / 0.7318 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008888/2.421, allocations: 2.968 MB / 0.7347 GB, free: 99.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/2.421, allocations: 26.64 kB / 0.7347 GB, free: 99.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/2.421, allocations: 5.312 kB / 0.7347 GB, free: 99.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/2.421, allocations: 14.45 kB / 0.7347 GB, free: 99.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/2.447, allocations: 8.123 MB / 0.7427 GB, free: 96.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/2.447, allocations: 2.688 kB / 0.7427 GB, free: 96.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/2.45, allocations: 288.3 kB / 0.7429 GB, free: 96.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/2.452, allocations: 347.2 kB / 0.7433 GB, free: 96.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005578/2.452, allocations: 35.19 kB / 0.7433 GB, free: 96.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008145/2.46, allocations: 4.939 MB / 0.7481 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/2.46, allocations: 6.906 kB / 0.7481 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/2.473, allocations: 5.921 MB / 0.7539 GB, free: 89.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003307/2.477, allocations: 0.7891 MB / 0.7547 GB, free: 89.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.478, allocations: 34.48 kB / 0.7547 GB, free: 89.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004135/2.483, allocations: 94.61 kB / 0.7548 GB, free: 89.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/2.483, allocations: 114.2 kB / 0.7549 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/2.484, allocations: 49.91 kB / 0.755 GB, free: 89.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01029/2.494, allocations: 3.629 MB / 0.7585 GB, free: 87.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.494, allocations: 0.5625 kB / 0.7585 GB, free: 87.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009051/2.503, allocations: 1.196 MB / 0.7597 GB, free: 87.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01376/2.517, allocations: 7.076 MB / 0.7666 GB, free: 83.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01343/2.53, allocations: 5.531 MB / 0.772 GB, free: 81.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.53, allocations: 0 / 0.772 GB, free: 81.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004142/2.535, allocations: 1.666 MB / 0.7736 GB, free: 81.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/2.54, allocations: 0.5945 MB / 0.7742 GB, free: 80.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/2.58, allocations: 11.72 MB / 0.7856 GB, free: 72.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009481/2.59, allocations: 4.126 MB / 0.7897 GB, free: 69.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006139/2.596, allocations: 2.566 MB / 0.7922 GB, free: 66.86 MB / 474.7 MB Notification: Performance of SimCode: time 2.264e-06/2.596, allocations: 0 / 0.7922 GB, free: 66.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.295/7.891, allocations: 148.4 MB / 0.9371 GB, free: 119.3 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat