Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion",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.01816/0.01816, allocations: 108.7 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.001855/0.001854, allocations: 180.5 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.079/2.079, allocations: 194.5 MB / 211.2 MB, free: 10.93 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.2898/0.2898, allocations: 40.04 MB / 296.5 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.000503, allocations: 16 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.04132/0.164, allocations: 24.37 MB / 440.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.183, allocations: 6.517 MB / 446.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005012/0.188, allocations: 115.8 kB / 447 MB, free: 3.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.193, allocations: 1.264 MB / 448.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3287/0.5217, allocations: 3.768 MB / 452.1 MB, free: 31.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.5248, allocations: 420.6 kB / 452.5 MB, free: 31.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007777/0.5326, allocations: 2.189 MB / 454.7 MB, free: 31.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005232/0.5379, allocations: 2.2 MB / 456.9 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.54, allocations: 0.8878 MB / 457.7 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.5428, allocations: 1.239 MB / 459 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.5438, allocations: 131.9 kB / 459.1 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.5467, allocations: 0.8887 MB / 460 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.5491, allocations: 1.451 MB / 461.4 MB, free: 31.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.5504, allocations: 0.7704 MB / 462.2 MB, free: 31.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.5574, allocations: 4.914 MB / 467.1 MB, free: 30.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5574, allocations: 1.859 kB / 467.1 MB, free: 30.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5575, allocations: 0 / 467.1 MB, free: 30.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002326/0.5577, allocations: 4 kB / 467.1 MB, free: 30.96 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01038/0.5681, allocations: 3.671 MB / 470.8 MB, free: 29.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5682, allocations: 12.62 kB / 470.8 MB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00243/0.5706, allocations: 0.7212 MB / 471.5 MB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02505/0.5957, allocations: 3.856 MB / 475.4 MB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008183/0.6039, allocations: 2.421 MB / 477.8 MB, free: 28.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.6043, allocations: 189.3 kB / 478 MB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/0.6069, allocations: 340.2 kB / 478.3 MB, free: 28.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/0.638, allocations: 10.81 MB / 489.1 MB, free: 27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.6382, allocations: 27.91 kB / 489.2 MB, free: 27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/0.64, allocations: 126.4 kB / 489.3 MB, free: 27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00758/0.6476, allocations: 2.553 MB / 491.9 MB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/0.6793, allocations: 10.33 MB / 0.4904 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07648/0.7558, allocations: 35.87 MB / 0.5254 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/0.7701, allocations: 4.438 MB / 0.5298 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.7721, allocations: 1.318 MB / 0.5311 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.7721, allocations: 48.56 kB / 0.5311 GB, free: 2.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=245): time 6.642e-06/0.7722, allocations: 0 / 0.5311 GB, free: 2.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=261): time 0.07842/0.8506, allocations: 17.64 MB / 0.5483 GB, free: 500 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001871/0.8525, allocations: 1.545 MB / 0.5498 GB, free: 14.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/0.8592, allocations: 2.967 MB / 0.5527 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008357/0.8601, allocations: 57.7 kB / 0.5528 GB, free: 11.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003508/0.8637, allocations: 2.729 MB / 0.5555 GB, free: 9.023 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002305/0.866, allocations: 0.9579 MB / 0.5564 GB, free: 8.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.8672, allocations: 114.6 kB / 0.5565 GB, free: 7.965 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007524/0.868, allocations: 0.5538 MB / 0.5571 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00771/0.8757, allocations: 2.459 MB / 0.5595 GB, free: 4.938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/0.8861, allocations: 5.459 MB / 0.5648 GB, free: 14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009943/0.8961, allocations: 3.665 MB / 0.5684 GB, free: 10.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/0.8963, allocations: 32 kB / 0.5684 GB, free: 10.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.04219/0.9385, allocations: 9.797 MB / 0.578 GB, free: 0.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.9386, allocations: 56.03 kB / 0.578 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02711/0.9658, allocations: 4.903 MB / 0.5828 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02232/0.9881, allocations: 2.39 MB / 0.5851 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008934/0.9971, allocations: 1.287 MB / 0.5864 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.013, allocations: 6.148 MB / 0.5924 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.02, allocations: 403.1 kB / 0.5928 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.022, allocations: 325.6 kB / 0.5931 GB, free: 0.7188 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (689): * Single equations (assignments): 677 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006628/1.028, allocations: 2.105 MB / 0.5951 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/1.029, allocations: 282.1 kB / 0.5954 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/1.05, allocations: 5.433 MB / 0.6007 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01827/1.068, allocations: 4.68 MB / 0.6053 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.068, allocations: 7.984 kB / 0.6053 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/1.068, allocations: 7.969 kB / 0.6053 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05072/1.119, allocations: 14.73 MB / 0.6197 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/1.119, allocations: 12 kB / 0.6197 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/1.123, allocations: 427.3 kB / 0.6201 GB, free: 4.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008656/1.132, allocations: 1.243 MB / 0.6213 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/1.132, allocations: 67.95 kB / 0.6214 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.344/1.477, allocations: 4.516 MB / 0.6258 GB, free: 152.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001523/1.478, allocations: 1.484 MB / 0.6273 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/1.511, allocations: 8.963 MB / 0.636 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.513, allocations: 346.6 kB / 0.6363 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001839/1.515, allocations: 58.12 kB / 0.6364 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00546/1.52, allocations: 203 kB / 0.6366 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/1.522, allocations: 172.7 kB / 0.6367 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000589/1.522, allocations: 75.52 kB / 0.6368 GB, free: 149.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006254/1.529, allocations: 1.86 MB / 0.6386 GB, free: 149.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.473e-06/1.529, allocations: 0 / 0.6386 GB, free: 149.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01093/1.54, allocations: 1.096 MB / 0.6397 GB, free: 149.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03366/1.573, allocations: 12 MB / 0.6514 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01774/1.591, allocations: 6.505 MB / 0.6578 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/1.591, allocations: 1.281 kB / 0.6578 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009271/1.601, allocations: 2.897 MB / 0.6606 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.604, allocations: 353.2 kB / 0.6609 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/1.713, allocations: 106 MB / 0.7645 GB, free: 44.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007595/1.721, allocations: 3.392 MB / 0.7678 GB, free: 41.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01156/1.733, allocations: 2.115 MB / 0.7699 GB, free: 39.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006348/1.739, allocations: 1.8 MB / 0.7716 GB, free: 37.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.295e-06/1.739, allocations: 0 / 0.7716 GB, free: 37.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5154/2.254, allocations: 73.48 MB / 0.8434 GB, free: 146.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/2.255, allocations: 208.1 kB / 0.8436 GB, free: 146.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.772/7.027, allocations: 0 / 0.8436 GB, free: 146.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat