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.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.053e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.346, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.5208, allocations: 98.9 MB / 457 MB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5211, allocations: 75.91 kB / 457.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9364/1.457, allocations: 166.4 MB / 0.6089 GB, free: 5.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.428e-06/1.458, allocations: 3.984 kB / 0.6089 GB, free: 5.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000667/1.458, allocations: 171.9 kB / 0.609 GB, free: 4.879 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03768/1.496, allocations: 8.251 MB / 0.6171 GB, free: 12.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/1.496, allocations: 20.02 kB / 0.6171 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09595/1.592, allocations: 12.08 MB / 0.6289 GB, free: 420 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3887/1.981, allocations: 10.93 MB / 0.6396 GB, free: 58.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000598/1.981, allocations: 277.7 kB / 0.6399 GB, free: 58.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/1.986, allocations: 0.5058 MB / 0.6404 GB, free: 58.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0291/2.015, allocations: 11.43 MB / 0.6515 GB, free: 58.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05679/2.072, allocations: 17.18 MB / 0.6683 GB, free: 54.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/2.073, allocations: 111.2 kB / 0.6684 GB, free: 54.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006578/2.079, allocations: 49.06 kB / 0.6684 GB, free: 54.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007248/2.087, allocations: 1.811 MB / 0.6702 GB, free: 54.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/2.24, allocations: 78.68 MB / 0.7471 GB, free: 20.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/2.251, allocations: 5.846 MB / 0.7528 GB, free: 17.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00741/2.259, allocations: 4.003 MB / 0.7567 GB, free: 16.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/2.26, allocations: 0.6685 MB / 0.7573 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/2.26, allocations: 68.75 kB / 0.7574 GB, free: 15.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=311): time 8.636e-06/2.26, allocations: 0 / 0.7574 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=338): time 0.1402/2.4, allocations: 33.71 MB / 0.7903 GB, free: 2.098 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/2.4, allocations: 295.6 kB / 0.7906 GB, free: 1.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02447/2.425, allocations: 6.058 MB / 0.7965 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008441/2.426, allocations: 29.7 kB / 0.7965 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006609/2.432, allocations: 5.758 MB / 0.8022 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00246/2.435, allocations: 1.247 MB / 0.8034 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/2.436, allocations: 0 / 0.8034 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008377/2.437, allocations: 0.7353 MB / 0.8041 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008945/2.446, allocations: 3.338 MB / 0.8074 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3683/2.814, allocations: 9.23 MB / 0.8164 GB, free: 92.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.828, allocations: 5.473 MB / 0.8217 GB, free: 92.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003748/2.828, allocations: 59.28 kB / 0.8218 GB, free: 92.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.04598/2.874, allocations: 11.91 MB / 0.8334 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000226/2.874, allocations: 92.88 kB / 0.8335 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003431/2.875, allocations: 211.6 kB / 0.8337 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/2.879, allocations: 1.052 MB / 0.8347 GB, free: 92.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/2.894, allocations: 2.341 MB / 0.837 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/2.911, allocations: 10.85 MB / 0.8476 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.923, allocations: 350.1 kB / 0.8479 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/2.925, allocations: 0.5963 MB / 0.8485 GB, free: 87.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1230): * Single equations (assignments): 1223 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003425/2.929, allocations: 0.6355 MB / 0.8491 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01441/2.943, allocations: 5.632 MB / 0.8546 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/2.945, allocations: 0.5957 MB / 0.8552 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.961, allocations: 5.686 MB / 0.8608 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-05/2.961, allocations: 36.91 kB / 0.8608 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/2.961, allocations: 7.281 kB / 0.8608 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.296e-05/2.962, allocations: 21.14 kB / 0.8608 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0408/3.002, allocations: 13.38 MB / 0.8739 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/3.002, allocations: 3.953 kB / 0.8739 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005984/3.008, allocations: 0.5656 MB / 0.8745 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/3.012, allocations: 0.6942 MB / 0.8751 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007639/3.013, allocations: 16.09 kB / 0.8751 GB, free: 85.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/3.027, allocations: 9.709 MB / 0.8846 GB, free: 80.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/3.027, allocations: 0 / 0.8846 GB, free: 80.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02178/3.049, allocations: 9.757 MB / 0.8942 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004189/3.053, allocations: 1.082 MB / 0.8952 GB, free: 75.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/3.055, allocations: 3.875 kB / 0.8952 GB, free: 75.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005883/3.061, allocations: 147.3 kB / 0.8954 GB, free: 75.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/3.063, allocations: 190 kB / 0.8955 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004398/3.063, allocations: 85.23 kB / 0.8956 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00991/3.073, allocations: 3.757 MB / 0.8993 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/3.073, allocations: 0 / 0.8993 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01353/3.087, allocations: 1.621 MB / 0.9009 GB, free: 74.02 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 272 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02292/3.11, allocations: 10.71 MB / 0.9113 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0189/3.129, allocations: 8.472 MB / 0.9196 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/3.129, allocations: 3.875 kB / 0.9196 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006472/3.135, allocations: 3.106 MB / 0.9226 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006906/3.142, allocations: 0.7284 MB / 0.9233 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05734/3.199, allocations: 18.25 MB / 0.9412 GB, free: 42.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01441/3.214, allocations: 6.132 MB / 0.9472 GB, free: 38.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/3.224, allocations: 4.115 MB / 0.9512 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of SimCode: time 1.774e-06/3.224, allocations: 0 / 0.9512 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.896/10.12, allocations: 290.4 MB / 1.235 GB, free: 125.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat