Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP2",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.02063/0.02063, allocations: 107 kB / 15.06 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.001891/0.001891, allocations: 166.4 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 2.021/2.021, allocations: 170.9 MB / 187.5 MB, free: 0.9961 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.277/0.277, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 15.94 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09732, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.06126/0.1586, allocations: 39.54 MB / 411.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02869/0.1874, allocations: 10.21 MB / 422 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008837/0.1963, allocations: 195.6 kB / 422.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007703/0.2041, allocations: 1.967 MB / 424.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02276/0.2269, allocations: 5.712 MB / 429.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00514/0.2321, allocations: 0.9789 MB / 430.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.3296/0.5617, allocations: 10.33 MB / 441.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01337/0.5751, allocations: 6.236 MB / 447.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.5793, allocations: 1.386 MB / 448.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.584, allocations: 1.89 MB / 450.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001963/0.586, allocations: 199.7 kB / 450.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004556/0.5906, allocations: 1.233 MB / 452.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.5946, allocations: 2.11 MB / 454.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002383/0.5971, allocations: 1.09 MB / 455.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.6085, allocations: 7.911 MB / 463.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6085, allocations: 0 / 463.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6086, allocations: 0 / 463.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003629/0.6089, allocations: 4 kB / 463.3 MB, free: 5.793 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02244/0.6314, allocations: 5.777 MB / 469 MB, free: 2.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6315, allocations: 11.03 kB / 469.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003393/0.6349, allocations: 0.9175 MB / 470 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1797/0.8146, allocations: 8.658 MB / 478.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.8288, allocations: 4.125 MB / 482.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/0.8294, allocations: 351.3 kB / 483.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002771/0.8322, allocations: 428.1 kB / 483.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/0.8768, allocations: 13.99 MB / 497.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002556/0.8771, allocations: 56.17 kB / 497.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.8786, allocations: 201.6 kB / 497.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006109/0.8848, allocations: 2.344 MB / 0.4884 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04251/0.9273, allocations: 11.81 MB / 0.4999 GB, free: 2.094 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.028, allocations: 51.56 MB / 0.5503 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02211/1.05, allocations: 4.667 MB / 0.5548 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.082, allocations: 12.48 MB / 0.567 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/1.083, allocations: 59.25 kB / 0.5671 GB, free: 14.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=191): time 6.052e-06/1.083, allocations: 0 / 0.5671 GB, free: 14.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=242): time 0.6126/1.695, allocations: 42.67 MB / 0.6087 GB, free: 164.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.695, allocations: 229.2 kB / 0.609 GB, free: 164.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01595/1.711, allocations: 5.013 MB / 0.6139 GB, free: 162.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009474/1.712, allocations: 60.58 kB / 0.6139 GB, free: 162.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00573/1.718, allocations: 3.889 MB / 0.6177 GB, free: 159.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002755/1.721, allocations: 0.9151 MB / 0.6186 GB, free: 159.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/1.723, allocations: 143.5 kB / 0.6187 GB, free: 159 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001048/1.724, allocations: 0.6102 MB / 0.6193 GB, free: 158.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009969/1.734, allocations: 3.222 MB / 0.6225 GB, free: 157.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/1.746, allocations: 7.466 MB / 0.6298 GB, free: 150.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.757, allocations: 4.758 MB / 0.6344 GB, free: 148.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.757, allocations: 42.84 kB / 0.6345 GB, free: 148.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.04746/1.805, allocations: 13.78 MB / 0.6479 GB, free: 140.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.805, allocations: 68.94 kB / 0.648 GB, free: 140 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/1.805, allocations: 148 kB / 0.6481 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02086/1.826, allocations: 3.81 MB / 0.6519 GB, free: 136 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009626/1.836, allocations: 1.583 MB / 0.6534 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04453/1.88, allocations: 18.59 MB / 0.6715 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009052/1.889, allocations: 459 kB / 0.672 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.891, allocations: 428 kB / 0.6724 GB, free: 114.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (854): * Single equations (assignments): 850 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007209/1.898, allocations: 2.653 MB / 0.675 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.9, allocations: 429.8 kB / 0.6754 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0326/1.932, allocations: 8.127 MB / 0.6833 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/1.932, allocations: 24.86 kB / 0.6834 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-05/1.932, allocations: 12 kB / 0.6834 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-05/1.933, allocations: 15.95 kB / 0.6834 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05751/1.99, allocations: 17.51 MB / 0.7005 GB, free: 86.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.461e-05/1.99, allocations: 0 / 0.7005 GB, free: 86.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/1.994, allocations: 391.4 kB / 0.7009 GB, free: 85.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02141/2.015, allocations: 3.831 MB / 0.7046 GB, free: 81.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006864/2.016, allocations: 37.56 kB / 0.7046 GB, free: 81.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04066/2.057, allocations: 17.03 MB / 0.7213 GB, free: 64.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/2.057, allocations: 0.875 kB / 0.7213 GB, free: 64.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03985/2.097, allocations: 12.62 MB / 0.7336 GB, free: 51.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/2.1, allocations: 0.9444 MB / 0.7345 GB, free: 50.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/2.102, allocations: 39.98 kB / 0.7346 GB, free: 50.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004936/2.107, allocations: 208.3 kB / 0.7348 GB, free: 50.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/2.108, allocations: 146.2 kB / 0.7349 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003373/2.109, allocations: 56.86 kB / 0.7349 GB, free: 50.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007878/2.117, allocations: 3.17 MB / 0.738 GB, free: 47.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.117, allocations: 0 / 0.738 GB, free: 47.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01497/2.132, allocations: 1.458 MB / 0.7395 GB, free: 45.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04121/2.173, allocations: 13.53 MB / 0.7527 GB, free: 32.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0182/2.191, allocations: 7.842 MB / 0.7603 GB, free: 24.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.191, allocations: 6.406 kB / 0.7603 GB, free: 24.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007038/2.198, allocations: 2.977 MB / 0.7632 GB, free: 21.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/2.203, allocations: 487 kB / 0.7637 GB, free: 21.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3567/2.559, allocations: 127.3 MB / 0.888 GB, free: 46.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009626/2.569, allocations: 4.195 MB / 0.8921 GB, free: 45.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009708/2.579, allocations: 2.181 MB / 0.8942 GB, free: 44.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005593/2.584, allocations: 2.479 MB / 0.8967 GB, free: 42.83 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/2.585, allocations: 0 / 0.8967 GB, free: 42.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5746/3.159, allocations: 110.3 MB / 1.004 GB, free: 122.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/3.159, allocations: 194.3 kB / 1.005 GB, free: 121.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/9.673, allocations: 0 / 1.005 GB, free: 121.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat