Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.01072/0.01073, allocations: 105.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.1.mo): time 0.001142/0.001142, allocations: 169.1 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.857/1.857, allocations: 170.9 MB / 187.6 MB, free: 1 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.2677/0.2677, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005614, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1263, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.05734/0.1837, allocations: 28.08 MB / 400.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02827/0.212, allocations: 7.247 MB / 407.6 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007481/0.2196, allocations: 135.6 kB / 407.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007022/0.2267, allocations: 1.454 MB / 409.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02068/0.2474, allocations: 4.239 MB / 413.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.2508, allocations: 443.2 kB / 413.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007362/0.2582, allocations: 2.122 MB / 416 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009495/0.2678, allocations: 3.336 MB / 419.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.2702, allocations: 0.9342 MB / 420.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.2737, allocations: 1.289 MB / 421.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000953/0.2748, allocations: 148 kB / 421.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.278, allocations: 0.8504 MB / 422.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.2805, allocations: 1.523 MB / 424.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.2818, allocations: 0.8388 MB / 424.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009223/0.2911, allocations: 5.592 MB / 430.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2911, allocations: 0 / 430.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2912, allocations: 0 / 430.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002103/0.2914, allocations: 0 / 430.5 MB, free: 2.426 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.2889/0.5803, allocations: 4.124 MB / 434.6 MB, free: 54.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.973e-05/0.5804, allocations: 9.25 kB / 434.6 MB, free: 54.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003029/0.5835, allocations: 0.7908 MB / 435.4 MB, free: 54.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02392/0.6074, allocations: 3.797 MB / 439.2 MB, free: 53.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007647/0.6151, allocations: 2.329 MB / 441.6 MB, free: 53.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.6156, allocations: 224.2 kB / 441.8 MB, free: 53.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/0.6177, allocations: 298.2 kB / 442.1 MB, free: 53.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/0.6484, allocations: 11.48 MB / 453.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.6487, allocations: 26.31 kB / 453.6 MB, free: 46.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.6498, allocations: 133.4 kB / 453.7 MB, free: 46.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006696/0.6565, allocations: 2.636 MB / 456.3 MB, free: 44.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/0.6864, allocations: 10.73 MB / 467.1 MB, free: 33.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07495/0.7614, allocations: 36.43 MB / 0.4917 GB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.7754, allocations: 4.404 MB / 0.496 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.7775, allocations: 1.31 MB / 0.4973 GB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.7776, allocations: 52.56 kB / 0.4973 GB, free: 6.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=244): time 7.033e-06/0.7776, allocations: 7.75 kB / 0.4973 GB, free: 6.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=265): time 0.07515/0.8528, allocations: 14.5 MB / 0.5115 GB, free: 7.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.8529, allocations: 73.41 kB / 0.5116 GB, free: 7.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005999/0.8589, allocations: 2.919 MB / 0.5144 GB, free: 4.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006165/0.8596, allocations: 62.41 kB / 0.5145 GB, free: 4.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003184/0.8628, allocations: 2.925 MB / 0.5173 GB, free: 1.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001774/0.8646, allocations: 0.9711 MB / 0.5183 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000625/0.8652, allocations: 113.1 kB / 0.5184 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005297/0.8658, allocations: 0.5502 MB / 0.5189 GB, free: 144 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006478/0.8723, allocations: 2.334 MB / 0.5212 GB, free: 13.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/0.8826, allocations: 5.467 MB / 0.5265 GB, free: 6.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.8975, allocations: 3.589 MB / 0.53 GB, free: 3.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.8977, allocations: 32 kB / 0.5301 GB, free: 3.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02889/0.9266, allocations: 8.536 MB / 0.5384 GB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.9268, allocations: 52 kB / 0.5385 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/0.927, allocations: 108 kB / 0.5386 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008651/0.9357, allocations: 1.063 MB / 0.5396 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/0.9477, allocations: 1.33 MB / 0.5409 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.954, allocations: 2.501 MB / 0.5433 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/0.9621, allocations: 323.8 kB / 0.5436 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/0.9636, allocations: 336 kB / 0.544 GB, free: 4.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (720): * Single equations (assignments): 711 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.008057/0.9717, allocations: 2.254 MB / 0.5462 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.9727, allocations: 284.2 kB / 0.5464 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02354/0.9963, allocations: 5.079 MB / 0.5514 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/0.9965, allocations: 42.66 kB / 0.5514 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/0.9965, allocations: 4 kB / 0.5514 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.937e-05/0.9966, allocations: 15.94 kB / 0.5515 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04032/1.037, allocations: 11.56 MB / 0.5628 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.037, allocations: 8 kB / 0.5628 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004083/1.041, allocations: 431.3 kB / 0.5632 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006434/1.048, allocations: 0.9036 MB / 0.5641 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/1.048, allocations: 65.03 kB / 0.5641 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/1.053, allocations: 2.302 MB / 0.5664 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/1.053, allocations: 11.94 kB / 0.5664 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/1.077, allocations: 8.147 MB / 0.5743 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.078, allocations: 333.4 kB / 0.5746 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.079, allocations: 59.94 kB / 0.5747 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.082, allocations: 138.8 kB / 0.5748 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007876/1.083, allocations: 161.6 kB / 0.575 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/1.083, allocations: 71.98 kB / 0.5751 GB, free: 4.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004644/1.088, allocations: 1.794 MB / 0.5768 GB, free: 2.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.088, allocations: 0 / 0.5768 GB, free: 2.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006763/1.095, allocations: 1.016 MB / 0.5778 GB, free: 1.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.365/1.46, allocations: 10.77 MB / 0.5883 GB, free: 133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01677/1.477, allocations: 6.136 MB / 0.5943 GB, free: 130.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.477, allocations: 1.25 kB / 0.5943 GB, free: 130.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007847/1.485, allocations: 2.599 MB / 0.5968 GB, free: 129.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.488, allocations: 388.4 kB / 0.5972 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09021/1.578, allocations: 108 MB / 0.7027 GB, free: 27.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006375/1.585, allocations: 3.586 MB / 0.7062 GB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008306/1.593, allocations: 2.088 MB / 0.7083 GB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004279/1.597, allocations: 1.964 MB / 0.7102 GB, free: 19.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/1.597, allocations: 0 / 0.7102 GB, free: 19.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4526/2.05, allocations: 71.28 MB / 0.7798 GB, free: 131.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/2.05, allocations: 215.3 kB / 0.78 GB, free: 131.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.064/7.114, allocations: 0 / 0.78 GB, free: 131.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat