Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.009897/0.009901, allocations: 163.8 kB / 15.12 MB, free: 5.957 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.862/1.862, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001853/0.001852, allocations: 122.4 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.4737/0.4737, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004903, allocations: 23.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3268/0.4332, allocations: 36.81 MB / 448.5 MB, free: 29.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0229/0.4562, allocations: 8.353 MB / 456.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008155/0.4644, allocations: 163.3 kB / 457 MB, free: 25.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006645/0.4711, allocations: 1.817 MB / 458.8 MB, free: 25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02222/0.4934, allocations: 6.276 MB / 465.1 MB, free: 22.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.4977, allocations: 0.5139 MB / 465.6 MB, free: 22.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008525/0.5062, allocations: 4.739 MB / 470.4 MB, free: 20.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009925/0.5162, allocations: 4.302 MB / 474.7 MB, free: 18.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.5196, allocations: 1.24 MB / 475.9 MB, free: 18.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004878/0.5246, allocations: 2.005 MB / 477.9 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.5262, allocations: 163 kB / 478.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.5301, allocations: 0.9286 MB / 479 MB, free: 17.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003623/0.5338, allocations: 1.818 MB / 480.8 MB, free: 16.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.5362, allocations: 0.9332 MB / 481.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.5464, allocations: 6.295 MB / 488.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5465, allocations: 0 / 488.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5465, allocations: 0 / 488.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003233/0.5468, allocations: 1.188 kB / 488.1 MB, free: 11.66 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01699/0.5638, allocations: 4.463 MB / 492.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5639, allocations: 9.875 kB / 492.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003505/0.5674, allocations: 0.8799 MB / 493.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.5884, allocations: 3.292 MB / 496.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008569/0.597, allocations: 2.714 MB / 499.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.5974, allocations: 267.2 kB / 499.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.5994, allocations: 355.7 kB / 0.4883 GB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/0.6371, allocations: 12.53 MB / 0.5005 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.6375, allocations: 35.66 kB / 0.5006 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00162/0.6391, allocations: 163.8 kB / 0.5007 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01148/0.6506, allocations: 2.743 MB / 0.5034 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05056/0.7012, allocations: 11.46 MB / 0.5146 GB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/0.8499, allocations: 40.02 MB / 0.5537 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02494/0.8749, allocations: 4.966 MB / 0.5585 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006094/0.8811, allocations: 2.374 MB / 0.5608 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/0.8998, allocations: 6.481 MB / 0.5672 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.8999, allocations: 52.56 kB / 0.5672 GB, free: 1.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 6.923e-06/0.8999, allocations: 0 / 0.5672 GB, free: 1.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.07203/0.9719, allocations: 16.26 MB / 0.5831 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.9721, allocations: 69.41 kB / 0.5832 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3095/1.282, allocations: 3.161 MB / 0.5863 GB, free: 128.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006232/1.282, allocations: 58.14 kB / 0.5863 GB, free: 128.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/1.286, allocations: 3.281 MB / 0.5895 GB, free: 126.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.288, allocations: 0.8873 MB / 0.5904 GB, free: 126 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007648/1.289, allocations: 122.8 kB / 0.5905 GB, free: 126 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005735/1.289, allocations: 0.5645 MB / 0.5911 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007563/1.297, allocations: 2.386 MB / 0.5934 GB, free: 125.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007463/1.304, allocations: 5.757 MB / 0.599 GB, free: 120.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008093/1.312, allocations: 3.689 MB / 0.6026 GB, free: 118.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-05/1.313, allocations: 35.03 kB / 0.6026 GB, free: 118.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02358/1.336, allocations: 8.931 MB / 0.6114 GB, free: 115.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/1.336, allocations: 59.47 kB / 0.6114 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.337, allocations: 121.8 kB / 0.6115 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006216/1.343, allocations: 1.161 MB / 0.6127 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009265/1.352, allocations: 1.369 MB / 0.614 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.363, allocations: 4.581 MB / 0.6185 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/1.374, allocations: 335.3 kB / 0.6188 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/1.377, allocations: 353.1 kB / 0.6191 GB, free: 112.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.009941/1.386, allocations: 2.415 MB / 0.6215 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.388, allocations: 299.5 kB / 0.6218 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/1.408, allocations: 4.45 MB / 0.6261 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001512/1.409, allocations: 51.88 kB / 0.6262 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.409, allocations: 4.531 kB / 0.6262 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.4e-05/1.409, allocations: 9.328 kB / 0.6262 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04732/1.456, allocations: 10.44 MB / 0.6364 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/1.456, allocations: 4 kB / 0.6364 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00484/1.461, allocations: 382.2 kB / 0.6368 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/1.465, allocations: 0.6784 MB / 0.6374 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005603/1.465, allocations: 47.7 kB / 0.6375 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/1.469, allocations: 2.416 MB / 0.6398 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.469, allocations: 9.438 kB / 0.6398 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/1.485, allocations: 6.784 MB / 0.6465 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.487, allocations: 356.5 kB / 0.6468 GB, free: 96.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.488, allocations: 39.28 kB / 0.6468 GB, free: 96.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.491, allocations: 145.1 kB / 0.647 GB, free: 96.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000632/1.491, allocations: 128.7 kB / 0.6471 GB, free: 96.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.492, allocations: 67.66 kB / 0.6472 GB, free: 96.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004398/1.496, allocations: 1.921 MB / 0.649 GB, free: 94.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.282e-06/1.496, allocations: 112 / 0.649 GB, free: 94.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007402/1.504, allocations: 1.067 MB / 0.6501 GB, free: 93.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,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 (191): * Single equations (assignments): 182 * 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.0169/1.52, allocations: 7.444 MB / 0.6574 GB, free: 86.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01405/1.535, allocations: 5.812 MB / 0.663 GB, free: 80.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.535, allocations: 8.062 kB / 0.663 GB, free: 80.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006599/1.541, allocations: 2.405 MB / 0.6654 GB, free: 78.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.545, allocations: 447.3 kB / 0.6658 GB, free: 78.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07979/1.625, allocations: 34.4 MB / 0.6994 GB, free: 40.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008694/1.634, allocations: 3.817 MB / 0.7031 GB, free: 36.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009162/1.643, allocations: 2.056 MB / 0.7051 GB, free: 34.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005554/1.649, allocations: 2.124 MB / 0.7072 GB, free: 32.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.956e-06/1.649, allocations: 3.938 kB / 0.7072 GB, free: 32.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/2.171, allocations: 75.72 MB / 0.7812 GB, free: 108 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/2.171, allocations: 221.2 kB / 0.7814 GB, free: 107.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.7/7.871, allocations: 0 / 0.7814 GB, free: 107.8 MB / 426.7 MB