Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce2",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.00997/0.00997, allocations: 162.4 kB / 15.11 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.767/1.767, allocations: 170.8 MB / 186.7 MB, free: 1.02 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.001775/0.001775, allocations: 106.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.4452/0.4452, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005137, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.3594/0.4704, allocations: 33.38 MB / 445.1 MB, free: 29.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.49, allocations: 7.011 MB / 452.1 MB, free: 28.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008603/0.4986, allocations: 151 kB / 452.2 MB, free: 28.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006184/0.5049, allocations: 1.66 MB / 453.9 MB, free: 27.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.5238, allocations: 5.648 MB / 459.6 MB, free: 26.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.5263, allocations: 258.7 kB / 459.8 MB, free: 25.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004609/0.531, allocations: 2.784 MB / 462.6 MB, free: 24.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005644/0.5367, allocations: 3.016 MB / 465.6 MB, free: 23.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.5384, allocations: 0.7083 MB / 466.3 MB, free: 23.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.5409, allocations: 1.114 MB / 467.4 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006385/0.5416, allocations: 94.38 kB / 467.5 MB, free: 23.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.5434, allocations: 0.5364 MB / 468.1 MB, free: 23.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.5453, allocations: 1.047 MB / 469.1 MB, free: 22.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008723/0.5462, allocations: 0.543 MB / 469.6 MB, free: 22.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005841/0.5521, allocations: 3.614 MB / 473.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5521, allocations: 2.969 kB / 473.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5522, allocations: 0 / 473.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.5523, allocations: 0 / 473.3 MB, free: 21.36 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007327/0.5597, allocations: 2.551 MB / 475.8 MB, free: 19.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5597, allocations: 8.344 kB / 475.8 MB, free: 19.49 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001812/0.5616, allocations: 0.5103 MB / 476.3 MB, free: 19.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.5717, allocations: 1.645 MB / 478 MB, free: 18.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.5762, allocations: 1.359 MB / 479.3 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.5765, allocations: 157 kB / 479.5 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.5776, allocations: 204.4 kB / 479.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.5948, allocations: 6.748 MB / 486.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-05/0.5949, allocations: 12.72 kB / 486.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006165/0.5956, allocations: 93.72 kB / 486.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/0.5996, allocations: 1.478 MB / 488 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.6162, allocations: 5.777 MB / 493.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/0.6576, allocations: 21.47 MB / 0.5032 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007771/0.6654, allocations: 2.245 MB / 0.5054 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.6675, allocations: 0.7817 MB / 0.5062 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.6785, allocations: 3.743 MB / 0.5098 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.6786, allocations: 35.12 kB / 0.5098 GB, free: 12.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 4.218e-06/0.6786, allocations: 0 / 0.5098 GB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.01023/0.6889, allocations: 2.185 MB / 0.512 GB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.689, allocations: 63.84 kB / 0.512 GB, free: 10.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.6935, allocations: 1.995 MB / 0.514 GB, free: 8.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.6937, allocations: 33.7 kB / 0.514 GB, free: 8.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.6958, allocations: 1.945 MB / 0.5159 GB, free: 6.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000669/0.6965, allocations: 371.3 kB / 0.5163 GB, free: 6.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.6968, allocations: 60 kB / 0.5163 GB, free: 6.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004798/0.6973, allocations: 0.4939 MB / 0.5168 GB, free: 5.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.7002, allocations: 0.947 MB / 0.5177 GB, free: 4.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/0.7049, allocations: 2.884 MB / 0.5205 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.7093, allocations: 1.66 MB / 0.5222 GB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.977e-05/0.7095, allocations: 20 kB / 0.5222 GB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01089/0.7204, allocations: 3.731 MB / 0.5258 GB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.7205, allocations: 36 kB / 0.5259 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.7206, allocations: 68 kB / 0.5259 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.7208, allocations: 100 kB / 0.526 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/0.7253, allocations: 0.7018 MB / 0.5267 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000188/0.7255, allocations: 138.8 kB / 0.5268 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.729, allocations: 451.6 kB / 0.5273 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/0.7297, allocations: 200 kB / 0.5275 GB, free: 9.719 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (388): * Single equations (assignments): 383 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003906/0.7337, allocations: 1.412 MB / 0.5288 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.7341, allocations: 165.8 kB / 0.529 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/0.7374, allocations: 1.196 MB / 0.5302 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-05/0.7375, allocations: 12 kB / 0.5302 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.7375, allocations: 4 kB / 0.5302 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.7375, allocations: 3.984 kB / 0.5302 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.7515, allocations: 4.963 MB / 0.535 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.7515, allocations: 8 kB / 0.535 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7526, allocations: 135.9 kB / 0.5352 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.7527, allocations: 12 kB / 0.5352 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.7527, allocations: 27.98 kB / 0.5352 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-05/0.7528, allocations: 15.94 kB / 0.5352 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.7528, allocations: 19.88 kB / 0.5352 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.756, allocations: 1.506 MB / 0.5367 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006256/0.7566, allocations: 278.4 kB / 0.537 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.7569, allocations: 27.98 kB / 0.537 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.758, allocations: 35.97 kB / 0.537 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.7582, allocations: 71.72 kB / 0.5371 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7583, allocations: 36 kB / 0.5371 GB, free: 15.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003104/0.7614, allocations: 1.296 MB / 0.5384 GB, free: 14.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7615, allocations: 0 / 0.5384 GB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004179/0.7657, allocations: 0.7465 MB / 0.5391 GB, free: 13.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.003929/0.7696, allocations: 2.122 MB / 0.5412 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.7755, allocations: 2.196 MB / 0.5434 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.7755, allocations: 4 kB / 0.5434 GB, free: 8.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.7769, allocations: 0.5417 MB / 0.5439 GB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.7791, allocations: 252.3 kB / 0.5441 GB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/0.8189, allocations: 16.36 MB / 0.5601 GB, free: 6.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004057/0.823, allocations: 2.456 MB / 0.5625 GB, free: 3.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00439/0.8274, allocations: 1.004 MB / 0.5635 GB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/0.8301, allocations: 1.132 MB / 0.5646 GB, free: 1.441 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.8301, allocations: 0 / 0.5646 GB, free: 1.441 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3711/1.201, allocations: 38.59 MB / 0.6023 GB, free: 126.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1.201, allocations: 176.2 kB / 0.6024 GB, free: 125.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/5.319, allocations: 0 / 0.6024 GB, free: 125.8 MB / 426.7 MB