Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01145/0.01145, allocations: 106 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.00126/0.00126, allocations: 166.5 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.747/1.747, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2784/0.2784, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007572/0.0007575, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1091, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.05401/0.1632, allocations: 35.56 MB / 407.8 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.19, allocations: 9.18 MB / 417 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007958/0.198, allocations: 175.6 kB / 417.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006722/0.2047, allocations: 1.769 MB / 419 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02141/0.2262, allocations: 5.232 MB / 424.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.2308, allocations: 0.8503 MB / 425.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.3322/0.5631, allocations: 10.12 MB / 435.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009753/0.5729, allocations: 4.078 MB / 439.3 MB, free: 16.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.5768, allocations: 1.226 MB / 440.5 MB, free: 16.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004633/0.5815, allocations: 1.681 MB / 442.2 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001816/0.5833, allocations: 171.6 kB / 442.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.5881, allocations: 1.108 MB / 443.4 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003933/0.5921, allocations: 1.82 MB / 445.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.5946, allocations: 0.9367 MB / 446.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.6057, allocations: 6.325 MB / 452.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6058, allocations: 2.188 kB / 452.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.6058, allocations: 0 / 452.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003401/0.6062, allocations: 0 / 452.5 MB, free: 15.04 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02151/0.6277, allocations: 5.264 MB / 457.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6278, allocations: 9.469 kB / 457.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003035/0.6308, allocations: 0.7963 MB / 458.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1773/0.8082, allocations: 8.469 MB / 467.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.8197, allocations: 3.608 MB / 470.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.8201, allocations: 263.4 kB / 470.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.8223, allocations: 346.8 kB / 471.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/0.8597, allocations: 12.49 MB / 483.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/0.8601, allocations: 53.44 kB / 483.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/0.8621, allocations: 170.2 kB / 484 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006286/0.8685, allocations: 2.266 MB / 486.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03764/0.9062, allocations: 10.86 MB / 497.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09752/1.004, allocations: 48.82 MB / 0.5331 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02804/1.032, allocations: 5.952 MB / 0.5389 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03398/1.066, allocations: 13.14 MB / 0.5518 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/1.066, allocations: 58.78 kB / 0.5518 GB, free: 0.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 5.6e-06/1.066, allocations: 1.641 kB / 0.5518 GB, free: 0.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.5057/1.572, allocations: 39.65 MB / 0.5905 GB, free: 153.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.572, allocations: 206.3 kB / 0.5907 GB, free: 153.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/1.588, allocations: 4.597 MB / 0.5952 GB, free: 151.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00098/1.589, allocations: 63.02 kB / 0.5953 GB, free: 151.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004605/1.593, allocations: 3.426 MB / 0.5986 GB, free: 149.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002179/1.595, allocations: 0.948 MB / 0.5996 GB, free: 148.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.597, allocations: 134.9 kB / 0.5997 GB, free: 148.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006566/1.597, allocations: 0.5895 MB / 0.6003 GB, free: 148 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/1.609, allocations: 3.087 MB / 0.6033 GB, free: 146.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/1.624, allocations: 6.968 MB / 0.6101 GB, free: 140.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/1.638, allocations: 4.528 MB / 0.6145 GB, free: 138.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.638, allocations: 41.53 kB / 0.6145 GB, free: 138.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.03996/1.678, allocations: 12.59 MB / 0.6268 GB, free: 133.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.678, allocations: 64 kB / 0.6269 GB, free: 133.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/1.678, allocations: 136 kB / 0.627 GB, free: 133.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/1.695, allocations: 3.265 MB / 0.6302 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00962/1.705, allocations: 1.536 MB / 0.6317 GB, free: 128.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0374/1.742, allocations: 16.07 MB / 0.6474 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008583/1.751, allocations: 432.2 kB / 0.6478 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.753, allocations: 404 kB / 0.6482 GB, free: 111.9 MB / 442.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.006345/1.759, allocations: 2.34 MB / 0.6505 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.76, allocations: 410.7 kB / 0.6509 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/1.785, allocations: 7.505 MB / 0.6582 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/1.786, allocations: 28 kB / 0.6582 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.786, allocations: 12 kB / 0.6583 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.247e-05/1.786, allocations: 11.95 kB / 0.6583 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04992/1.836, allocations: 15.2 MB / 0.6731 GB, free: 86.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/1.836, allocations: 4 kB / 0.6731 GB, free: 86.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/1.839, allocations: 383.4 kB / 0.6735 GB, free: 86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01578/1.855, allocations: 2.927 MB / 0.6763 GB, free: 83.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007746/1.856, allocations: 45.02 kB / 0.6764 GB, free: 83.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03227/1.888, allocations: 14.3 MB / 0.6903 GB, free: 68.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.888, allocations: 480 / 0.6903 GB, free: 68.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03231/1.921, allocations: 11.55 MB / 0.7016 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/1.925, allocations: 0.9404 MB / 0.7025 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/1.927, allocations: 40 kB / 0.7026 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005095/1.932, allocations: 191.7 kB / 0.7028 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/1.934, allocations: 149.7 kB / 0.7029 GB, free: 55.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003278/1.934, allocations: 64 kB / 0.703 GB, free: 55.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006285/1.94, allocations: 2.922 MB / 0.7058 GB, free: 52.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.94, allocations: 0 / 0.7058 GB, free: 52.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009677/1.95, allocations: 1.331 MB / 0.7071 GB, free: 51.29 MB / 442.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.03511/1.985, allocations: 12.37 MB / 0.7192 GB, free: 38.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01907/2.004, allocations: 7.788 MB / 0.7268 GB, free: 31.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/2.004, allocations: 0 / 0.7268 GB, free: 31.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007909/2.012, allocations: 3.106 MB / 0.7298 GB, free: 27.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/2.016, allocations: 468.8 kB / 0.7303 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4239/2.44, allocations: 139.9 MB / 0.8669 GB, free: 33.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008044/2.448, allocations: 3.771 MB / 0.8706 GB, free: 32.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009728/2.458, allocations: 2.174 MB / 0.8727 GB, free: 31.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/2.464, allocations: 2.224 MB / 0.8749 GB, free: 29.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/2.464, allocations: 0 / 0.8749 GB, free: 29.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6079/3.072, allocations: 102.5 MB / 0.975 GB, free: 94.46 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/3.072, allocations: 195.5 kB / 0.9752 GB, free: 94.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.19/9.262, allocations: 0 / 0.9752 GB, free: 94.22 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat