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.FrameForcesAndTorques.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.356e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3661, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5558, allocations: 102.2 MB / 460.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.5562, allocations: 79.95 kB / 460.4 MB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8461/1.402, allocations: 135.3 MB / 0.5817 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.402, allocations: 0 / 0.5817 GB, free: 1.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006355/1.403, allocations: 139.9 kB / 0.5819 GB, free: 1.156 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03943/1.442, allocations: 6.788 MB / 0.5885 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/1.443, allocations: 8.031 kB / 0.5885 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06948/1.512, allocations: 7.182 MB / 0.5955 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03025/1.542, allocations: 7.535 MB / 0.6029 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/1.543, allocations: 224 kB / 0.6031 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003991/1.547, allocations: 415.9 kB / 0.6035 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02844/1.575, allocations: 9.818 MB / 0.6131 GB, free: 1.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04411/1.62, allocations: 14.81 MB / 0.6275 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005141/1.62, allocations: 87.12 kB / 0.6276 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003326/1.624, allocations: 40 kB / 0.6277 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3488/1.972, allocations: 1.616 MB / 0.6292 GB, free: 73.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/2.08, allocations: 69.48 MB / 0.6971 GB, free: 35.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/2.091, allocations: 5.573 MB / 0.7025 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007194/2.098, allocations: 3.759 MB / 0.7062 GB, free: 33.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004427/2.099, allocations: 58.36 kB / 0.7063 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/2.099, allocations: 70.31 kB / 0.7063 GB, free: 33.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=296): time 7.314e-06/2.099, allocations: 0 / 0.7063 GB, free: 33.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.09945/2.198, allocations: 28.75 MB / 0.7344 GB, free: 22.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/2.198, allocations: 246.5 kB / 0.7346 GB, free: 22.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/2.21, allocations: 4.534 MB / 0.7391 GB, free: 20.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009986/2.211, allocations: 25.7 kB / 0.7391 GB, free: 20.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004121/2.215, allocations: 4.809 MB / 0.7438 GB, free: 16.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002292/2.217, allocations: 1.225 MB / 0.745 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/2.219, allocations: 0 / 0.745 GB, free: 15.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009726/2.22, allocations: 0.7121 MB / 0.7457 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008987/2.229, allocations: 3.565 MB / 0.7491 GB, free: 13.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01254/2.242, allocations: 8.794 MB / 0.7577 GB, free: 2.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/2.255, allocations: 5.565 MB / 0.7632 GB, free: 14.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/2.256, allocations: 55.84 kB / 0.7632 GB, free: 14.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.04005/2.296, allocations: 12.59 MB / 0.7755 GB, free: 3.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/2.296, allocations: 84 kB / 0.7756 GB, free: 3.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003337/2.296, allocations: 184 kB / 0.7758 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007566/2.304, allocations: 1.706 MB / 0.7774 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0155/2.319, allocations: 2.206 MB / 0.7796 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02458/2.344, allocations: 10.77 MB / 0.7901 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.355, allocations: 371.4 kB / 0.7905 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002715/2.358, allocations: 0.5464 MB / 0.791 GB, free: 5.652 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1138): * Single equations (assignments): 1133 * 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004143/2.362, allocations: 0.5781 MB / 0.7916 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02416/2.386, allocations: 7.024 MB / 0.7984 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/2.389, allocations: 0.5013 MB / 0.7989 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02343/2.412, allocations: 6.933 MB / 0.8057 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001187/2.412, allocations: 36 kB / 0.8057 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/2.413, allocations: 8 kB / 0.8057 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/2.413, allocations: 21.81 kB / 0.8057 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4123/2.825, allocations: 15.13 MB / 0.8205 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/2.825, allocations: 4.812 kB / 0.8205 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006778/2.832, allocations: 0.6145 MB / 0.8211 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006814/2.839, allocations: 1.405 MB / 0.8225 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/2.84, allocations: 22.75 kB / 0.8225 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/2.86, allocations: 9.88 MB / 0.8322 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/2.86, allocations: 12.03 kB / 0.8322 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02903/2.889, allocations: 12.1 MB / 0.844 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004383/2.893, allocations: 1.076 MB / 0.8451 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/2.895, allocations: 10.3 kB / 0.8451 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005918/2.901, allocations: 188.5 kB / 0.8452 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/2.903, allocations: 201.2 kB / 0.8454 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000666/2.903, allocations: 93.56 kB / 0.8455 GB, free: 107 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008141/2.912, allocations: 3.044 MB / 0.8485 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.182e-06/2.912, allocations: 0 / 0.8485 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01231/2.924, allocations: 1.468 MB / 0.8499 GB, free: 106.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03014/2.954, allocations: 13.51 MB / 0.8631 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02137/2.976, allocations: 8.983 MB / 0.8719 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.976, allocations: 0 / 0.8719 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009267/2.985, allocations: 3.555 MB / 0.8754 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/2.991, allocations: 0.5249 MB / 0.8759 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05208/3.043, allocations: 16.31 MB / 0.8918 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/3.055, allocations: 5.193 MB / 0.8969 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009007/3.064, allocations: 3.326 MB / 0.9001 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/3.064, allocations: 3.938 kB / 0.9001 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.554/8.618, allocations: 189 MB / 1.085 GB, free: 84.02 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat