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.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.085e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3549, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.5556, allocations: 104.7 MB / 462.8 MB, free: 6.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5559, allocations: 75.95 kB / 462.9 MB, free: 5.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.626/2.182, allocations: 231.2 MB / 0.6778 GB, free: 40.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.364e-06/2.182, allocations: 0 / 0.6778 GB, free: 40.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008739/2.183, allocations: 247.8 kB / 0.6781 GB, free: 40.28 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05354/2.237, allocations: 12.25 MB / 0.69 GB, free: 35.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/2.237, allocations: 10.41 kB / 0.69 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1147/2.351, allocations: 12.79 MB / 0.7025 GB, free: 34.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04744/2.399, allocations: 13.23 MB / 0.7155 GB, free: 33.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008662/2.4, allocations: 414.9 kB / 0.7159 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006935/2.407, allocations: 0.7344 MB / 0.7166 GB, free: 33.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05147/2.458, allocations: 17.44 MB / 0.7336 GB, free: 32.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07144/2.53, allocations: 25.78 MB / 0.7588 GB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009894/2.531, allocations: 145.9 kB / 0.7589 GB, free: 8.266 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006291/2.537, allocations: 72 kB / 0.759 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009254/2.546, allocations: 2.853 MB / 0.7618 GB, free: 5.836 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.681/3.228, allocations: 121 MB / 0.88 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/3.248, allocations: 10.94 MB / 0.8907 GB, free: 30.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01682/3.265, allocations: 7.677 MB / 0.8982 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003156/3.268, allocations: 1.094 MB / 0.8992 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/3.268, allocations: 95.47 kB / 0.8993 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=552): time 1.756e-05/3.268, allocations: 3.469 kB / 0.8993 GB, free: 29.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=640): time 0.2356/3.504, allocations: 62.81 MB / 0.9607 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/3.504, allocations: 379.4 kB / 0.961 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02076/3.525, allocations: 7.913 MB / 0.9687 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001924/3.527, allocations: 25.7 kB / 0.9688 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007776/3.534, allocations: 8.231 MB / 0.9768 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004953/3.539, allocations: 2.282 MB / 0.979 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003322/3.543, allocations: 2.906 kB / 0.979 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001971/3.545, allocations: 0.9821 MB / 0.98 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01861/3.564, allocations: 6.419 MB / 0.9863 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02764/3.591, allocations: 14.89 MB / 1.001 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02504/3.616, allocations: 9.665 MB / 1.01 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004228/3.617, allocations: 87.89 kB / 1.01 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.5006/4.117, allocations: 22.69 MB / 1.032 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003967/4.118, allocations: 132.8 kB / 1.033 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007263/4.119, allocations: 302.7 kB / 1.033 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/4.134, allocations: 3.31 MB / 1.036 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02636/4.16, allocations: 3.838 MB / 1.04 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04335/4.203, allocations: 21.26 MB / 1.061 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01974/4.223, allocations: 0.6343 MB / 1.061 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004817/4.228, allocations: 0.9081 MB / 1.062 GB, free: 117.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1935): * Single equations (assignments): 1928 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00769/4.236, allocations: 0.8855 MB / 1.063 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04189/4.278, allocations: 13.2 MB / 1.076 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004307/4.282, allocations: 0.8993 MB / 1.077 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0443/4.327, allocations: 13.83 MB / 1.09 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001592/4.327, allocations: 64.77 kB / 1.09 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.612e-05/4.327, allocations: 16.34 kB / 1.09 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001809/4.327, allocations: 36.25 kB / 1.09 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08949/4.417, allocations: 28.84 MB / 1.119 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/4.417, allocations: 8.344 kB / 1.119 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01291/4.43, allocations: 1.258 MB / 1.12 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01297/4.443, allocations: 2.789 MB / 1.123 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0021/4.445, allocations: 35.45 kB / 1.123 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04/4.485, allocations: 19.67 MB / 1.142 GB, free: 98.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/4.485, allocations: 10.41 kB / 1.142 GB, free: 98.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05788/4.543, allocations: 23.42 MB / 1.165 GB, free: 81.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009176/4.552, allocations: 1.924 MB / 1.167 GB, free: 80.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004706/4.557, allocations: 19.38 kB / 1.167 GB, free: 80.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01119/4.568, allocations: 358.6 kB / 1.167 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002811/4.571, allocations: 391.8 kB / 1.167 GB, free: 79.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001454/4.572, allocations: 163.9 kB / 1.167 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01456/4.587, allocations: 5.358 MB / 1.173 GB, free: 74.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/4.587, allocations: 0 / 1.173 GB, free: 74.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02281/4.61, allocations: 2.657 MB / 1.175 GB, free: 72.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,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 (553): * Single equations (assignments): 546 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.06001/4.67, allocations: 24.97 MB / 1.2 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03834/4.708, allocations: 16.32 MB / 1.216 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/4.708, allocations: 7.875 kB / 1.216 GB, free: 35.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/4.726, allocations: 6.852 MB / 1.222 GB, free: 29.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009992/4.736, allocations: 0.9593 MB / 1.223 GB, free: 28.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4982/5.234, allocations: 29.97 MB / 1.252 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02408/5.258, allocations: 8.8 MB / 1.261 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0176/5.276, allocations: 6.314 MB / 1.267 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.553e-06/5.276, allocations: 0 / 1.267 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.169/13.45, allocations: 433.5 MB / 1.691 GB, free: 130.6 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat