Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUSP.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.638e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.348, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.5231, allocations: 99.4 MB / 457.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5235, allocations: 71.97 kB / 457.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5872/1.111, allocations: 72.76 MB / 0.5179 GB, free: 50.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.111, allocations: 0 / 0.5179 GB, free: 50.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002111/1.111, allocations: 68 kB / 0.518 GB, free: 50.57 MB / 394.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.01659/1.128, allocations: 3.581 MB / 0.5215 GB, free: 46.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.128, allocations: 8.031 kB / 0.5215 GB, free: 46.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007479/1.135, allocations: 0.666 MB / 0.5221 GB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/1.144, allocations: 2.181 MB / 0.5243 GB, free: 44.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/1.144, allocations: 124 kB / 0.5244 GB, free: 43.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/1.146, allocations: 227.9 kB / 0.5246 GB, free: 43.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/1.158, allocations: 5.235 MB / 0.5297 GB, free: 38.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/1.176, allocations: 6.888 MB / 0.5364 GB, free: 31.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/1.176, allocations: 15.88 kB / 0.5365 GB, free: 31.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009608/1.177, allocations: 8 kB / 0.5365 GB, free: 31.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/1.179, allocations: 0.7919 MB / 0.5372 GB, free: 30.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/1.235, allocations: 25.94 MB / 0.5626 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/1.238, allocations: 1.116 MB / 0.5637 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.239, allocations: 0.7398 MB / 0.5644 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/1.251, allocations: 5.933 MB / 0.5702 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/1.251, allocations: 43.12 kB / 0.5702 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.767e-06/1.251, allocations: 0 / 0.5702 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.01653/1.268, allocations: 4.643 MB / 0.5748 GB, free: 6.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/1.268, allocations: 149.1 kB / 0.5749 GB, free: 6.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/1.272, allocations: 1.917 MB / 0.5768 GB, free: 4.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.272, allocations: 29.64 kB / 0.5768 GB, free: 4.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/1.274, allocations: 2.473 MB / 0.5792 GB, free: 2.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/1.275, allocations: 312.2 kB / 0.5795 GB, free: 1.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/1.275, allocations: 0 / 0.5795 GB, free: 1.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003324/1.275, allocations: 471 kB / 0.58 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.277, allocations: 0.8275 MB / 0.5808 GB, free: 424 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/1.281, allocations: 3.198 MB / 0.5839 GB, free: 12.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/1.285, allocations: 1.6 MB / 0.5855 GB, free: 10.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.686e-05/1.285, allocations: 24 kB / 0.5855 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.008889/1.294, allocations: 3.444 MB / 0.5888 GB, free: 6.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/1.294, allocations: 44.06 kB / 0.5889 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/1.294, allocations: 92 kB / 0.589 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/1.295, allocations: 124 kB / 0.5891 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/1.3, allocations: 0.9085 MB / 0.59 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001654/1.3, allocations: 163.4 kB / 0.5901 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/1.303, allocations: 107.8 kB / 0.5902 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/1.304, allocations: 232 kB / 0.5905 GB, free: 5.285 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 488 * 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.0006136/1.304, allocations: 324 kB / 0.5908 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001996/1.306, allocations: 0.8362 MB / 0.5916 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/1.307, allocations: 193.5 kB / 0.5918 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.309, allocations: 0.8996 MB / 0.5926 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.309, allocations: 8 kB / 0.5927 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.309, allocations: 3.953 kB / 0.5927 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.309, allocations: 7.984 kB / 0.5927 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009916/1.319, allocations: 4.268 MB / 0.5968 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.319, allocations: 20.25 kB / 0.5969 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.32, allocations: 203.7 kB / 0.597 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-05/1.32, allocations: 24 kB / 0.5971 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/1.321, allocations: 20 kB / 0.5971 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-05/1.321, allocations: 35.86 kB / 0.5971 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-05/1.321, allocations: 27.88 kB / 0.5972 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/1.324, allocations: 2.86 MB / 0.5999 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/1.325, allocations: 290.3 kB / 0.6002 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/1.325, allocations: 27.98 kB / 0.6002 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.326, allocations: 23.98 kB / 0.6003 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.326, allocations: 115.6 kB / 0.6004 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/1.326, allocations: 44 kB / 0.6004 GB, free: 9.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002771/1.329, allocations: 1.273 MB / 0.6017 GB, free: 8.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.329, allocations: 0 / 0.6017 GB, free: 8.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004497/1.334, allocations: 0.5507 MB / 0.6022 GB, free: 8.082 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.005265/1.339, allocations: 8.019 MB / 0.61 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005084/1.344, allocations: 1.981 MB / 0.612 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/1.344, allocations: 7.938 kB / 0.612 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.345, allocations: 451.8 kB / 0.6124 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.347, allocations: 217.1 kB / 0.6126 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.38, allocations: 6.62 MB / 0.6191 GB, free: 6.012 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008003/1.388, allocations: 2.793 MB / 0.6218 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004752/1.393, allocations: 1.468 MB / 0.6232 GB, free: 1.723 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/1.393, allocations: 0 / 0.6232 GB, free: 1.723 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.02/5.413, allocations: 53.77 MB / 0.6757 GB, free: 101.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat