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.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004844, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3582, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.5342, allocations: 99.45 MB / 468.8 MB, free: 7.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5346, allocations: 91.83 kB / 468.9 MB, free: 6.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078/1.613, allocations: 162.5 MB / 0.6166 GB, free: 0.918 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.477e-06/1.613, allocations: 4 kB / 0.6166 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007327/1.614, allocations: 163.9 kB / 0.6168 GB, free: 0.7539 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.04895/1.663, allocations: 8.784 MB / 0.6253 GB, free: 7.875 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.663, allocations: 12.03 kB / 0.6254 GB, free: 7.863 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007551/1.67, allocations: 1.401 MB / 0.6267 GB, free: 6.453 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5037/2.174, allocations: 12.02 MB / 0.6385 GB, free: 55.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04881/2.223, allocations: 10.85 MB / 0.6491 GB, free: 54.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009454/2.224, allocations: 0.6118 MB / 0.6497 GB, free: 54.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004914/2.229, allocations: 0.8138 MB / 0.6504 GB, free: 54.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06969/2.298, allocations: 19.26 MB / 0.6693 GB, free: 50.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007778/2.299, allocations: 104.1 kB / 0.6694 GB, free: 50.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004236/2.304, allocations: 384 kB / 0.6697 GB, free: 50.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004063/2.308, allocations: 1.727 MB / 0.6714 GB, free: 50.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05156/2.359, allocations: 15.71 MB / 0.6868 GB, free: 50.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1563/2.516, allocations: 79.63 MB / 0.7645 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04971/2.565, allocations: 8.26 MB / 0.7726 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/2.567, allocations: 0.6682 MB / 0.7732 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/2.568, allocations: 71.77 kB / 0.7733 GB, free: 4.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 1.131e-05/2.568, allocations: 3.062 kB / 0.7733 GB, free: 4.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=331): time 0.1546/2.722, allocations: 30.36 MB / 0.803 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/2.722, allocations: 291.7 kB / 0.8032 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02076/2.743, allocations: 6.723 MB / 0.8098 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008924/2.744, allocations: 69.7 kB / 0.8099 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006882/2.751, allocations: 5.299 MB / 0.815 GB, free: 248 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002633/2.754, allocations: 1.248 MB / 0.8163 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/2.755, allocations: 184 kB / 0.8164 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001059/2.756, allocations: 0.71 MB / 0.8171 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/2.767, allocations: 3.457 MB / 0.8205 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/2.785, allocations: 8.943 MB / 0.8292 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4152/3.2, allocations: 5.458 MB / 0.8346 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002329/3.2, allocations: 55.34 kB / 0.8346 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03751/3.238, allocations: 12.7 MB / 0.847 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/3.238, allocations: 93.69 kB / 0.8471 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003318/3.238, allocations: 196.8 kB / 0.8473 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/3.243, allocations: 1.014 MB / 0.8483 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/3.258, allocations: 2.156 MB / 0.8504 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/3.277, allocations: 11.2 MB / 0.8613 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/3.288, allocations: 0.5077 MB / 0.8618 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/3.291, allocations: 0.5519 MB / 0.8624 GB, free: 100.1 MB / 0.5105 GB 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.01147/3.302, allocations: 3.733 MB / 0.866 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/3.305, allocations: 0.6588 MB / 0.8667 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/3.323, allocations: 5.937 MB / 0.8725 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-05/3.324, allocations: 37.47 kB / 0.8725 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/3.324, allocations: 9.312 kB / 0.8725 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.931e-05/3.324, allocations: 16.69 kB / 0.8725 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04782/3.372, allocations: 14.72 MB / 0.8869 GB, free: 98.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-05/3.372, allocations: 0 / 0.8869 GB, free: 98.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00536/3.377, allocations: 0.5276 MB / 0.8874 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/3.38, allocations: 0.6686 MB / 0.8881 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008773/3.381, allocations: 64.08 kB / 0.8881 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/3.397, allocations: 10.07 MB / 0.898 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/3.397, allocations: 5.969 kB / 0.898 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/3.423, allocations: 10.04 MB / 0.9078 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004677/3.428, allocations: 1.17 MB / 0.9089 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002882/3.431, allocations: 54.09 kB / 0.909 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006523/3.437, allocations: 196.8 kB / 0.9091 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/3.438, allocations: 190.8 kB / 0.9093 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003656/3.439, allocations: 91.08 kB / 0.9094 GB, free: 86.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01412/3.453, allocations: 4.811 MB / 0.9141 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/3.453, allocations: 0 / 0.9141 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01335/3.466, allocations: 1.813 MB / 0.9159 GB, free: 84.63 MB / 0.5105 GB 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.02734/3.494, allocations: 11.01 MB / 0.9266 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02145/3.515, allocations: 8.787 MB / 0.9352 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/3.515, allocations: 0 / 0.9352 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007382/3.523, allocations: 3.2 MB / 0.9383 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007968/3.531, allocations: 0.9115 MB / 0.9392 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5922/4.123, allocations: 207 MB / 1.141 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/4.138, allocations: 5.898 MB / 1.147 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01058/4.149, allocations: 3.981 MB / 1.151 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.442e-06/4.149, allocations: 2.125 kB / 1.151 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.23/11.38, allocations: 285.3 MB / 1.43 GB, free: 115.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat