Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 15.98 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3836, allocations: 48.7 MB / 331.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.5884, allocations: 92.64 MB / 424 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5888, allocations: 75.97 kB / 424.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059/1.648, allocations: 162.3 MB / 0.5727 GB, free: 22.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.648, allocations: 0 / 0.5727 GB, free: 22.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006239/1.648, allocations: 164 kB / 0.5728 GB, free: 22.52 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03792/1.686, allocations: 8.792 MB / 0.5814 GB, free: 13.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.686, allocations: 12.03 kB / 0.5814 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006843/1.693, allocations: 1.397 MB / 0.5828 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0874/1.781, allocations: 12.02 MB / 0.5945 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04228/1.823, allocations: 10.85 MB / 0.6051 GB, free: 5.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.824, allocations: 0.5979 MB / 0.6057 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005069/1.829, allocations: 0.8198 MB / 0.6065 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.715/2.544, allocations: 19.24 MB / 0.6253 GB, free: 58.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009418/2.545, allocations: 102.1 kB / 0.6254 GB, free: 58.48 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005041/2.55, allocations: 384.5 kB / 0.6258 GB, free: 58.48 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005639/2.556, allocations: 1.735 MB / 0.6275 GB, free: 58.47 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06912/2.625, allocations: 15.7 MB / 0.6428 GB, free: 58.4 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/2.76, allocations: 79.59 MB / 0.7205 GB, free: 10.09 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03563/2.796, allocations: 8.26 MB / 0.7286 GB, free: 7.445 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/2.797, allocations: 0.6651 MB / 0.7292 GB, free: 6.855 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/2.797, allocations: 71.62 kB / 0.7293 GB, free: 6.793 MB / 426.8 MB Notification: Performance of pre-optimization done (n=307): time 7.864e-06/2.797, allocations: 0 / 0.7293 GB, free: 6.793 MB / 426.8 MB Notification: Performance of matching and sorting (n=331): time 0.1391/2.936, allocations: 30.25 MB / 0.7588 GB, free: 7.484 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/2.936, allocations: 297.9 kB / 0.7591 GB, free: 7.137 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02062/2.957, allocations: 6.722 MB / 0.7657 GB, free: 1.523 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009246/2.958, allocations: 74.45 kB / 0.7658 GB, free: 1.449 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007084/2.965, allocations: 5.29 MB / 0.7709 GB, free: 12.66 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002841/2.968, allocations: 1.25 MB / 0.7722 GB, free: 11.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001895/2.97, allocations: 184 kB / 0.7723 GB, free: 11.37 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001439/2.971, allocations: 0.7097 MB / 0.773 GB, free: 10.77 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01088/2.982, allocations: 3.456 MB / 0.7764 GB, free: 7.867 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/2.999, allocations: 8.945 MB / 0.7851 GB, free: 13.07 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/3.014, allocations: 5.426 MB / 0.7904 GB, free: 8.23 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002455/3.015, allocations: 56 kB / 0.7905 GB, free: 8.176 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.3953/3.41, allocations: 12.71 MB / 0.8029 GB, free: 98.02 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/3.41, allocations: 88.69 kB / 0.803 GB, free: 98.02 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000464/3.411, allocations: 193.2 kB / 0.8032 GB, free: 98.02 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004625/3.415, allocations: 1.015 MB / 0.8042 GB, free: 97.99 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/3.43, allocations: 2.156 MB / 0.8063 GB, free: 97.99 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/3.45, allocations: 11.21 MB / 0.8172 GB, free: 92.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/3.462, allocations: 0.5095 MB / 0.8177 GB, free: 92.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00275/3.465, allocations: 0.5508 MB / 0.8182 GB, free: 92.7 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.012/3.477, allocations: 3.736 MB / 0.8219 GB, free: 92.58 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/3.48, allocations: 0.6636 MB / 0.8225 GB, free: 92.58 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/3.499, allocations: 5.939 MB / 0.8283 GB, free: 92.37 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-05/3.499, allocations: 39.31 kB / 0.8284 GB, free: 92.37 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.587e-05/3.499, allocations: 8.031 kB / 0.8284 GB, free: 92.37 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/3.499, allocations: 17.95 kB / 0.8284 GB, free: 92.37 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04977/3.549, allocations: 14.71 MB / 0.8428 GB, free: 91.56 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.496e-05/3.549, allocations: 3.625 kB / 0.8428 GB, free: 91.56 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005418/3.555, allocations: 0.5263 MB / 0.8433 GB, free: 91.56 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/3.558, allocations: 0.6631 MB / 0.8439 GB, free: 91.53 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008877/3.559, allocations: 59.55 kB / 0.844 GB, free: 91.53 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/3.575, allocations: 10.07 MB / 0.8538 GB, free: 86.18 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/3.575, allocations: 6.219 kB / 0.8538 GB, free: 86.18 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/3.601, allocations: 10.05 MB / 0.8636 GB, free: 82.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00457/3.605, allocations: 1.177 MB / 0.8648 GB, free: 81.64 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002526/3.608, allocations: 56.84 kB / 0.8648 GB, free: 81.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/3.614, allocations: 191.7 kB / 0.865 GB, free: 81.56 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/3.616, allocations: 202.7 kB / 0.8652 GB, free: 81.53 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004041/3.616, allocations: 89.38 kB / 0.8653 GB, free: 81.51 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0142/3.63, allocations: 4.818 MB / 0.87 GB, free: 79.94 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.062e-06/3.63, allocations: 0 / 0.87 GB, free: 79.94 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01314/3.643, allocations: 1.802 MB / 0.8718 GB, free: 79.75 MB / 474.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%) 10,(1,100.0%) 10,(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.02564/3.669, allocations: 11.02 MB / 0.8825 GB, free: 74.53 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02123/3.69, allocations: 8.778 MB / 0.8911 GB, free: 71.75 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/3.691, allocations: 7.266 kB / 0.8911 GB, free: 71.75 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007705/3.698, allocations: 3.198 MB / 0.8942 GB, free: 69.83 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008011/3.706, allocations: 0.9042 MB / 0.8951 GB, free: 69.08 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5702/4.277, allocations: 207 MB / 1.097 GB, free: 10.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/4.292, allocations: 5.898 MB / 1.103 GB, free: 9.922 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0104/4.302, allocations: 3.978 MB / 1.107 GB, free: 9.914 MB / 490.8 MB Notification: Performance of SimCode: time 9.12e-07/4.302, allocations: 0 / 1.107 GB, free: 9.914 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.055/11.36, allocations: 285.1 MB / 1.385 GB, free: 141.7 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat