Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Spherical",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.01181/0.01182, allocations: 106.2 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.001325/0.001325, allocations: 178.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.132/2.132, allocations: 194.5 MB / 211.2 MB, free: 10.98 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.2842/0.2842, allocations: 40.05 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005128, allocations: 12 kB / 361.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 54.87 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.3514/0.48, allocations: 21.16 MB / 437.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4989, allocations: 5.962 MB / 443.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/0.5052, allocations: 99.28 kB / 443.2 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.5102, allocations: 1.098 MB / 444.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01584/0.5261, allocations: 3.321 MB / 447.7 MB, free: 328 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.5291, allocations: 460.2 kB / 448.1 MB, free: 164 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006954/0.5361, allocations: 2.109 MB / 450.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005802/0.5419, allocations: 2.147 MB / 452.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.545, allocations: 0.8435 MB / 453.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003472/0.5485, allocations: 1.188 MB / 454.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.5498, allocations: 123.7 kB / 454.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.5541, allocations: 1.031 MB / 455.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003119/0.5573, allocations: 1.381 MB / 456.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.5593, allocations: 0.7305 MB / 457.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5695, allocations: 4.714 MB / 462.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5695, allocations: 0 / 462.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.492e-06/0.5696, allocations: 0 / 462.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002873/0.5699, allocations: 3.938 kB / 462.4 MB, free: 7.828 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01259/0.5825, allocations: 3.448 MB / 465.8 MB, free: 4.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5825, allocations: 8.031 kB / 465.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0027/0.5852, allocations: 0.6873 MB / 466.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04042/0.6257, allocations: 6.409 MB / 472.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009131/0.6349, allocations: 2.509 MB / 475.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.6353, allocations: 184.3 kB / 475.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/0.6378, allocations: 307.6 kB / 475.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/0.671, allocations: 10.78 MB / 486.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.6712, allocations: 35.72 kB / 486.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/0.6728, allocations: 115.8 kB / 486.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00752/0.6804, allocations: 2.459 MB / 489.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03546/0.7159, allocations: 10.22 MB / 499.5 MB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09653/0.8125, allocations: 35.71 MB / 0.5227 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02932/0.8418, allocations: 5.597 MB / 0.5281 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00375/0.8457, allocations: 1.872 MB / 0.53 GB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.963e-05/0.8458, allocations: 56.56 kB / 0.53 GB, free: 5.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 8.957e-06/0.8458, allocations: 0 / 0.53 GB, free: 5.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.07031/0.9162, allocations: 15.54 MB / 0.5452 GB, free: 5.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00191/0.9181, allocations: 1.531 MB / 0.5467 GB, free: 3.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007445/0.9256, allocations: 3.001 MB / 0.5496 GB, free: 0.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006999/0.9264, allocations: 49.7 kB / 0.5497 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003094/0.9295, allocations: 2.682 MB / 0.5523 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00171/0.9313, allocations: 0.8403 MB / 0.5531 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007523/0.932, allocations: 108 kB / 0.5532 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005905/0.9327, allocations: 0.5414 MB / 0.5538 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007531/0.9402, allocations: 2.607 MB / 0.5563 GB, free: 10.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/0.9509, allocations: 5.57 MB / 0.5617 GB, free: 2.984 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.961, allocations: 3.786 MB / 0.5654 GB, free: 15.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.9611, allocations: 28 kB / 0.5655 GB, free: 15.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.1221/1.083, allocations: 18.95 MB / 0.584 GB, free: 12.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.944e-05/1.083, allocations: 48 kB / 0.584 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08621/1.17, allocations: 12 MB / 0.5957 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4185/1.588, allocations: 10.3 MB / 0.6058 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009327/1.598, allocations: 1.295 MB / 0.6071 GB, free: 149.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05032/1.648, allocations: 17.28 MB / 0.6239 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006916/1.655, allocations: 434.2 kB / 0.6243 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.656, allocations: 315.4 kB / 0.6246 GB, free: 143.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (650): * Single equations (assignments): 639 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005387/1.662, allocations: 2.021 MB / 0.6266 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006975/1.662, allocations: 273.7 kB / 0.6269 GB, free: 142.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.677, allocations: 5.099 MB / 0.6319 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01271/1.69, allocations: 4.392 MB / 0.6361 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.69, allocations: 7.719 kB / 0.6362 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.873e-05/1.69, allocations: 8.719 kB / 0.6362 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/1.723, allocations: 12.92 MB / 0.6488 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/1.723, allocations: 8 kB / 0.6488 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00414/1.727, allocations: 455.2 kB / 0.6492 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/1.732, allocations: 0.944 MB / 0.6501 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006104/1.733, allocations: 47.97 kB / 0.6502 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009644/1.743, allocations: 5.575 MB / 0.6556 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001107/1.744, allocations: 1.48 MB / 0.6571 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.762, allocations: 8.349 MB / 0.6652 GB, free: 106.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/1.763, allocations: 346 kB / 0.6656 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.764, allocations: 43.52 kB / 0.6656 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/1.767, allocations: 191.7 kB / 0.6658 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007581/1.768, allocations: 144.7 kB / 0.6659 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.768, allocations: 67.97 kB / 0.666 GB, free: 105.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003783/1.772, allocations: 1.876 MB / 0.6678 GB, free: 103.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.772, allocations: 0 / 0.6678 GB, free: 103.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006796/1.779, allocations: 1.119 MB / 0.6689 GB, free: 102.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01963/1.798, allocations: 10.96 MB / 0.6796 GB, free: 91.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01644/1.815, allocations: 6.551 MB / 0.686 GB, free: 85.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.815, allocations: 448 / 0.686 GB, free: 85.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00609/1.821, allocations: 2.518 MB / 0.6885 GB, free: 82.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/1.824, allocations: 347.8 kB / 0.6888 GB, free: 82.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4843/2.308, allocations: 111.1 MB / 0.7973 GB, free: 167.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008603/2.317, allocations: 3.236 MB / 0.8004 GB, free: 166.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00878/2.326, allocations: 2.062 MB / 0.8025 GB, free: 165.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004122/2.33, allocations: 1.671 MB / 0.8041 GB, free: 164.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/2.33, allocations: 0 / 0.8041 GB, free: 164.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/2.562, allocations: 80.21 MB / 0.8824 GB, free: 90.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/2.562, allocations: 207 kB / 0.8826 GB, free: 90.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.6/7.161, allocations: 0 / 0.8826 GB, free: 90.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat