Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.01121, allocations: 107.6 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001219/0.00122, allocations: 183 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.943/1.943, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3461/0.3461, allocations: 40.05 MB / 296.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004886, allocations: 19.98 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 54.87 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03432/0.1518, allocations: 21.81 MB / 437.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.1666, allocations: 5.061 MB / 442.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004162/0.1708, allocations: 95.81 kB / 443 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.1748, allocations: 1.05 MB / 444 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.1885, allocations: 2.856 MB / 446.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.1911, allocations: 347.3 kB / 447.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1939, allocations: 0.7571 MB / 448 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.1987, allocations: 1.671 MB / 449.7 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.1998, allocations: 406.4 kB / 450.1 MB, free: 384 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3405/0.5403, allocations: 0.5526 MB / 450.6 MB, free: 32.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.5407, allocations: 68.81 kB / 450.7 MB, free: 32.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.5419, allocations: 418 kB / 451.1 MB, free: 32.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007393/0.5426, allocations: 0.678 MB / 451.8 MB, free: 32.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.543, allocations: 361.7 kB / 452.1 MB, free: 32.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.5456, allocations: 2.125 MB / 454.2 MB, free: 32.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5457, allocations: 3.188 kB / 454.2 MB, free: 32.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5457, allocations: 2.25 kB / 454.2 MB, free: 32.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.361e-05/0.5457, allocations: 0 / 454.2 MB, free: 32.43 MB / 378.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.006475/0.5522, allocations: 2.128 MB / 456.4 MB, free: 31.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5523, allocations: 6.5 kB / 456.4 MB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009221/0.5532, allocations: 352.6 kB / 456.7 MB, free: 31.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.555, allocations: 279.9 kB / 457 MB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.5573, allocations: 0.859 MB / 457.9 MB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.058e-05/0.5575, allocations: 108.3 kB / 458 MB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.5579, allocations: 144.4 kB / 458.1 MB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.571, allocations: 4.967 MB / 463.1 MB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.5711, allocations: 13.19 kB / 463.1 MB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.5713, allocations: 69.25 kB / 463.1 MB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/0.5742, allocations: 0.9968 MB / 464.1 MB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.5884, allocations: 3.876 MB / 468 MB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02998/0.6184, allocations: 16.34 MB / 484.4 MB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.6262, allocations: 1.283 MB / 485.6 MB, free: 22.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009156/0.6354, allocations: 4.089 MB / 489.7 MB, free: 20.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6355, allocations: 42.34 kB / 489.8 MB, free: 20.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 3.346e-06/0.6355, allocations: 0 / 489.8 MB, free: 20.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.0115/0.6471, allocations: 1.768 MB / 491.5 MB, free: 20.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.6472, allocations: 108.6 kB / 491.6 MB, free: 20.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.6508, allocations: 1.572 MB / 493.2 MB, free: 20.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.651, allocations: 31.36 kB / 493.3 MB, free: 20.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.6523, allocations: 1.391 MB / 494.6 MB, free: 19.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.6527, allocations: 180.7 kB / 494.8 MB, free: 19.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.6528, allocations: 45.25 kB / 494.9 MB, free: 19.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003171/0.6532, allocations: 453.3 kB / 495.3 MB, free: 18.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.6547, allocations: 0.5022 MB / 495.8 MB, free: 18.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.6576, allocations: 2.021 MB / 497.8 MB, free: 16.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.6603, allocations: 0.953 MB / 498.8 MB, free: 16.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.539e-05/0.6604, allocations: 16.97 kB / 498.8 MB, free: 16.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007352/0.6677, allocations: 2.409 MB / 0.4895 GB, free: 16.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.311e-05/0.6679, allocations: 32.03 kB / 0.4895 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.668, allocations: 55.45 kB / 0.4895 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.6682, allocations: 79.34 kB / 0.4896 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.6715, allocations: 0.5406 MB / 0.4901 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000157/0.6717, allocations: 106.5 kB / 0.4902 GB, free: 16.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.6744, allocations: 333.2 kB / 0.4906 GB, free: 16.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/0.6749, allocations: 142.7 kB / 0.4907 GB, free: 16.51 MB / 378.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.002159/0.6771, allocations: 0.8629 MB / 0.4915 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.6774, allocations: 129.5 kB / 0.4917 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.6779, allocations: 151.5 kB / 0.4918 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6779, allocations: 5.625 kB / 0.4918 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6779, allocations: 0.7969 kB / 0.4918 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6779, allocations: 5.828 kB / 0.4918 GB, free: 16.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/0.6853, allocations: 3.275 MB / 0.495 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.6854, allocations: 11.94 kB / 0.495 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.686, allocations: 102.4 kB / 0.4951 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.6861, allocations: 20.97 kB / 0.4952 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.6861, allocations: 27.03 kB / 0.4952 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-05/0.6862, allocations: 23.27 kB / 0.4952 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/0.6862, allocations: 18.88 kB / 0.4952 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.6878, allocations: 1.654 MB / 0.4968 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.6884, allocations: 228.7 kB / 0.4971 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.6886, allocations: 30.33 kB / 0.4971 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.6894, allocations: 29.92 kB / 0.4971 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6895, allocations: 65.38 kB / 0.4972 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.6895, allocations: 29.38 kB / 0.4972 GB, free: 13.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001973/0.6915, allocations: 0.9652 MB / 0.4981 GB, free: 12.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6916, allocations: 0 / 0.4981 GB, free: 12.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002946/0.6945, allocations: 488.7 kB / 0.4986 GB, free: 12.79 MB / 378.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.003111/0.6977, allocations: 5.644 MB / 0.5041 GB, free: 23.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.7007, allocations: 1.255 MB / 0.5053 GB, free: 22.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.7007, allocations: 4.406 kB / 0.5054 GB, free: 22.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.7013, allocations: 236.6 kB / 0.5056 GB, free: 22.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.7026, allocations: 168.3 kB / 0.5057 GB, free: 22.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/0.7418, allocations: 48.37 MB / 0.553 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.7448, allocations: 1.742 MB / 0.5547 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003014/0.7479, allocations: 0.6139 MB / 0.5553 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/0.7496, allocations: 0.7375 MB / 0.556 GB, free: 5.543 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7497, allocations: 0 / 0.556 GB, free: 5.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08242/0.8321, allocations: 25.6 MB / 0.581 GB, free: 12.15 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.8325, allocations: 169.9 kB / 0.5812 GB, free: 11.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.176, allocations: 0 / 0.5812 GB, free: 11.91 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat