Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce",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.0142/0.01421, allocations: 163.1 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.839/1.839, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001744/0.001743, allocations: 102.8 kB / 226.2 MB, free: 10.08 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.4567/0.4567, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007031/0.0007034, allocations: 8 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1303, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4169/0.5473, allocations: 87.76 MB / 499.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05633/0.6037, allocations: 17.58 MB / 0.5049 GB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02054/0.6243, allocations: 424.2 kB / 0.5053 GB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.6408, allocations: 4.353 MB / 0.5096 GB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07328/0.7142, allocations: 14.86 MB / 0.5241 GB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01215/0.7264, allocations: 1.271 MB / 0.5253 GB, free: 14.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02357/0.75, allocations: 9.481 MB / 0.5346 GB, free: 4.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02033/0.7704, allocations: 9.201 MB / 0.5436 GB, free: 11.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006462/0.7769, allocations: 2.518 MB / 0.546 GB, free: 8.785 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00878/0.7858, allocations: 3.86 MB / 0.5498 GB, free: 4.914 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.788, allocations: 284 kB / 0.5501 GB, free: 4.637 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004697/0.7927, allocations: 0.9869 MB / 0.551 GB, free: 3.648 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00647/0.7992, allocations: 3.378 MB / 0.5543 GB, free: 268 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00356/0.8028, allocations: 1.536 MB / 0.5558 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.8221, allocations: 10.06 MB / 0.5657 GB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.8221, allocations: 3.938 kB / 0.5657 GB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.8222, allocations: 4 kB / 0.5657 GB, free: 4.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005465/0.8227, allocations: 0 / 0.5657 GB, free: 4.625 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03417/0.8569, allocations: 7.728 MB / 0.5732 GB, free: 12.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.857, allocations: 12.03 kB / 0.5732 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006352/0.8634, allocations: 1.314 MB / 0.5745 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02328/0.8867, allocations: 2.766 MB / 0.5772 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/0.9082, allocations: 6.453 MB / 0.5835 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007002/0.9089, allocations: 467.5 kB / 0.584 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002769/0.9117, allocations: 0.5894 MB / 0.5845 GB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5903/1.502, allocations: 18.72 MB / 0.6028 GB, free: 120.3 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003978/1.503, allocations: 72.47 kB / 0.6029 GB, free: 120.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002515/1.505, allocations: 285.6 kB / 0.6032 GB, free: 120.1 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008911/1.514, allocations: 3.44 MB / 0.6065 GB, free: 119.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04965/1.564, allocations: 14.56 MB / 0.6207 GB, free: 115 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1296/1.693, allocations: 70.34 MB / 0.6894 GB, free: 50.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/1.724, allocations: 6.133 MB / 0.6954 GB, free: 44.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008706/1.733, allocations: 2.445 MB / 0.6978 GB, free: 41.7 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03974/1.772, allocations: 10.83 MB / 0.7084 GB, free: 30.47 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.772, allocations: 60.55 kB / 0.7084 GB, free: 30.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=238): time 7.854e-06/1.773, allocations: 7.938 kB / 0.7085 GB, free: 30.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=262): time 0.07679/1.849, allocations: 16.03 MB / 0.7241 GB, free: 14.4 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.849, allocations: 158.5 kB / 0.7243 GB, free: 14.22 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.863, allocations: 6.626 MB / 0.7307 GB, free: 7.605 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005116/1.864, allocations: 65.7 kB / 0.7308 GB, free: 7.535 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004587/1.868, allocations: 5.529 MB / 0.7362 GB, free: 2.008 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.87, allocations: 1.017 MB / 0.7372 GB, free: 1 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008612/1.871, allocations: 176 kB / 0.7374 GB, free: 0.8281 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005622/1.871, allocations: 0.7012 MB / 0.738 GB, free: 124 kB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00828/1.88, allocations: 2.583 MB / 0.7406 GB, free: 13.53 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/1.894, allocations: 8.283 MB / 0.7487 GB, free: 2.414 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3111/2.205, allocations: 4.45 MB / 0.753 GB, free: 120.1 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002337/2.205, allocations: 58.25 kB / 0.7531 GB, free: 120.1 MB / 442.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02971/2.235, allocations: 10.54 MB / 0.7633 GB, free: 118.2 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/2.235, allocations: 93.25 kB / 0.7634 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000406/2.236, allocations: 202.1 kB / 0.7636 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/2.236, allocations: 294.1 kB / 0.7639 GB, free: 118.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/2.249, allocations: 2.113 MB / 0.766 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/2.249, allocations: 395.7 kB / 0.7663 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/2.259, allocations: 454.9 kB / 0.7668 GB, free: 117.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/2.26, allocations: 0.5491 MB / 0.7673 GB, free: 117.7 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1136): * Single equations (assignments): 1125 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008993/2.269, allocations: 3.61 MB / 0.7708 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.271, allocations: 0.5734 MB / 0.7714 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/2.279, allocations: 2.782 MB / 0.7741 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.976e-05/2.279, allocations: 31.3 kB / 0.7742 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/2.279, allocations: 0 / 0.7742 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/2.279, allocations: 18.56 kB / 0.7742 GB, free: 115.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05971/2.339, allocations: 26.53 MB / 0.8001 GB, free: 105.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001864/2.339, allocations: 52.84 kB / 0.8001 GB, free: 105.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/2.343, allocations: 0.5206 MB / 0.8006 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/2.343, allocations: 85.42 kB / 0.8007 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003452/2.344, allocations: 121.4 kB / 0.8008 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.97e-05/2.344, allocations: 104.4 kB / 0.8009 GB, free: 105.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.422e-05/2.344, allocations: 85.44 kB / 0.801 GB, free: 105 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008861/2.353, allocations: 5.216 MB / 0.8061 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/2.355, allocations: 0.6815 MB / 0.8068 GB, free: 100.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001873/2.357, allocations: 127.1 kB / 0.8069 GB, free: 100.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0048/2.362, allocations: 141.5 kB / 0.807 GB, free: 100.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008439/2.363, allocations: 353.7 kB / 0.8074 GB, free: 100.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/2.363, allocations: 153.8 kB / 0.8075 GB, free: 100.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01102/2.374, allocations: 4.126 MB / 0.8115 GB, free: 97.35 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.02e-07/2.374, allocations: 0 / 0.8115 GB, free: 97.35 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01093/2.385, allocations: 1.491 MB / 0.813 GB, free: 95.86 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * Number of states: 0 () * 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 (273): * Single equations (assignments): 270 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01014/2.395, allocations: 5.966 MB / 0.8188 GB, free: 89.39 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01442/2.41, allocations: 6.039 MB / 0.8247 GB, free: 84.09 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.293e-05/2.41, allocations: 12.25 kB / 0.8247 GB, free: 84.08 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00365/2.414, allocations: 1.487 MB / 0.8262 GB, free: 82.79 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009967/2.424, allocations: 0.9145 MB / 0.8271 GB, free: 82.02 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1557/2.579, allocations: 61.18 MB / 0.8868 GB, free: 15.51 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01833/2.598, allocations: 5.74 MB / 0.8924 GB, free: 9.742 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01941/2.617, allocations: 2.769 MB / 0.8951 GB, free: 6.969 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01045/2.628, allocations: 3.643 MB / 0.8987 GB, free: 3.324 MB / 442.8 MB Notification: Performance of SimCode: time 2.174e-06/2.628, allocations: 3.391 kB / 0.8987 GB, free: 3.324 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5755/3.203, allocations: 116.6 MB / 1.013 GB, free: 63.86 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/3.204, allocations: 179 kB / 1.013 GB, free: 63.62 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/10.87, allocations: 0 / 1.013 GB, free: 63.62 MB / 458.8 MB