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.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.271e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.5497, allocations: 100.8 MB / 459 MB, free: 9.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5501, allocations: 75.95 kB / 459 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9873/1.537, allocations: 174.7 MB / 0.6188 GB, free: 10.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.366e-06/1.537, allocations: 0 / 0.6188 GB, free: 10.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008775/1.538, allocations: 176 kB / 0.619 GB, free: 10.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.04763/1.586, allocations: 8.789 MB / 0.6276 GB, free: 1.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.586, allocations: 12.03 kB / 0.6276 GB, free: 1.758 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7955/2.382, allocations: 9.866 MB / 0.6372 GB, free: 51.79 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03424/2.416, allocations: 9.825 MB / 0.6468 GB, free: 51.33 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006615/2.417, allocations: 302.2 kB / 0.6471 GB, free: 51.33 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005012/2.422, allocations: 0.5435 MB / 0.6477 GB, free: 51.32 MB / 458.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03279/2.454, allocations: 12.92 MB / 0.6603 GB, free: 51.27 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05265/2.507, allocations: 19.19 MB / 0.679 GB, free: 46.82 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007764/2.508, allocations: 107.5 kB / 0.6791 GB, free: 46.81 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00474/2.513, allocations: 63.41 kB / 0.6792 GB, free: 46.81 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004724/2.517, allocations: 2.082 MB / 0.6812 GB, free: 46.79 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1441/2.662, allocations: 87.21 MB / 0.7664 GB, free: 5.539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02319/2.685, allocations: 8.257 MB / 0.7744 GB, free: 15.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01188/2.697, allocations: 5.497 MB / 0.7798 GB, free: 10.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/2.698, allocations: 85.62 kB / 0.7799 GB, free: 10.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/2.698, allocations: 84.77 kB / 0.78 GB, free: 10.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=412): time 8.496e-06/2.698, allocations: 0 / 0.78 GB, free: 10.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=477): time 0.1588/2.856, allocations: 41.46 MB / 0.8205 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/2.857, allocations: 285.6 kB / 0.8207 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/2.872, allocations: 5.505 MB / 0.8261 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/2.873, allocations: 29.55 kB / 0.8261 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.3775/3.251, allocations: 6.032 MB / 0.832 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003826/3.255, allocations: 1.694 MB / 0.8337 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002256/3.257, allocations: 0.625 kB / 0.8337 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001313/3.258, allocations: 0.8057 MB / 0.8345 GB, free: 106 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01269/3.271, allocations: 4.797 MB / 0.8392 GB, free: 106 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01702/3.288, allocations: 11.09 MB / 0.85 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/3.304, allocations: 7.197 MB / 0.857 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002751/3.305, allocations: 64.28 kB / 0.8571 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.04783/3.353, allocations: 16.63 MB / 0.8733 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/3.353, allocations: 101.1 kB / 0.8734 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003468/3.353, allocations: 219.4 kB / 0.8736 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/3.364, allocations: 2.495 MB / 0.8761 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/3.383, allocations: 2.774 MB / 0.8788 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/3.415, allocations: 15.92 MB / 0.8943 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/3.429, allocations: 487.7 kB / 0.8948 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/3.432, allocations: 0.6679 MB / 0.8954 GB, free: 93.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],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 (1415): * Single equations (assignments): 1409 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005018/3.437, allocations: 0.6727 MB / 0.8961 GB, free: 92.69 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02932/3.466, allocations: 9.935 MB / 0.9058 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002807/3.469, allocations: 0.627 MB / 0.9064 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03118/3.5, allocations: 10.21 MB / 0.9164 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/3.501, allocations: 50.28 kB / 0.9164 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-05/3.501, allocations: 15.27 kB / 0.9164 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/3.501, allocations: 26.39 kB / 0.9165 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06247/3.563, allocations: 21 MB / 0.937 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.143e-05/3.563, allocations: 7.344 kB / 0.937 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009195/3.573, allocations: 0.883 MB / 0.9378 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00971/3.582, allocations: 2.107 MB / 0.9399 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001355/3.584, allocations: 22.84 kB / 0.9399 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/3.613, allocations: 14.67 MB / 0.9542 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/3.613, allocations: 7.938 kB / 0.9543 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04125/3.654, allocations: 17.04 MB / 0.9709 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005766/3.66, allocations: 1.438 MB / 0.9723 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002874/3.663, allocations: 8 kB / 0.9723 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007999/3.671, allocations: 281.6 kB / 0.9726 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001996/3.673, allocations: 291.7 kB / 0.9728 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001171/3.674, allocations: 123.7 kB / 0.973 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009831/3.684, allocations: 3.702 MB / 0.9766 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/3.684, allocations: 6.906 kB / 0.9766 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01534/3.699, allocations: 1.965 MB / 0.9785 GB, free: 40.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (408): * Single equations (assignments): 402 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.04377/3.743, allocations: 18.37 MB / 0.9964 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02956/3.773, allocations: 12.2 MB / 1.008 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/3.773, allocations: 0 / 1.008 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3974/4.17, allocations: 5.23 MB / 1.013 GB, free: 100 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007402/4.178, allocations: 0.67 MB / 1.014 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07303/4.251, allocations: 21.78 MB / 1.035 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01729/4.268, allocations: 6.61 MB / 1.042 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01284/4.281, allocations: 4.488 MB / 1.046 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/4.281, allocations: 0 / 1.046 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.002/11.28, allocations: 283.9 MB / 1.323 GB, free: 59.52 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat