Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP",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.01129/0.01129, allocations: 104.2 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.001182/0.001182, allocations: 171.1 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.728/1.728, allocations: 170.9 MB / 187.5 MB, free: 0.9883 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.2907/0.2907, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006349/0.000635, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09769, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.06027/0.158, allocations: 39 MB / 411.3 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.1825, allocations: 8.692 MB / 420 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007406/0.19, allocations: 183.6 kB / 420.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007433/0.1974, allocations: 1.94 MB / 422.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02034/0.2178, allocations: 5.123 MB / 427.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.2217, allocations: 0.5264 MB / 427.8 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.2255, allocations: 1.315 MB / 429.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3021/0.5277, allocations: 5.146 MB / 434.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.5301, allocations: 0.7537 MB / 435 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.5328, allocations: 0.9584 MB / 435.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009741/0.5338, allocations: 127.9 kB / 436.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.5359, allocations: 0.5389 MB / 436.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.5386, allocations: 1.263 MB / 437.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.5403, allocations: 0.6976 MB / 438.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009371/0.5497, allocations: 4.909 MB / 443.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5498, allocations: 1.344 kB / 443.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5498, allocations: 0 / 443.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003071/0.5501, allocations: 0 / 443.5 MB, free: 11.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0145/0.5646, allocations: 3.545 MB / 447 MB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5647, allocations: 10.75 kB / 447 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002958/0.5676, allocations: 0.6289 MB / 447.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/0.5731, allocations: 0.5951 MB / 448.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/0.5796, allocations: 1.771 MB / 450 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.5799, allocations: 234 kB / 450.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.5815, allocations: 324 kB / 450.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.6091, allocations: 8.772 MB / 459.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.6092, allocations: 19.38 kB / 459.4 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007418/0.61, allocations: 143.7 kB / 459.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004355/0.6143, allocations: 1.557 MB / 461 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/0.6405, allocations: 6.827 MB / 467.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06089/0.7015, allocations: 26.35 MB / 494.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.713, allocations: 1.963 MB / 496.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.7285, allocations: 6.368 MB / 0.4908 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.7286, allocations: 49.16 kB / 0.4908 GB, free: 9.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=77): time 5.931e-06/0.7286, allocations: 1.641 kB / 0.4908 GB, free: 9.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=95): time 0.03041/0.7591, allocations: 6.21 MB / 0.4969 GB, free: 4.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.7592, allocations: 141.5 kB / 0.497 GB, free: 4.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006177/0.7654, allocations: 2.463 MB / 0.4994 GB, free: 2.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.7657, allocations: 44.55 kB / 0.4995 GB, free: 2.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002522/0.7683, allocations: 2.401 MB / 0.5018 GB, free: 392 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/0.7689, allocations: 386.1 kB / 0.5022 GB, free: 72 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.7692, allocations: 77.75 kB / 0.5023 GB, free: 56 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003996/0.7697, allocations: 461.8 kB / 0.5027 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.7731, allocations: 0.9361 MB / 0.5036 GB, free: 15.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00986/0.7831, allocations: 3.219 MB / 0.5068 GB, free: 10.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00798/0.7911, allocations: 1.687 MB / 0.5084 GB, free: 9.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.7913, allocations: 20 kB / 0.5084 GB, free: 9.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01927/0.8106, allocations: 4.05 MB / 0.5124 GB, free: 5.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.8108, allocations: 45.66 kB / 0.5124 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002081/0.811, allocations: 84 kB / 0.5125 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.8113, allocations: 124 kB / 0.5126 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008495/0.8198, allocations: 0.8854 MB / 0.5135 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002814/0.8202, allocations: 162.9 kB / 0.5136 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/0.8263, allocations: 173.3 kB / 0.5138 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.8274, allocations: 224 kB / 0.514 GB, free: 3.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (479): * Single equations (assignments): 479 * 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.006648/0.8341, allocations: 1.572 MB / 0.5156 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/0.835, allocations: 217.2 kB / 0.5158 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.8404, allocations: 1.125 MB / 0.5169 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.8404, allocations: 12 kB / 0.5169 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.8405, allocations: 3.953 kB / 0.5169 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/0.8405, allocations: 7.984 kB / 0.5169 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/0.8653, allocations: 5.949 MB / 0.5227 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/0.8654, allocations: 20.19 kB / 0.5227 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/0.8675, allocations: 219.2 kB / 0.5229 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.109e-05/0.8676, allocations: 24 kB / 0.5229 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.8678, allocations: 44 kB / 0.523 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.8679, allocations: 34.73 kB / 0.523 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-05/0.8679, allocations: 27.59 kB / 0.523 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/0.8743, allocations: 3.279 MB / 0.5262 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.8757, allocations: 322 kB / 0.5266 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007667/0.8765, allocations: 43.98 kB / 0.5266 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/0.8789, allocations: 39.98 kB / 0.5266 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.8793, allocations: 130.3 kB / 0.5268 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.8795, allocations: 48 kB / 0.5268 GB, free: 6.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006433/0.886, allocations: 1.6 MB / 0.5284 GB, free: 4.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.886, allocations: 0 / 0.5284 GB, free: 4.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0078/0.8938, allocations: 0.6367 MB / 0.529 GB, free: 3.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (119): * Single equations (assignments): 119 * 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.008772/0.9027, allocations: 8.308 MB / 0.5371 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008753/0.9115, allocations: 2.252 MB / 0.5393 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-05/0.9116, allocations: 8.188 kB / 0.5393 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.9138, allocations: 0.5178 MB / 0.5398 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.9169, allocations: 294.4 kB / 0.5401 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3476/1.265, allocations: 68.24 MB / 0.6067 GB, free: 163.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00675/1.271, allocations: 2.806 MB / 0.6095 GB, free: 163 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00517/1.277, allocations: 0.9861 MB / 0.6104 GB, free: 162.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003102/1.28, allocations: 1.451 MB / 0.6119 GB, free: 162.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.293e-06/1.28, allocations: 1.969 kB / 0.6119 GB, free: 162.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.394, allocations: 46.84 MB / 0.6576 GB, free: 126.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.394, allocations: 177.8 kB / 0.6578 GB, free: 126.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.273/5.667, allocations: 0 / 0.6578 GB, free: 126.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat