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.LineForceWithMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.066e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.399, allocations: 54.85 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.5901, allocations: 104.8 MB / 469.5 MB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000431/0.5906, allocations: 72.88 kB / 469.5 MB, free: 7.523 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8499/1.441, allocations: 110.8 MB / 0.5667 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.441, allocations: 0 / 0.5667 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004001/1.441, allocations: 109.4 kB / 0.5668 GB, free: 106.8 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02564/1.467, allocations: 5.879 MB / 0.5726 GB, free: 104.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.467, allocations: 18.56 kB / 0.5726 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004686/1.471, allocations: 0.9716 MB / 0.5735 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05221/1.524, allocations: 6.895 MB / 0.5803 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02696/1.551, allocations: 7.072 MB / 0.5872 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/1.551, allocations: 414.8 kB / 0.5876 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00326/1.555, allocations: 0.5405 MB / 0.5881 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04659/1.601, allocations: 14.01 MB / 0.6018 GB, free: 89.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004746/1.602, allocations: 71.34 kB / 0.6019 GB, free: 89.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003226/1.605, allocations: 261.3 kB / 0.6021 GB, free: 89.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003129/1.608, allocations: 1.35 MB / 0.6034 GB, free: 88.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03926/1.648, allocations: 11.57 MB / 0.6147 GB, free: 76.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09919/1.747, allocations: 60.63 MB / 0.6739 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02786/1.775, allocations: 5.778 MB / 0.6796 GB, free: 8.426 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006708/1.782, allocations: 3.243 MB / 0.6827 GB, free: 5.172 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03922/1.821, allocations: 14.73 MB / 0.6971 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/1.821, allocations: 60.5 kB / 0.6972 GB, free: 5.895 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.333e-06/1.821, allocations: 0 / 0.6972 GB, free: 5.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.4699/2.291, allocations: 21.91 MB / 0.7186 GB, free: 111.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/2.291, allocations: 260 kB / 0.7188 GB, free: 111.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.303, allocations: 4.393 MB / 0.7231 GB, free: 111.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007305/2.304, allocations: 71.22 kB / 0.7232 GB, free: 111.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003607/2.308, allocations: 3.811 MB / 0.7269 GB, free: 109 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/2.309, allocations: 0.9896 MB / 0.7279 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009119/2.31, allocations: 149.4 kB / 0.728 GB, free: 108.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005079/2.311, allocations: 0.6154 MB / 0.7286 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006593/2.317, allocations: 2.519 MB / 0.7311 GB, free: 108 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009598/2.327, allocations: 6.837 MB / 0.7378 GB, free: 101.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009506/2.337, allocations: 4.106 MB / 0.7418 GB, free: 100.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/2.337, allocations: 42 kB / 0.7418 GB, free: 100.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02619/2.363, allocations: 9.406 MB / 0.751 GB, free: 96.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/2.363, allocations: 72.94 kB / 0.7511 GB, free: 96.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/2.363, allocations: 152.5 kB / 0.7512 GB, free: 96.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/2.366, allocations: 0.5887 MB / 0.7518 GB, free: 96.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/2.377, allocations: 1.731 MB / 0.7535 GB, free: 96.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00907/2.386, allocations: 5.626 MB / 0.759 GB, free: 92.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008929/2.395, allocations: 400.5 kB / 0.7594 GB, free: 92.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/2.397, allocations: 440.3 kB / 0.7598 GB, free: 92.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (912): * Single equations (assignments): 907 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002624/2.4, allocations: 0.6715 MB / 0.7604 GB, free: 91.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/2.401, allocations: 466.2 kB / 0.7609 GB, free: 91.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/2.414, allocations: 3.98 MB / 0.7648 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/2.414, allocations: 29.11 kB / 0.7648 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/2.414, allocations: 3.406 kB / 0.7648 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/2.414, allocations: 23.14 kB / 0.7648 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0336/2.447, allocations: 10.22 MB / 0.7748 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/2.447, allocations: 4.656 kB / 0.7748 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00479/2.452, allocations: 463.4 kB / 0.7752 GB, free: 86.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/2.454, allocations: 341 kB / 0.7756 GB, free: 86.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006448/2.455, allocations: 46.88 kB / 0.7756 GB, free: 86.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/2.463, allocations: 4.961 MB / 0.7805 GB, free: 82.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.463, allocations: 4 kB / 0.7805 GB, free: 82.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/2.48, allocations: 7.071 MB / 0.7874 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/2.483, allocations: 0.8243 MB / 0.7882 GB, free: 75.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/2.485, allocations: 45.84 kB / 0.7882 GB, free: 75.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004528/2.489, allocations: 162.8 kB / 0.7884 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/2.49, allocations: 142 kB / 0.7885 GB, free: 75.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003036/2.49, allocations: 68.27 kB / 0.7886 GB, free: 75.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007425/2.498, allocations: 3.069 MB / 0.7916 GB, free: 72.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.498, allocations: 4 kB / 0.7916 GB, free: 72.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00901/2.507, allocations: 1.298 MB / 0.7928 GB, free: 71.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (224): * Single equations (assignments): 219 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01724/2.524, allocations: 7.905 MB / 0.8006 GB, free: 63.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01479/2.539, allocations: 6.362 MB / 0.8068 GB, free: 57.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.539, allocations: 12.78 kB / 0.8068 GB, free: 57.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004993/2.544, allocations: 2.183 MB / 0.8089 GB, free: 55.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/2.549, allocations: 0.5593 MB / 0.8095 GB, free: 55.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/2.589, allocations: 12.51 MB / 0.8217 GB, free: 44.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009978/2.599, allocations: 4.227 MB / 0.8258 GB, free: 41.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008743/2.607, allocations: 2.686 MB / 0.8284 GB, free: 39.05 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/2.608, allocations: 4 kB / 0.8284 GB, free: 39.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.577/8.185, allocations: 152 MB / 0.9768 GB, free: 64.28 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat