Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.676/1.676, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004304, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3624, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03215/0.3946, allocations: 21.81 MB / 353.1 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.4099, allocations: 5.044 MB / 358.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004418/0.4144, allocations: 97.06 kB / 358.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00426/0.4187, allocations: 1.048 MB / 359.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.4306, allocations: 2.863 MB / 362.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.4328, allocations: 343.5 kB / 362.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.4348, allocations: 0.7727 MB / 363.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.4382, allocations: 1.678 MB / 364.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.4389, allocations: 398.5 kB / 365.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.44, allocations: 0.5644 MB / 365.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.4403, allocations: 64 kB / 365.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4415, allocations: 427.4 kB / 366.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008979/0.4424, allocations: 0.6662 MB / 367 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.4429, allocations: 364.5 kB / 367.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.4463, allocations: 2.132 MB / 369.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4463, allocations: 0 / 369.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4463, allocations: 0 / 369.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.4464, allocations: 0 / 369.5 MB, free: 8.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006645/0.453, allocations: 2.123 MB / 371.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4531, allocations: 16.03 kB / 371.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007513/0.4538, allocations: 347.6 kB / 372 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.4556, allocations: 288.8 kB / 372.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.4579, allocations: 0.8567 MB / 373.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.4581, allocations: 106.8 kB / 373.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.4585, allocations: 143.9 kB / 373.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/0.4728, allocations: 4.981 MB / 378.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/0.4729, allocations: 19.88 kB / 378.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.4732, allocations: 67.92 kB / 378.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/0.4762, allocations: 0.995 MB / 379.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.4905, allocations: 3.889 MB / 383.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.5225, allocations: 16.34 MB / 399.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/0.5299, allocations: 1.282 MB / 400.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008833/0.5388, allocations: 4.089 MB / 405 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5388, allocations: 38.56 kB / 405.1 MB, free: 3.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 3.988e-06/0.5389, allocations: 0 / 405.1 MB, free: 3.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.01079/0.5497, allocations: 1.771 MB / 406.8 MB, free: 1.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.5498, allocations: 110.8 kB / 407 MB, free: 1.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.5529, allocations: 1.567 MB / 408.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.553, allocations: 37.7 kB / 408.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.5543, allocations: 1.405 MB / 410 MB, free: 14.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.5545, allocations: 182 kB / 410.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.5546, allocations: 48 kB / 410.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.5549, allocations: 403.4 kB / 410.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.5562, allocations: 0.5003 MB / 411.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.5589, allocations: 2.028 MB / 413.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.5611, allocations: 0.9559 MB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/0.5612, allocations: 16 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005395/0.5666, allocations: 2.376 MB / 416.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.5667, allocations: 28 kB / 416.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.807e-05/0.5668, allocations: 56 kB / 416.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.5669, allocations: 80 kB / 416.6 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.5698, allocations: 0.538 MB / 417.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.5699, allocations: 107.6 kB / 417.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.5721, allocations: 336.9 kB / 417.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.5723, allocations: 144 kB / 417.7 MB, free: 5.938 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001759/0.5741, allocations: 0.8503 MB / 418.6 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5744, allocations: 138.2 kB / 418.7 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.5747, allocations: 153.3 kB / 418.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5747, allocations: 4 kB / 418.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5748, allocations: 0 / 418.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5748, allocations: 4 kB / 418.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.5816, allocations: 3.263 MB / 422.1 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.5816, allocations: 16 kB / 422.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.5823, allocations: 103.8 kB / 422.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/0.5823, allocations: 16 kB / 422.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.5824, allocations: 23.95 kB / 422.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.724e-05/0.5824, allocations: 27.86 kB / 422.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/0.5824, allocations: 19.88 kB / 422.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.5839, allocations: 0.8892 MB / 423.2 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.5844, allocations: 219.3 kB / 423.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.5847, allocations: 35.94 kB / 423.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.5854, allocations: 23.98 kB / 423.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5856, allocations: 71.73 kB / 423.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.5856, allocations: 28 kB / 423.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00205/0.5877, allocations: 0.9702 MB / 424.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5877, allocations: 0 / 424.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002415/0.5901, allocations: 485.9 kB / 425 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001845/0.592, allocations: 1.47 MB / 426.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.5951, allocations: 1.241 MB / 427.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.5952, allocations: 4 kB / 427.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.5957, allocations: 242.4 kB / 428 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.5969, allocations: 178 kB / 428.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/0.6221, allocations: 11.43 MB / 439.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.6246, allocations: 1.733 MB / 441.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/0.6262, allocations: 0.757 MB / 442.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6262, allocations: 0 / 442.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/3.332, allocations: 29.75 MB / 471.8 MB, free: 13.88 MB / 410.7 MB