Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.01347/0.01347, allocations: 157.4 kB / 15.12 MB, free: 6.055 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.662/1.662, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001689/0.001689, allocations: 109.9 kB / 226.2 MB, free: 10.09 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.429/0.429, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007201/0.0007202, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1275, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3439/0.4714, allocations: 40.2 MB / 451.9 MB, free: 28.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.4963, allocations: 9.001 MB / 460.9 MB, free: 22.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008974/0.5053, allocations: 184.9 kB / 461.1 MB, free: 22.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007198/0.5125, allocations: 2.003 MB / 463.1 MB, free: 22.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02296/0.5355, allocations: 6.888 MB / 470 MB, free: 19.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.5391, allocations: 0.5091 MB / 470.5 MB, free: 18.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007861/0.547, allocations: 4.591 MB / 475.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008327/0.5554, allocations: 4.171 MB / 479.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.5582, allocations: 1.17 MB / 480.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/0.5627, allocations: 1.91 MB / 482.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.5639, allocations: 153.5 kB / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.5681, allocations: 0.8867 MB / 483.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004535/0.5727, allocations: 1.738 MB / 485.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.5751, allocations: 0.8936 MB / 486 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.5868, allocations: 6.041 MB / 492 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5869, allocations: 1.625 kB / 492 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5869, allocations: 0 / 492 MB, free: 8.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002662/0.5872, allocations: 0 / 492 MB, free: 8.5 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01975/0.607, allocations: 4.326 MB / 496.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.607, allocations: 9.75 kB / 496.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003517/0.6106, allocations: 0.8343 MB / 497.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.638, allocations: 3.265 MB / 0.4887 GB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009898/0.6479, allocations: 2.683 MB / 0.4914 GB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.6483, allocations: 250.3 kB / 0.4916 GB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.6501, allocations: 328.7 kB / 0.4919 GB, free: 328 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.68, allocations: 11.87 MB / 0.5035 GB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.6802, allocations: 27.72 kB / 0.5035 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.6816, allocations: 147.8 kB / 0.5037 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007607/0.6892, allocations: 2.641 MB / 0.5063 GB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03883/0.7281, allocations: 10.95 MB / 0.5169 GB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/0.853, allocations: 37.45 MB / 0.5535 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.867, allocations: 4.413 MB / 0.5578 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005471/0.8725, allocations: 2.15 MB / 0.5599 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001933/0.8745, allocations: 1.315 MB / 0.5612 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/0.8746, allocations: 56.91 kB / 0.5613 GB, free: 7.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 6.542e-06/0.8747, allocations: 0 / 0.5613 GB, free: 7.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.07363/0.9483, allocations: 13.91 MB / 0.5748 GB, free: 9.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.9484, allocations: 73.41 kB / 0.5749 GB, free: 9.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007108/0.9555, allocations: 2.95 MB / 0.5778 GB, free: 6.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/0.9562, allocations: 57.7 kB / 0.5778 GB, free: 6.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003355/0.9596, allocations: 3.104 MB / 0.5809 GB, free: 3.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/0.9613, allocations: 0.9751 MB / 0.5818 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000705/0.962, allocations: 124 kB / 0.582 GB, free: 2.195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000544/0.9625, allocations: 0.5584 MB / 0.5825 GB, free: 1.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2827/1.245, allocations: 2.364 MB / 0.5848 GB, free: 126.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009027/1.254, allocations: 5.653 MB / 0.5903 GB, free: 122.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008946/1.263, allocations: 3.662 MB / 0.5939 GB, free: 121.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/1.264, allocations: 31.22 kB / 0.5939 GB, free: 121.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03147/1.295, allocations: 8.709 MB / 0.6024 GB, free: 119 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/1.295, allocations: 58.12 kB / 0.6025 GB, free: 119 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003387/1.296, allocations: 114.8 kB / 0.6026 GB, free: 119 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/1.306, allocations: 1.058 MB / 0.6036 GB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/1.319, allocations: 1.371 MB / 0.605 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/1.325, allocations: 2.473 MB / 0.6074 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009813/1.335, allocations: 321.6 kB / 0.6077 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/1.337, allocations: 349.2 kB / 0.608 GB, free: 117 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (741): * Single equations (assignments): 732 * 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.009793/1.347, allocations: 2.362 MB / 0.6103 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.348, allocations: 296.9 kB / 0.6106 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/1.367, allocations: 5.084 MB / 0.6156 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/1.367, allocations: 50.23 kB / 0.6156 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.367, allocations: 0 / 0.6156 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/1.367, allocations: 17.72 kB / 0.6156 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03779/1.405, allocations: 11.75 MB / 0.6271 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/1.405, allocations: 7.406 kB / 0.6271 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003821/1.409, allocations: 429.7 kB / 0.6275 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006445/1.415, allocations: 0.9096 MB / 0.6284 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006114/1.416, allocations: 58.41 kB / 0.6285 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/1.419, allocations: 2.274 MB / 0.6307 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.419, allocations: 12.44 kB / 0.6307 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02862/1.448, allocations: 7.532 MB / 0.6381 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.45, allocations: 342.5 kB / 0.6384 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/1.451, allocations: 48 kB / 0.6384 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/1.455, allocations: 138.2 kB / 0.6386 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/1.457, allocations: 162.8 kB / 0.6387 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007165/1.457, allocations: 77.2 kB / 0.6388 GB, free: 103.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008926/1.466, allocations: 1.801 MB / 0.6406 GB, free: 102.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.466, allocations: 0 / 0.6406 GB, free: 102.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01059/1.477, allocations: 1.033 MB / 0.6416 GB, free: 101.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.02659/1.504, allocations: 8.187 MB / 0.6496 GB, free: 93.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01779/1.522, allocations: 6.216 MB / 0.6556 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.522, allocations: 4.062 kB / 0.6556 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007789/1.529, allocations: 2.593 MB / 0.6582 GB, free: 85.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/1.534, allocations: 496.2 kB / 0.6587 GB, free: 84.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07539/1.61, allocations: 34.14 MB / 0.692 GB, free: 47.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006846/1.616, allocations: 3.749 MB / 0.6956 GB, free: 44.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008513/1.625, allocations: 2.145 MB / 0.6977 GB, free: 41.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004715/1.63, allocations: 2.061 MB / 0.6998 GB, free: 39.91 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.63, allocations: 0 / 0.6998 GB, free: 39.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/2.121, allocations: 74.22 MB / 0.7722 GB, free: 130.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/2.122, allocations: 217 kB / 0.7724 GB, free: 129.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.463/7.584, allocations: 3.172 kB / 0.7724 GB, free: 129.9 MB / 442.7 MB