Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01575/0.01575, allocations: 104.4 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00184/0.00184, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.703/1.703, allocations: 170.9 MB / 187.6 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.256/0.256, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006811/0.0006813, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.116, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03582/0.1519, allocations: 21.8 MB / 394.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.1669, allocations: 5.045 MB / 399.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.171, allocations: 95.81 kB / 399.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.1748, allocations: 1.05 MB / 400.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.1888, allocations: 2.863 MB / 403.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.1916, allocations: 331.5 kB / 403.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.1952, allocations: 0.7571 MB / 404.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005796/0.201, allocations: 1.686 MB / 405.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.2029, allocations: 402.5 kB / 406.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.2052, allocations: 0.5527 MB / 406.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008466/0.2061, allocations: 64 kB / 406.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.2086, allocations: 423.4 kB / 407.3 MB, free: 9.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003006/0.2117, allocations: 0.6779 MB / 408 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.213, allocations: 364.5 kB / 408.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007729/0.2208, allocations: 2.124 MB / 410.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.221, allocations: 0 / 410.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.221, allocations: 4 kB / 410.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.2211, allocations: 0 / 410.5 MB, free: 6.496 MB / 314.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.01168/0.2328, allocations: 2.123 MB / 412.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.157e-05/0.233, allocations: 8.031 kB / 412.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.234, allocations: 355.6 kB / 413 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.2359, allocations: 280.8 kB / 413.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.239, allocations: 0.8645 MB / 414.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.2391, allocations: 102.8 kB / 414.2 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.2396, allocations: 143.9 kB / 414.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.2553, allocations: 4.97 MB / 419.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/0.2554, allocations: 11.88 kB / 419.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.2557, allocations: 71.92 kB / 419.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003071/0.2587, allocations: 0.9989 MB / 420.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.2734, allocations: 3.881 MB / 424.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3489/0.6224, allocations: 16.33 MB / 440.6 MB, free: 51.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007539/0.63, allocations: 1.283 MB / 441.9 MB, free: 51.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008726/0.6387, allocations: 4.089 MB / 446 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6388, allocations: 40.67 kB / 446 MB, free: 49.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 3.366e-06/0.6388, allocations: 1.688 kB / 446 MB, free: 49.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.01435/0.6532, allocations: 1.767 MB / 447.8 MB, free: 48.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.6534, allocations: 120.1 kB / 447.9 MB, free: 48.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.6581, allocations: 1.558 MB / 449.5 MB, free: 48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6583, allocations: 39.39 kB / 449.5 MB, free: 47.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.6598, allocations: 1.392 MB / 450.9 MB, free: 46.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.6602, allocations: 179 kB / 451.1 MB, free: 46.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.6604, allocations: 46.81 kB / 451.1 MB, free: 46.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003461/0.6607, allocations: 451.5 kB / 451.6 MB, free: 46.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.6627, allocations: 0.5011 MB / 452.1 MB, free: 45.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.6657, allocations: 2.023 MB / 454.1 MB, free: 43.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.6692, allocations: 0.953 MB / 455 MB, free: 43.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.6694, allocations: 20.06 kB / 455.1 MB, free: 43.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.009391/0.6788, allocations: 2.412 MB / 457.5 MB, free: 41.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.6789, allocations: 27.38 kB / 457.5 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.679, allocations: 56.62 kB / 457.6 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.6792, allocations: 81.44 kB / 457.6 MB, free: 41.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.6835, allocations: 0.5375 MB / 458.2 MB, free: 41.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/0.6837, allocations: 110.2 kB / 458.3 MB, free: 41.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/0.6872, allocations: 333.2 kB / 458.6 MB, free: 41.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.6876, allocations: 141.9 kB / 458.7 MB, free: 41.55 MB / 330.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.002315/0.6899, allocations: 0.8614 MB / 459.6 MB, free: 41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.6904, allocations: 136.4 kB / 459.7 MB, free: 40.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.6908, allocations: 147.8 kB / 459.9 MB, free: 40.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.6908, allocations: 3.312 kB / 459.9 MB, free: 40.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.6909, allocations: 0 / 459.9 MB, free: 40.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.6909, allocations: 10.84 kB / 459.9 MB, free: 40.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009557/0.7005, allocations: 3.276 MB / 463.2 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.7006, allocations: 12 kB / 463.2 MB, free: 38.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008884/0.7015, allocations: 95.84 kB / 463.3 MB, free: 38.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.609e-05/0.7015, allocations: 23.98 kB / 463.3 MB, free: 38.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.7016, allocations: 24.72 kB / 463.3 MB, free: 38.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/0.7017, allocations: 23.88 kB / 463.3 MB, free: 38.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.46e-05/0.7017, allocations: 23.88 kB / 463.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.7039, allocations: 1.638 MB / 465 MB, free: 36.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.7045, allocations: 231.2 kB / 465.2 MB, free: 35.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.7048, allocations: 24 kB / 465.3 MB, free: 35.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7061, allocations: 27.98 kB / 465.3 MB, free: 35.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.7063, allocations: 71.69 kB / 465.4 MB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.7064, allocations: 28 kB / 465.4 MB, free: 35.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002722/0.7091, allocations: 0.9625 MB / 466.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.322e-06/0.7091, allocations: 0 / 466.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003987/0.7132, allocations: 486 kB / 466.8 MB, free: 34.25 MB / 330.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.003051/0.7163, allocations: 5.652 MB / 472.5 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.7207, allocations: 1.241 MB / 473.7 MB, free: 26.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-05/0.7207, allocations: 320 / 473.7 MB, free: 26.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.7216, allocations: 246.2 kB / 474 MB, free: 26.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.7233, allocations: 175.3 kB / 474.1 MB, free: 26.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03722/0.7605, allocations: 48.37 MB / 0.5103 GB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.763, allocations: 1.737 MB / 0.5119 GB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002942/0.766, allocations: 0.6178 MB / 0.5126 GB, free: 6.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.7675, allocations: 0.7336 MB / 0.5133 GB, free: 5.473 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7675, allocations: 0 / 0.5133 GB, free: 5.473 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/0.844, allocations: 25.59 MB / 0.5383 GB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.8442, allocations: 177.8 kB / 0.5384 GB, free: 11.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/4.467, allocations: 0 / 0.5384 GB, free: 11.75 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat