Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00907/0.009075, allocations: 162.8 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.694/1.694, allocations: 170.8 MB / 186.7 MB, free: 1.016 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001748/0.001748, allocations: 107.8 kB / 226.2 MB, free: 10.07 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4826/0.4826, allocations: 38.06 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005138, allocations: 15.94 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1057, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3167/0.4224, allocations: 29.64 MB / 441.4 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.4426, allocations: 6.993 MB / 448.3 MB, free: 29.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006688/0.4493, allocations: 134.9 kB / 448.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.4545, allocations: 1.469 MB / 449.9 MB, free: 28.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0176/0.4721, allocations: 5.16 MB / 455.1 MB, free: 27.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.475, allocations: 443.7 kB / 455.5 MB, free: 27.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006819/0.4818, allocations: 4.301 MB / 459.8 MB, free: 26.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007031/0.4889, allocations: 3.366 MB / 463.2 MB, free: 25.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.4918, allocations: 1.113 MB / 464.3 MB, free: 25.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.496, allocations: 1.82 MB / 466.1 MB, free: 24.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.4972, allocations: 146.9 kB / 466.3 MB, free: 24.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.5008, allocations: 0.8793 MB / 467.2 MB, free: 24.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00319/0.504, allocations: 1.636 MB / 468.8 MB, free: 24.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.5059, allocations: 0.8451 MB / 469.6 MB, free: 23.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008729/0.5146, allocations: 5.598 MB / 475.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5147, allocations: 1.312 kB / 475.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5147, allocations: 0 / 475.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002741/0.515, allocations: 0 / 475.2 MB, free: 20.91 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.01487/0.5299, allocations: 4.076 MB / 479.3 MB, free: 18.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5299, allocations: 9.438 kB / 479.3 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003034/0.533, allocations: 0.7947 MB / 480.1 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/0.5539, allocations: 3.231 MB / 483.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008715/0.5627, allocations: 2.526 MB / 485.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.5631, allocations: 228.2 kB / 486.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.5651, allocations: 301.3 kB / 486.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.5925, allocations: 11.43 MB / 497.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.5927, allocations: 27.72 kB / 497.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008123/0.5935, allocations: 143.8 kB / 498 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00669/0.6002, allocations: 2.625 MB / 0.4889 GB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03751/0.6378, allocations: 10.65 MB / 0.4993 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/0.748, allocations: 36.34 MB / 0.5348 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/0.7626, allocations: 4.408 MB / 0.5391 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005735/0.7683, allocations: 2.15 MB / 0.5412 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.7705, allocations: 1.311 MB / 0.5424 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.7706, allocations: 52.56 kB / 0.5425 GB, free: 10.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 7.854e-06/0.7706, allocations: 0 / 0.5425 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.07624/0.8469, allocations: 13.95 MB / 0.5561 GB, free: 12.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.847, allocations: 73.41 kB / 0.5562 GB, free: 12.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006564/0.8536, allocations: 2.804 MB / 0.5589 GB, free: 9.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006011/0.8542, allocations: 61.7 kB / 0.559 GB, free: 9.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003387/0.8576, allocations: 2.93 MB / 0.5618 GB, free: 6.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001824/0.8595, allocations: 0.9751 MB / 0.5628 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/0.8603, allocations: 112 kB / 0.5629 GB, free: 5.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000588/0.8609, allocations: 0.5541 MB / 0.5634 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006993/0.8679, allocations: 2.338 MB / 0.5657 GB, free: 2.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/0.8814, allocations: 5.483 MB / 0.5711 GB, free: 11.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/0.8947, allocations: 3.583 MB / 0.5746 GB, free: 8.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/0.8949, allocations: 36 kB / 0.5746 GB, free: 8.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.348/1.243, allocations: 8.533 MB / 0.583 GB, free: 120.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.243, allocations: 52.62 kB / 0.583 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003421/1.244, allocations: 108.4 kB / 0.5831 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.254, allocations: 1.054 MB / 0.5841 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/1.267, allocations: 1.332 MB / 0.5854 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006728/1.274, allocations: 2.468 MB / 0.5878 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006884/1.281, allocations: 320.8 kB / 0.5882 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.282, allocations: 336.5 kB / 0.5885 GB, free: 118.9 MB / 426.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.006303/1.289, allocations: 2.259 MB / 0.5907 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/1.289, allocations: 281.5 kB / 0.5909 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0168/1.306, allocations: 5.068 MB / 0.5959 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/1.306, allocations: 46.61 kB / 0.5959 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/1.306, allocations: 12.8 kB / 0.596 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/1.306, allocations: 13.45 kB / 0.596 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03603/1.342, allocations: 11.56 MB / 0.6073 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/1.343, allocations: 6.562 kB / 0.6073 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00403/1.347, allocations: 431.8 kB / 0.6077 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006484/1.353, allocations: 0.9043 MB / 0.6086 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006166/1.354, allocations: 58.44 kB / 0.6086 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/1.358, allocations: 2.274 MB / 0.6108 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-05/1.358, allocations: 12.28 kB / 0.6108 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02218/1.38, allocations: 7.51 MB / 0.6182 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.381, allocations: 328.3 kB / 0.6185 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.382, allocations: 55.38 kB / 0.6185 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.386, allocations: 137.3 kB / 0.6187 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008045/1.386, allocations: 163.5 kB / 0.6188 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.387, allocations: 77.38 kB / 0.6189 GB, free: 110 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004339/1.391, allocations: 1.705 MB / 0.6206 GB, free: 109.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.22e-07/1.391, allocations: 3.562 kB / 0.6206 GB, free: 109.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006899/1.398, allocations: 1.002 MB / 0.6215 GB, free: 109.3 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.02425/1.422, allocations: 8.164 MB / 0.6295 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01819/1.441, allocations: 6.143 MB / 0.6355 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.441, allocations: 0 / 0.6355 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007861/1.449, allocations: 2.594 MB / 0.6381 GB, free: 99.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.453, allocations: 429.2 kB / 0.6385 GB, free: 99.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07881/1.532, allocations: 32.72 MB / 0.6704 GB, free: 65.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006306/1.538, allocations: 3.579 MB / 0.6739 GB, free: 62.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008961/1.547, allocations: 2.089 MB / 0.676 GB, free: 60.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004713/1.552, allocations: 1.968 MB / 0.6779 GB, free: 58.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.552, allocations: 0 / 0.6779 GB, free: 58.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5908/2.143, allocations: 70.55 MB / 0.7468 GB, free: 113.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/2.143, allocations: 212.8 kB / 0.747 GB, free: 113.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.293/7.436, allocations: 1.531 kB / 0.747 GB, free: 113.3 MB / 442.7 MB