Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01209/0.0121, allocations: 105.4 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.001484/0.001484, allocations: 171 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.879/1.879, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2737/0.2737, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.000504, allocations: 16 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.03412/0.1695, allocations: 21.15 MB / 393.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01735/0.187, allocations: 5.936 MB / 399.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.1912, allocations: 99.75 kB / 399.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.1953, allocations: 1.097 MB / 400.6 MB, free: 480 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.2083, allocations: 3.327 MB / 403.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2108, allocations: 475.2 kB / 404.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.2162, allocations: 2.105 MB / 406.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/0.221, allocations: 2.131 MB / 408.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.2232, allocations: 0.8447 MB / 409.4 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.2261, allocations: 1.188 MB / 410.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008962/0.227, allocations: 124 kB / 410.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.2303, allocations: 1.034 MB / 411.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.233, allocations: 1.371 MB / 413.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.2342, allocations: 0.7298 MB / 413.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00822/0.2425, allocations: 4.716 MB / 418.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2425, allocations: 0 / 418.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.245e-06/0.2426, allocations: 0 / 418.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002069/0.2428, allocations: 7.875 kB / 418.6 MB, free: 14.32 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.01054/0.2533, allocations: 3.46 MB / 422.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2534, allocations: 8.031 kB / 422.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002042/0.2555, allocations: 0.6873 MB / 422.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03963/0.2951, allocations: 6.409 MB / 429.2 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008668/0.3038, allocations: 2.513 MB / 431.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.3042, allocations: 172.4 kB / 431.9 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.3064, allocations: 311.6 kB / 432.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.299/0.6055, allocations: 10.78 MB / 442.9 MB, free: 53.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.6057, allocations: 25.52 kB / 443 MB, free: 53.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007609/0.6065, allocations: 113 kB / 443.1 MB, free: 53.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007053/0.6135, allocations: 2.461 MB / 445.5 MB, free: 52.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03095/0.6445, allocations: 10.23 MB / 455.8 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06876/0.7133, allocations: 35.72 MB / 491.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/0.7317, allocations: 5.597 MB / 497.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/0.7338, allocations: 1.873 MB / 499 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.7339, allocations: 60.45 kB / 499 MB, free: 2.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=224): time 6.171e-06/0.7339, allocations: 0 / 499 MB, free: 2.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=231): time 0.06254/0.7965, allocations: 15.53 MB / 0.5025 GB, free: 3.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001989/0.7985, allocations: 1.531 MB / 0.504 GB, free: 1.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/0.8054, allocations: 2.994 MB / 0.5069 GB, free: 14.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006564/0.8061, allocations: 60.61 kB / 0.507 GB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.809, allocations: 2.676 MB / 0.5096 GB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001547/0.8106, allocations: 0.8509 MB / 0.5104 GB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/0.8112, allocations: 109.4 kB / 0.5105 GB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004677/0.8116, allocations: 0.5452 MB / 0.511 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/0.8234, allocations: 2.603 MB / 0.5136 GB, free: 7.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/0.8356, allocations: 5.566 MB / 0.519 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.8458, allocations: 3.786 MB / 0.5227 GB, free: 12.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.8459, allocations: 36 kB / 0.5227 GB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.1398/0.9857, allocations: 18.94 MB / 0.5412 GB, free: 9.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.9859, allocations: 52.83 kB / 0.5413 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08889/1.075, allocations: 12 MB / 0.553 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1148/1.19, allocations: 10.29 MB / 0.5631 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/1.201, allocations: 1.298 MB / 0.5643 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05744/1.259, allocations: 17.28 MB / 0.5812 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007533/1.266, allocations: 432.2 kB / 0.5816 GB, free: 92 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3046/1.571, allocations: 319.4 kB / 0.5819 GB, free: 134.6 MB / 426.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.005689/1.577, allocations: 2.009 MB / 0.5839 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/1.578, allocations: 278 kB / 0.5842 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/1.593, allocations: 5.1 MB / 0.5891 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01428/1.608, allocations: 4.399 MB / 0.5934 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/1.608, allocations: 2.75 kB / 0.5934 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.085e-05/1.608, allocations: 7.875 kB / 0.5934 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/1.642, allocations: 12.93 MB / 0.6061 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.642, allocations: 6.875 kB / 0.6061 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/1.647, allocations: 457.5 kB / 0.6065 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/1.654, allocations: 0.9392 MB / 0.6074 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009021/1.655, allocations: 51.59 kB / 0.6075 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/1.668, allocations: 5.579 MB / 0.6129 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001245/1.669, allocations: 1.474 MB / 0.6144 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/1.687, allocations: 8.35 MB / 0.6225 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009314/1.688, allocations: 340.5 kB / 0.6228 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008107/1.689, allocations: 43.98 kB / 0.6229 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.692, allocations: 200.7 kB / 0.6231 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/1.693, allocations: 141 kB / 0.6232 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.693, allocations: 66.89 kB / 0.6233 GB, free: 116 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00346/1.696, allocations: 1.873 MB / 0.6251 GB, free: 114.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.696, allocations: 0 / 0.6251 GB, free: 114.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006223/1.703, allocations: 1.117 MB / 0.6262 GB, free: 113 MB / 426.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.01978/1.722, allocations: 10.97 MB / 0.6369 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01692/1.739, allocations: 6.542 MB / 0.6433 GB, free: 95.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.739, allocations: 0 / 0.6433 GB, free: 95.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006336/1.746, allocations: 2.52 MB / 0.6458 GB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/1.749, allocations: 343.2 kB / 0.6461 GB, free: 92.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4392/2.188, allocations: 111.1 MB / 0.7546 GB, free: 150.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007627/2.196, allocations: 3.244 MB / 0.7577 GB, free: 149.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009515/2.205, allocations: 2.057 MB / 0.7597 GB, free: 149.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005502/2.211, allocations: 1.667 MB / 0.7614 GB, free: 148.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/2.211, allocations: 0 / 0.7614 GB, free: 148.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2267/2.438, allocations: 80.2 MB / 0.8397 GB, free: 80.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/2.438, allocations: 218.9 kB / 0.8399 GB, free: 80.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.881/7.319, allocations: 0 / 0.8399 GB, free: 80.04 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat