Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Forces.Force,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Force",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.0119/0.0119, allocations: 162 kB / 15.11 MB, free: 6.035 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.745/1.745, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001722/0.001722, allocations: 98.78 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.4615/0.4615, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006321, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3671/0.474, allocations: 78.26 MB / 490 MB, free: 1.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04932/0.5234, allocations: 15.78 MB / 0.4939 GB, free: 6.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0185/0.5419, allocations: 369.7 kB / 0.4942 GB, free: 6.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.557, allocations: 3.842 MB / 0.498 GB, free: 5.566 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04657/0.6037, allocations: 13.06 MB / 0.5108 GB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007085/0.6108, allocations: 0.9139 MB / 0.5116 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06465/0.6755, allocations: 29.63 MB / 0.5406 GB, free: 14.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/0.692, allocations: 7.408 MB / 0.5478 GB, free: 7.016 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/0.6971, allocations: 1.946 MB / 0.5497 GB, free: 5.062 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007388/0.7046, allocations: 3.143 MB / 0.5528 GB, free: 1.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.7064, allocations: 228 kB / 0.553 GB, free: 1.688 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.7111, allocations: 1.061 MB / 0.554 GB, free: 0.625 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.7162, allocations: 2.778 MB / 0.5567 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.7193, allocations: 1.31 MB / 0.558 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.7336, allocations: 8.708 MB / 0.5665 GB, free: 3.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.7337, allocations: 0 / 0.5665 GB, free: 3.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7337, allocations: 7.938 kB / 0.5665 GB, free: 3.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003611/0.7341, allocations: 0 / 0.5665 GB, free: 3.785 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02535/0.7594, allocations: 6.763 MB / 0.5731 GB, free: 12.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.7595, allocations: 8.031 kB / 0.5732 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003963/0.7635, allocations: 1.091 MB / 0.5742 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08465/0.8482, allocations: 6.376 MB / 0.5804 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02418/0.8725, allocations: 5.18 MB / 0.5855 GB, free: 180 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2876/1.16, allocations: 373.7 kB / 0.5859 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/1.163, allocations: 496.4 kB / 0.5863 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04318/1.206, allocations: 15.62 MB / 0.6016 GB, free: 124.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.206, allocations: 66.39 kB / 0.6016 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/1.208, allocations: 237.8 kB / 0.6019 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006351/1.214, allocations: 2.776 MB / 0.6046 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03963/1.254, allocations: 13.1 MB / 0.6174 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.358, allocations: 60.51 MB / 0.6765 GB, free: 66.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03106/1.389, allocations: 7.499 MB / 0.6838 GB, free: 59.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007463/1.396, allocations: 4.021 MB / 0.6877 GB, free: 54.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02433/1.421, allocations: 9.619 MB / 0.6971 GB, free: 45.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/1.421, allocations: 68.55 kB / 0.6972 GB, free: 45.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=273): time 6.512e-06/1.421, allocations: 0 / 0.6972 GB, free: 45.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=315): time 0.1378/1.559, allocations: 32.81 MB / 0.7292 GB, free: 12.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/1.559, allocations: 243.9 kB / 0.7294 GB, free: 11.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/1.573, allocations: 6.849 MB / 0.7361 GB, free: 4.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008423/1.574, allocations: 73.7 kB / 0.7362 GB, free: 4.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004106/1.578, allocations: 4.655 MB / 0.7408 GB, free: 268 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.58, allocations: 1.189 MB / 0.7419 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.582, allocations: 176 kB / 0.7421 GB, free: 14.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009317/1.583, allocations: 0.686 MB / 0.7428 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/1.593, allocations: 3.648 MB / 0.7463 GB, free: 10.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3117/1.905, allocations: 8.783 MB / 0.7549 GB, free: 122.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.92, allocations: 5.527 MB / 0.7603 GB, free: 122.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/1.92, allocations: 53.84 kB / 0.7603 GB, free: 122.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03921/1.959, allocations: 13.74 MB / 0.7738 GB, free: 118.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/1.959, allocations: 87.88 kB / 0.7738 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003333/1.96, allocations: 183.9 kB / 0.774 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/1.968, allocations: 1.793 MB / 0.7758 GB, free: 118.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/1.981, allocations: 2.1 MB / 0.7778 GB, free: 118.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/2.005, allocations: 11.87 MB / 0.7894 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.016, allocations: 0.517 MB / 0.7899 GB, free: 111.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.018, allocations: 0.5261 MB / 0.7904 GB, free: 111.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1079): * Single equations (assignments): 1072 * Array equations: 5 * 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: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009067/2.027, allocations: 3.142 MB / 0.7935 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/2.029, allocations: 0.5823 MB / 0.7941 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02285/2.052, allocations: 7.013 MB / 0.8009 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-05/2.052, allocations: 31.86 kB / 0.8009 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/2.052, allocations: 7.656 kB / 0.8009 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.732e-05/2.052, allocations: 18.25 kB / 0.801 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04708/2.099, allocations: 15.51 MB / 0.8161 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.344e-05/2.099, allocations: 12.09 kB / 0.8161 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005476/2.105, allocations: 0.5562 MB / 0.8167 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006924/2.112, allocations: 1.508 MB / 0.8181 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007811/2.113, allocations: 63.14 kB / 0.8182 GB, free: 100.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/2.135, allocations: 11.08 MB / 0.829 GB, free: 89.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/2.135, allocations: 8 kB / 0.829 GB, free: 89.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02712/2.162, allocations: 11.39 MB / 0.8401 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/2.167, allocations: 1.173 MB / 0.8413 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001988/2.169, allocations: 52 kB / 0.8413 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005755/2.175, allocations: 221.3 kB / 0.8416 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.176, allocations: 193.9 kB / 0.8417 GB, free: 76.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003472/2.176, allocations: 81.41 kB / 0.8418 GB, free: 76.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01041/2.187, allocations: 4.39 MB / 0.8461 GB, free: 72.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.187, allocations: 4 kB / 0.8461 GB, free: 72.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01071/2.197, allocations: 1.635 MB / 0.8477 GB, free: 70.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (260): * Single equations (assignments): 255 * Array equations: 3 * 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: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0289/2.226, allocations: 12.08 MB / 0.8595 GB, free: 58.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0197/2.246, allocations: 8.922 MB / 0.8682 GB, free: 49.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.246, allocations: 0.5 kB / 0.8682 GB, free: 49.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009754/2.256, allocations: 3.565 MB / 0.8717 GB, free: 45.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00843/2.264, allocations: 0.7475 MB / 0.8724 GB, free: 45.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.436/2.7, allocations: 65.89 MB / 0.9368 GB, free: 132.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009504/2.71, allocations: 4.926 MB / 0.9416 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01264/2.723, allocations: 2.946 MB / 0.9445 GB, free: 131.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007314/2.73, allocations: 3.14 MB / 0.9475 GB, free: 130.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.283e-06/2.73, allocations: 0 / 0.9475 GB, free: 130.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.273/3.003, allocations: 131.6 MB / 1.076 GB, free: 24.47 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/3.003, allocations: 198.8 kB / 1.076 GB, free: 24.22 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/11.31, allocations: 0 / 1.076 GB, free: 24.22 MB / 458.7 MB