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.234/2.234, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.000451, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3481, allocations: 54.87 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.5534, allocations: 100.7 MB / 470 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5538, allocations: 75.97 kB / 470.1 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7845/1.338, allocations: 110.7 MB / 0.5672 GB, free: 3.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.338, allocations: 7.938 kB / 0.5672 GB, free: 3.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004687/1.339, allocations: 104 kB / 0.5673 GB, free: 3.887 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.0567/1.396, allocations: 5.81 MB / 0.573 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.396, allocations: 8.031 kB / 0.573 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005706/1.401, allocations: 0.9515 MB / 0.5739 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06205/1.463, allocations: 6.919 MB / 0.5807 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02676/1.49, allocations: 6.824 MB / 0.5874 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006095/1.491, allocations: 406.4 kB / 0.5878 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/1.494, allocations: 0.5193 MB / 0.5883 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04006/1.534, allocations: 12.98 MB / 0.6009 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003335/1.534, allocations: 83.3 kB / 0.601 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/1.536, allocations: 259.9 kB / 0.6013 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/1.539, allocations: 1.203 MB / 0.6024 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03518/1.574, allocations: 10.38 MB / 0.6126 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5295/2.104, allocations: 58.38 MB / 0.6696 GB, free: 59.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/2.123, allocations: 4.679 MB / 0.6742 GB, free: 58.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/2.141, allocations: 6.866 MB / 0.6809 GB, free: 57.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/2.141, allocations: 50.75 kB / 0.6809 GB, free: 57.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 6.032e-06/2.141, allocations: 0 / 0.6809 GB, free: 57.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.06768/2.209, allocations: 15.77 MB / 0.6963 GB, free: 53.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/2.209, allocations: 201.5 kB / 0.6965 GB, free: 53.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/2.223, allocations: 5.138 MB / 0.7015 GB, free: 53.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006066/2.223, allocations: 55.81 kB / 0.7016 GB, free: 53.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004157/2.227, allocations: 3.825 MB / 0.7053 GB, free: 51.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/2.229, allocations: 0.7675 MB / 0.7061 GB, free: 50.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009523/2.23, allocations: 143.6 kB / 0.7062 GB, free: 50.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005014/2.23, allocations: 0.6043 MB / 0.7068 GB, free: 50.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/2.237, allocations: 2.267 MB / 0.709 GB, free: 50.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009501/2.246, allocations: 6.671 MB / 0.7155 GB, free: 44.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009342/2.256, allocations: 3.808 MB / 0.7192 GB, free: 44.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/2.256, allocations: 49.06 kB / 0.7193 GB, free: 44.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.0334/2.289, allocations: 8.878 MB / 0.728 GB, free: 41.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/2.29, allocations: 69.72 kB / 0.728 GB, free: 41.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003593/2.29, allocations: 158.4 kB / 0.7282 GB, free: 41.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/2.293, allocations: 0.6003 MB / 0.7288 GB, free: 41.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01319/2.306, allocations: 1.611 MB / 0.7303 GB, free: 41.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/2.319, allocations: 5.689 MB / 0.7359 GB, free: 37.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/2.332, allocations: 380.3 kB / 0.7362 GB, free: 37.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/2.334, allocations: 432.3 kB / 0.7367 GB, free: 37.36 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 () * Number of clocked 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.008015/2.342, allocations: 2.617 MB / 0.7392 GB, free: 36.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/2.343, allocations: 499.1 kB / 0.7397 GB, free: 35.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008852/2.352, allocations: 2.996 MB / 0.7426 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/2.352, allocations: 23.05 kB / 0.7426 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/2.352, allocations: 7.688 kB / 0.7426 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/2.352, allocations: 7.031 kB / 0.7427 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/2.377, allocations: 8.149 MB / 0.7506 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/2.378, allocations: 7.703 kB / 0.7506 GB, free: 30.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/2.38, allocations: 286.6 kB / 0.7509 GB, free: 29.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/2.382, allocations: 351.2 kB / 0.7512 GB, free: 29.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004493/2.383, allocations: 35.41 kB / 0.7513 GB, free: 29.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/2.39, allocations: 5.057 MB / 0.7562 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.391, allocations: 10.81 kB / 0.7562 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/2.404, allocations: 5.972 MB / 0.762 GB, free: 19.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003034/2.407, allocations: 0.7899 MB / 0.7628 GB, free: 18.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/2.408, allocations: 30.38 kB / 0.7628 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/2.412, allocations: 99.36 kB / 0.7629 GB, free: 18.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000701/2.413, allocations: 112.9 kB / 0.763 GB, free: 18.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/2.413, allocations: 58.36 kB / 0.7631 GB, free: 18.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01022/2.424, allocations: 3.677 MB / 0.7667 GB, free: 15.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.424, allocations: 0 / 0.7667 GB, free: 15.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009106/2.433, allocations: 1.197 MB / 0.7679 GB, free: 14.02 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 () * Number of clocked 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.01382/2.447, allocations: 7.12 MB / 0.7748 GB, free: 7.461 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01319/2.46, allocations: 5.612 MB / 0.7803 GB, free: 2.555 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.46, allocations: 4 kB / 0.7803 GB, free: 2.551 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/2.464, allocations: 1.68 MB / 0.7819 GB, free: 1.039 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/2.469, allocations: 0.5941 MB / 0.7825 GB, free: 0.543 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5191/2.988, allocations: 155 MB / 0.9339 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009922/2.998, allocations: 4.125 MB / 0.9379 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00663/3.005, allocations: 2.567 MB / 0.9404 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/3.005, allocations: 0 / 0.9404 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.204/8.209, allocations: 149 MB / 1.086 GB, free: 152.8 MB / 0.5261 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