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.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.638e-05, allocations: 4 kB / 303.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3789, allocations: 54.85 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5625, allocations: 100.1 MB / 458.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5629, allocations: 75.95 kB / 458.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7364/1.299, allocations: 112.1 MB / 0.5571 GB, free: 41.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.299, allocations: 0 / 0.5571 GB, free: 41.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003713/1.3, allocations: 111.9 kB / 0.5572 GB, free: 41.7 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02212/1.322, allocations: 5.467 MB / 0.5625 GB, free: 36.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.322, allocations: 12.03 kB / 0.5625 GB, free: 36.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04918/1.371, allocations: 6.946 MB / 0.5693 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/1.394, allocations: 6.856 MB / 0.576 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.395, allocations: 176 kB / 0.5762 GB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/1.397, allocations: 332.4 kB / 0.5765 GB, free: 21.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01771/1.415, allocations: 7.449 MB / 0.5837 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/1.443, allocations: 11.73 MB / 0.5952 GB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/1.443, allocations: 87.19 kB / 0.5953 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002171/1.445, allocations: 40 kB / 0.5953 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/1.448, allocations: 1.251 MB / 0.5965 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4597/1.908, allocations: 57.38 MB / 0.6526 GB, free: 60.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006107/1.914, allocations: 3.443 MB / 0.6559 GB, free: 59.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/1.918, allocations: 2.105 MB / 0.658 GB, free: 59.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/1.918, allocations: 33.06 kB / 0.658 GB, free: 59.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.919, allocations: 59.14 kB / 0.6581 GB, free: 59.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 6.332e-06/1.919, allocations: 0 / 0.6581 GB, free: 59.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=198): time 0.05415/1.973, allocations: 17.52 MB / 0.6752 GB, free: 55.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/1.973, allocations: 226.7 kB / 0.6754 GB, free: 54.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009828/1.983, allocations: 4.129 MB / 0.6794 GB, free: 54.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004826/1.983, allocations: 28.67 kB / 0.6795 GB, free: 54.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003649/1.987, allocations: 4.1 MB / 0.6835 GB, free: 52.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.988, allocations: 0.7647 MB / 0.6842 GB, free: 51.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/1.989, allocations: 2.531 kB / 0.6842 GB, free: 51.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005018/1.99, allocations: 0.6229 MB / 0.6848 GB, free: 51.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005179/1.995, allocations: 2.193 MB / 0.687 GB, free: 51.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008727/2.004, allocations: 6.865 MB / 0.6937 GB, free: 45.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008581/2.012, allocations: 3.857 MB / 0.6974 GB, free: 44.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/2.012, allocations: 47.44 kB / 0.6975 GB, free: 44.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02246/2.035, allocations: 8.253 MB / 0.7056 GB, free: 41.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/2.035, allocations: 77.25 kB / 0.7056 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/2.035, allocations: 174 kB / 0.7058 GB, free: 41.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/2.038, allocations: 0.612 MB / 0.7064 GB, free: 41.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/2.048, allocations: 1.717 MB / 0.7081 GB, free: 41.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/2.056, allocations: 5.538 MB / 0.7135 GB, free: 37.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008216/2.065, allocations: 250.5 kB / 0.7137 GB, free: 37.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/2.066, allocations: 463.4 kB / 0.7142 GB, free: 37.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (925): * Single equations (assignments): 920 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001911/2.068, allocations: 0.5128 MB / 0.7147 GB, free: 37.39 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007889/2.076, allocations: 3.145 MB / 0.7177 GB, free: 36.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/2.078, allocations: 432.2 kB / 0.7181 GB, free: 36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007649/2.085, allocations: 2.914 MB / 0.721 GB, free: 33.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/2.085, allocations: 24 kB / 0.721 GB, free: 33.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/2.085, allocations: 4 kB / 0.721 GB, free: 33.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/2.085, allocations: 14.02 kB / 0.721 GB, free: 33.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/2.107, allocations: 7.539 MB / 0.7284 GB, free: 27.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/2.107, allocations: 0 / 0.7284 GB, free: 27.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/2.11, allocations: 294.5 kB / 0.7287 GB, free: 27.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/2.112, allocations: 364.3 kB / 0.729 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005123/2.112, allocations: 10.62 kB / 0.729 GB, free: 26.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/2.119, allocations: 4.854 MB / 0.7338 GB, free: 22.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/2.119, allocations: 4.031 kB / 0.7338 GB, free: 22.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/2.131, allocations: 5.676 MB / 0.7393 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002581/2.133, allocations: 0.7081 MB / 0.74 GB, free: 16.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/2.134, allocations: 11.47 kB / 0.74 GB, free: 16.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/2.138, allocations: 67.89 kB / 0.7401 GB, free: 16.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/2.138, allocations: 112.3 kB / 0.7402 GB, free: 16.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/2.139, allocations: 48 kB / 0.7402 GB, free: 16.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006533/2.145, allocations: 2.791 MB / 0.743 GB, free: 13.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.145, allocations: 4 kB / 0.743 GB, free: 13.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009125/2.154, allocations: 1.055 MB / 0.744 GB, free: 12.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/2.166, allocations: 6.671 MB / 0.7505 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/2.178, allocations: 5.414 MB / 0.7558 GB, free: 1.879 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.178, allocations: 0 / 0.7558 GB, free: 1.879 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/2.181, allocations: 1.675 MB / 0.7574 GB, free: 364 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.186, allocations: 0.5074 MB / 0.7579 GB, free: 0 / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/2.228, allocations: 11.76 MB / 0.7694 GB, free: 5.902 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/2.238, allocations: 4.25 MB / 0.7736 GB, free: 2.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006927/2.245, allocations: 2.579 MB / 0.7761 GB, free: 368 kB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/2.245, allocations: 4 kB / 0.7761 GB, free: 364 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.079/7.324, allocations: 147.9 MB / 0.9206 GB, free: 133.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat