Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01097/0.01097, allocations: 106.1 kB / 15.06 MB, free: 6.027 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.001269/0.001269, allocations: 182 kB / 15.95 MB, free: 5.953 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.979/1.979, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.3183/0.3183, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004665, allocations: 8 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1167, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3699/0.4866, allocations: 39.02 MB / 455 MB, free: 30.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.5077, allocations: 8.695 MB / 463.7 MB, free: 30.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008615/0.5164, allocations: 184.9 kB / 463.9 MB, free: 30.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006626/0.5231, allocations: 1.937 MB / 465.8 MB, free: 29.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01829/0.5414, allocations: 5.127 MB / 471 MB, free: 29.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.5449, allocations: 0.5242 MB / 471.5 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.5482, allocations: 1.314 MB / 472.8 MB, free: 29.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009019/0.5573, allocations: 5.151 MB / 478 MB, free: 28.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.5589, allocations: 0.7469 MB / 478.7 MB, free: 28.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.5607, allocations: 0.9604 MB / 479.7 MB, free: 28.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005146/0.5613, allocations: 132.8 kB / 479.8 MB, free: 28.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.5629, allocations: 0.5414 MB / 480.3 MB, free: 28.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.5645, allocations: 1.265 MB / 481.6 MB, free: 28.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008803/0.5654, allocations: 0.694 MB / 482.3 MB, free: 28.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.5732, allocations: 4.903 MB / 487.2 MB, free: 27.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5733, allocations: 0 / 487.2 MB, free: 27.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5733, allocations: 1.5 kB / 487.2 MB, free: 27.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002461/0.5736, allocations: 0 / 487.2 MB, free: 27.89 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01265/0.5862, allocations: 3.558 MB / 490.8 MB, free: 26.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5863, allocations: 10.59 kB / 490.8 MB, free: 26.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002796/0.5891, allocations: 0.6261 MB / 491.4 MB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/0.5944, allocations: 0.5852 MB / 492 MB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006653/0.6011, allocations: 1.781 MB / 493.8 MB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.6015, allocations: 239.7 kB / 494 MB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.6033, allocations: 305.9 kB / 494.3 MB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/0.6343, allocations: 8.787 MB / 0.4913 GB, free: 20.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002347/0.6346, allocations: 14.84 kB / 0.4913 GB, free: 20.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/0.636, allocations: 138.6 kB / 0.4914 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004748/0.6408, allocations: 1.562 MB / 0.493 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.6672, allocations: 6.827 MB / 0.4996 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05208/0.7193, allocations: 26.34 MB / 0.5254 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.7307, allocations: 1.974 MB / 0.5273 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/0.745, allocations: 6.369 MB / 0.5335 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.7451, allocations: 46.45 kB / 0.5335 GB, free: 15.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 4.108e-06/0.7451, allocations: 0 / 0.5335 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.03085/0.7759, allocations: 6.215 MB / 0.5396 GB, free: 9.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.7761, allocations: 141.6 kB / 0.5398 GB, free: 9.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.7811, allocations: 2.465 MB / 0.5422 GB, free: 7.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.7814, allocations: 41.7 kB / 0.5422 GB, free: 7.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.7838, allocations: 2.394 MB / 0.5445 GB, free: 4.633 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.7845, allocations: 390.7 kB / 0.5449 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.7848, allocations: 76 kB / 0.545 GB, free: 4.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003233/0.7851, allocations: 461.9 kB / 0.5454 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.7879, allocations: 0.9404 MB / 0.5463 GB, free: 2.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/0.7925, allocations: 3.219 MB / 0.5495 GB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.7968, allocations: 1.681 MB / 0.5511 GB, free: 12.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-05/0.7969, allocations: 24 kB / 0.5511 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.0118/0.8087, allocations: 4.059 MB / 0.5551 GB, free: 8.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.8089, allocations: 40 kB / 0.5552 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.809, allocations: 80 kB / 0.5552 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.8092, allocations: 120 kB / 0.5553 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/0.8148, allocations: 0.8894 MB / 0.5562 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002038/0.8151, allocations: 167.4 kB / 0.5564 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/0.8189, allocations: 159.9 kB / 0.5565 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/0.8198, allocations: 228 kB / 0.5567 GB, free: 6.98 MB / 426.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.004901/0.8247, allocations: 1.581 MB / 0.5583 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/0.8253, allocations: 217.2 kB / 0.5585 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.8288, allocations: 1.12 MB / 0.5596 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.8289, allocations: 8 kB / 0.5596 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.8289, allocations: 4 kB / 0.5596 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.8289, allocations: 3.984 kB / 0.5596 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.8458, allocations: 5.95 MB / 0.5654 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/0.846, allocations: 16 kB / 0.5654 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.8476, allocations: 215.7 kB / 0.5656 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/0.8477, allocations: 28 kB / 0.5657 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.8478, allocations: 43.98 kB / 0.5657 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-05/0.8479, allocations: 35.88 kB / 0.5657 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.95e-05/0.8479, allocations: 31.81 kB / 0.5658 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.8529, allocations: 3.287 MB / 0.569 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/0.8539, allocations: 310.1 kB / 0.5693 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/0.8544, allocations: 43.98 kB / 0.5693 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8559, allocations: 43.98 kB / 0.5694 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/0.8564, allocations: 131.5 kB / 0.5695 GB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.8566, allocations: 55.94 kB / 0.5695 GB, free: 8.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004669/0.8612, allocations: 1.596 MB / 0.5711 GB, free: 7.359 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.8613, allocations: 0 / 0.5711 GB, free: 7.359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004734/0.866, allocations: 0.6445 MB / 0.5717 GB, free: 6.715 MB / 442.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.007107/0.8732, allocations: 8.297 MB / 0.5798 GB, free: 13.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00607/0.8793, allocations: 2.252 MB / 0.582 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/0.8794, allocations: 0 / 0.582 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.8809, allocations: 0.5195 MB / 0.5825 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.8832, allocations: 301.6 kB / 0.5828 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3818/1.265, allocations: 68.24 MB / 0.6495 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007996/1.273, allocations: 2.805 MB / 0.6522 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007121/1.28, allocations: 0.9883 MB / 0.6532 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005305/1.286, allocations: 1.446 MB / 0.6546 GB, free: 131.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.874e-06/1.286, allocations: 0 / 0.6546 GB, free: 131.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.42, allocations: 46.84 MB / 0.7003 GB, free: 113.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.42, allocations: 169.8 kB / 0.7005 GB, free: 113.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/5.512, allocations: 0 / 0.7005 GB, free: 113.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat