Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS2",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.01126/0.01126, allocations: 109.3 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.2.mo): time 0.001309/0.00131, allocations: 180.2 kB / 15.95 MB, free: 5.52 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 2.003/2.003, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.276/0.276, allocations: 40.04 MB / 296.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 15.98 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.4065/0.5412, allocations: 35.59 MB / 451.6 MB, free: 30.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.5651, allocations: 9.208 MB / 460.8 MB, free: 30.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007652/0.5728, allocations: 177.1 kB / 461 MB, free: 30.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005883/0.5787, allocations: 1.766 MB / 462.8 MB, free: 30.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01978/0.5986, allocations: 5.232 MB / 468 MB, free: 29.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.6028, allocations: 0.8457 MB / 468.8 MB, free: 29.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02754/0.6304, allocations: 10.13 MB / 479 MB, free: 28.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009025/0.6395, allocations: 4.091 MB / 483.1 MB, free: 28.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.6435, allocations: 1.215 MB / 484.3 MB, free: 28.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.6484, allocations: 1.69 MB / 486 MB, free: 27.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.6503, allocations: 170.9 kB / 486.1 MB, free: 27.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.6554, allocations: 1.106 MB / 487.2 MB, free: 27.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.66, allocations: 1.823 MB / 489.1 MB, free: 27.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.6628, allocations: 0.9314 MB / 490 MB, free: 27.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.6751, allocations: 6.341 MB / 496.3 MB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6752, allocations: 4 kB / 496.3 MB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.6752, allocations: 1.281 kB / 496.3 MB, free: 25.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003487/0.6755, allocations: 0 / 496.3 MB, free: 25.55 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02556/0.7011, allocations: 5.262 MB / 0.4898 GB, free: 22.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.7012, allocations: 9.953 kB / 0.4898 GB, free: 22.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004002/0.7052, allocations: 0.8007 MB / 0.4906 GB, free: 22.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1797/0.885, allocations: 8.47 MB / 0.4989 GB, free: 19.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.8977, allocations: 3.618 MB / 0.5024 GB, free: 17.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.8981, allocations: 255.2 kB / 0.5027 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002643/0.9008, allocations: 341.4 kB / 0.503 GB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/0.9379, allocations: 12.5 MB / 0.5152 GB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/0.9382, allocations: 61.16 kB / 0.5153 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001809/0.94, allocations: 164.7 kB / 0.5154 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005523/0.9456, allocations: 2.26 MB / 0.5176 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04048/0.9861, allocations: 10.87 MB / 0.5282 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/1.09, allocations: 48.87 MB / 0.576 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02858/1.119, allocations: 5.95 MB / 0.5818 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03669/1.156, allocations: 13.13 MB / 0.5946 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/1.156, allocations: 63.8 kB / 0.5947 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 9.137e-06/1.156, allocations: 0 / 0.5947 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.5729/1.729, allocations: 39.65 MB / 0.6334 GB, free: 155.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/1.729, allocations: 210.9 kB / 0.6336 GB, free: 155 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.741, allocations: 4.599 MB / 0.6381 GB, free: 154.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000937/1.742, allocations: 64.77 kB / 0.6381 GB, free: 154.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003284/1.745, allocations: 3.421 MB / 0.6415 GB, free: 152.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001836/1.747, allocations: 0.9518 MB / 0.6424 GB, free: 151.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.748, allocations: 132.1 kB / 0.6425 GB, free: 151.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004914/1.749, allocations: 0.594 MB / 0.6431 GB, free: 151.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008483/1.757, allocations: 3.089 MB / 0.6461 GB, free: 150 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.769, allocations: 6.962 MB / 0.6529 GB, free: 143.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.78, allocations: 4.52 MB / 0.6573 GB, free: 141.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.78, allocations: 41.12 kB / 0.6574 GB, free: 141.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.0447/1.825, allocations: 12.58 MB / 0.6697 GB, free: 137.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.825, allocations: 63.47 kB / 0.6697 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002787/1.825, allocations: 141.4 kB / 0.6699 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01782/1.843, allocations: 3.266 MB / 0.6731 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/1.856, allocations: 1.531 MB / 0.6745 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05854/1.915, allocations: 16.08 MB / 0.6903 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009146/1.924, allocations: 422.6 kB / 0.6907 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/1.926, allocations: 414.1 kB / 0.691 GB, free: 127.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 623 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (805): * Single equations (assignments): 801 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007663/1.934, allocations: 2.338 MB / 0.6933 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.935, allocations: 402.8 kB / 0.6937 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02845/1.964, allocations: 7.511 MB / 0.7011 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.149e-05/1.964, allocations: 28 kB / 0.7011 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/1.964, allocations: 12 kB / 0.7011 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/1.964, allocations: 15.05 kB / 0.7011 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06294/2.027, allocations: 15.21 MB / 0.716 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.064e-05/2.027, allocations: 0 / 0.716 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004923/2.032, allocations: 379.4 kB / 0.7163 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01861/2.05, allocations: 2.934 MB / 0.7192 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006461/2.051, allocations: 50.25 kB / 0.7192 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0318/2.083, allocations: 14.29 MB / 0.7332 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.083, allocations: 7.953 kB / 0.7332 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03217/2.115, allocations: 11.54 MB / 0.7445 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003694/2.119, allocations: 0.9303 MB / 0.7454 GB, free: 72.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/2.121, allocations: 40 kB / 0.7454 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004844/2.125, allocations: 195.7 kB / 0.7456 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.127, allocations: 145.8 kB / 0.7457 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/2.127, allocations: 68.94 kB / 0.7458 GB, free: 72.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007469/2.135, allocations: 2.912 MB / 0.7487 GB, free: 69.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.135, allocations: 4 kB / 0.7487 GB, free: 69.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009487/2.144, allocations: 1.33 MB / 0.75 GB, free: 68.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06081/2.205, allocations: 12.37 MB / 0.762 GB, free: 55.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03906/2.244, allocations: 7.784 MB / 0.7696 GB, free: 48.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.244, allocations: 0 / 0.7696 GB, free: 48.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01042/2.255, allocations: 3.12 MB / 0.7727 GB, free: 44.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/2.259, allocations: 467.8 kB / 0.7731 GB, free: 44.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4758/2.735, allocations: 139.9 MB / 0.9098 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008799/2.744, allocations: 3.772 MB / 0.9135 GB, free: 65.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0105/2.755, allocations: 2.173 MB / 0.9156 GB, free: 65.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005809/2.761, allocations: 2.219 MB / 0.9177 GB, free: 63.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/2.761, allocations: 5.312 kB / 0.9178 GB, free: 63.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5648/3.325, allocations: 102.5 MB / 1.018 GB, free: 137.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/3.326, allocations: 199.9 kB / 1.018 GB, free: 137.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.442/9.768, allocations: 3.938 kB / 1.018 GB, free: 137.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat