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.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.241e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3418, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.5331, allocations: 100.8 MB / 458.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5335, allocations: 83.89 kB / 459 MB, free: 9.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.784/1.317, allocations: 125.9 MB / 0.5712 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.318, allocations: 0 / 0.5712 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004939/1.318, allocations: 132 kB / 0.5713 GB, free: 11.85 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02946/1.348, allocations: 6.545 MB / 0.5777 GB, free: 5.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.348, allocations: 12.03 kB / 0.5777 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05435/1.402, allocations: 7.116 MB / 0.5847 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02877/1.431, allocations: 7.36 MB / 0.5918 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.431, allocations: 224 kB / 0.5921 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003459/1.435, allocations: 387.9 kB / 0.5924 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03367/1.469, allocations: 9.152 MB / 0.6014 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0481/1.517, allocations: 14.09 MB / 0.6151 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005349/1.517, allocations: 95.12 kB / 0.6152 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/1.521, allocations: 43.94 kB / 0.6153 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/1.525, allocations: 1.549 MB / 0.6168 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4747/2, allocations: 69.08 MB / 0.6842 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009785/2.01, allocations: 5.348 MB / 0.6895 GB, free: 35.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006762/2.016, allocations: 3.64 MB / 0.693 GB, free: 35.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009553/2.017, allocations: 397.8 kB / 0.6934 GB, free: 35.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/2.017, allocations: 65.39 kB / 0.6935 GB, free: 35.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=272): time 6.272e-06/2.017, allocations: 0 / 0.6935 GB, free: 35.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=316): time 0.09845/2.116, allocations: 28.9 MB / 0.7217 GB, free: 26.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/2.116, allocations: 237.2 kB / 0.7219 GB, free: 26.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/2.127, allocations: 4.665 MB / 0.7265 GB, free: 24.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009231/2.128, allocations: 25.7 kB / 0.7265 GB, free: 24.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004038/2.132, allocations: 4.646 MB / 0.731 GB, free: 21.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/2.134, allocations: 1.162 MB / 0.7322 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/2.135, allocations: 3.656 kB / 0.7322 GB, free: 20.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006345/2.136, allocations: 0.6965 MB / 0.7328 GB, free: 20.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008246/2.144, allocations: 3.393 MB / 0.7361 GB, free: 18.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/2.157, allocations: 8.653 MB / 0.7446 GB, free: 10.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/2.169, allocations: 5.348 MB / 0.7498 GB, free: 7.996 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002437/2.169, allocations: 55.95 kB / 0.7499 GB, free: 7.941 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03719/2.207, allocations: 12.29 MB / 0.7619 GB, free: 14.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.207, allocations: 88 kB / 0.762 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000346/2.207, allocations: 187.8 kB / 0.7621 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007639/2.215, allocations: 1.696 MB / 0.7638 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/2.23, allocations: 2.181 MB / 0.7659 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/2.255, allocations: 10.6 MB / 0.7763 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.266, allocations: 373.7 kB / 0.7766 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002733/2.269, allocations: 0.5392 MB / 0.7772 GB, free: 396 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1122): * Single equations (assignments): 1117 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003924/2.273, allocations: 0.5773 MB / 0.7777 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02125/2.294, allocations: 6.488 MB / 0.7841 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/2.296, allocations: 0.5009 MB / 0.7846 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/2.317, allocations: 6.538 MB / 0.7909 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/2.317, allocations: 36 kB / 0.791 GB, free: 4.605 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/2.318, allocations: 19.78 kB / 0.791 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.4e-05/2.318, allocations: 14.44 kB / 0.791 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04842/2.366, allocations: 13.84 MB / 0.8045 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.373e-05/2.366, allocations: 4 kB / 0.8045 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006154/2.372, allocations: 0.5639 MB / 0.8051 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006937/2.379, allocations: 1.374 MB / 0.8064 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009259/2.38, allocations: 19.8 kB / 0.8064 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3979/2.778, allocations: 9.772 MB / 0.816 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/2.778, allocations: 6.359 kB / 0.816 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03008/2.808, allocations: 11.02 MB / 0.8268 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004325/2.813, allocations: 1.021 MB / 0.8277 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/2.815, allocations: 11.84 kB / 0.8278 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006021/2.821, allocations: 169.4 kB / 0.8279 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/2.823, allocations: 183.8 kB / 0.8281 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000676/2.823, allocations: 87.05 kB / 0.8282 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009492/2.833, allocations: 3.141 MB / 0.8312 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.22e-07/2.833, allocations: 0 / 0.8312 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01319/2.846, allocations: 1.399 MB / 0.8326 GB, free: 112.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (259): * Single equations (assignments): 254 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02955/2.876, allocations: 12.14 MB / 0.8445 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02146/2.897, allocations: 8.549 MB / 0.8528 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/2.897, allocations: 0 / 0.8528 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009311/2.907, allocations: 3.346 MB / 0.8561 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/2.912, allocations: 0.5266 MB / 0.8566 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06815/2.98, allocations: 15.44 MB / 0.8717 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01613/2.997, allocations: 4.943 MB / 0.8765 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008858/3.006, allocations: 3.163 MB / 0.8796 GB, free: 102 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/3.006, allocations: 3.75 kB / 0.8796 GB, free: 102 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.353/8.358, allocations: 179.5 MB / 1.055 GB, free: 107.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat