Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001417, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2218/0.2218, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 75.88 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3186, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0114/0.33, allocations: 9.521 MB / 0.5399 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006295/0.3364, allocations: 2.924 MB / 0.5427 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3376, allocations: 52.66 kB / 0.5428 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.3415, allocations: 1.998 MB / 0.5447 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3444, allocations: 1.11 MB / 0.5458 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.3453, allocations: 285.5 kB / 0.5461 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.3488, allocations: 2.336 MB / 0.5484 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.3515, allocations: 2.297 MB / 0.5506 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3529, allocations: 0.884 MB / 0.5515 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3544, allocations: 1.149 MB / 0.5526 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.3548, allocations: 196 kB / 0.5528 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.356, allocations: 0.6943 MB / 0.5535 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.357, allocations: 1.099 MB / 0.5545 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.3583, allocations: 1.316 MB / 0.5558 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.3631, allocations: 4.33 MB / 0.5601 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3631, allocations: 0 / 0.5601 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3631, allocations: 0 / 0.5601 GB, free: 3.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.194e-05/0.3632, allocations: 0 / 0.5601 GB, free: 3.457 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004893/0.3681, allocations: 2.942 MB / 0.5629 GB, free: 464 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3681, allocations: 12.03 kB / 0.5629 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005962/0.3687, allocations: 479.1 kB / 0.5634 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.3739, allocations: 1.574 MB / 0.5649 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.3764, allocations: 1.336 MB / 0.5662 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.3766, allocations: 147.8 kB / 0.5664 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.377, allocations: 191.9 kB / 0.5666 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009739/0.3868, allocations: 6.242 MB / 0.5727 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.3869, allocations: 19.88 kB / 0.5727 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.3871, allocations: 83.91 kB / 0.5728 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3892, allocations: 1.344 MB / 0.5741 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.3989, allocations: 5.338 MB / 0.5793 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.4262, allocations: 20.04 MB / 0.5989 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.4306, allocations: 2.083 MB / 0.6009 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.4316, allocations: 0.6937 MB / 0.6016 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005839/0.4375, allocations: 3.496 MB / 0.605 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.4375, allocations: 42.94 kB / 0.605 GB, free: 4.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.4375, allocations: 0 / 0.605 GB, free: 4.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005279/0.4428, allocations: 1.974 MB / 0.607 GB, free: 2.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.4429, allocations: 63.84 kB / 0.607 GB, free: 2.086 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.4455, allocations: 1.942 MB / 0.6089 GB, free: 144 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.4455, allocations: 37.69 kB / 0.6089 GB, free: 100 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.447, allocations: 1.911 MB / 0.6108 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.4473, allocations: 325.5 kB / 0.6111 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/0.448, allocations: 0.6195 MB / 0.6117 GB, free: 13.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4482, allocations: 357.9 kB / 0.6121 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4495, allocations: 0.8881 MB / 0.6129 GB, free: 11.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.4523, allocations: 2.751 MB / 0.6156 GB, free: 8.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/0.4568, allocations: 3.966 MB / 0.6195 GB, free: 3.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.825e-05/0.4569, allocations: 20 kB / 0.6195 GB, free: 3.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00553/0.4624, allocations: 3.527 MB / 0.623 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.4625, allocations: 39.98 kB / 0.623 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.4626, allocations: 64 kB / 0.6231 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.4627, allocations: 88 kB / 0.6231 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.4646, allocations: 0.6511 MB / 0.6238 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.4648, allocations: 135.4 kB / 0.6239 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.4666, allocations: 441.1 kB / 0.6243 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.4669, allocations: 187.9 kB / 0.6245 GB, free: 14.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001973/0.4689, allocations: 1.342 MB / 0.6258 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4692, allocations: 162.9 kB / 0.626 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.4695, allocations: 192.9 kB / 0.6262 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.4695, allocations: 12 kB / 0.6262 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4696, allocations: 4 kB / 0.6262 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.4696, allocations: 3.984 kB / 0.6262 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006363/0.4759, allocations: 4.077 MB / 0.6302 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.476, allocations: 4.75 kB / 0.6302 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.4764, allocations: 99.81 kB / 0.6303 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4764, allocations: 12 kB / 0.6303 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-05/0.4765, allocations: 19.94 kB / 0.6303 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.4765, allocations: 8 kB / 0.6303 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4765, allocations: 11.94 kB / 0.6303 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.478, allocations: 1.243 MB / 0.6315 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.4784, allocations: 255.7 kB / 0.6318 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.4786, allocations: 23.92 kB / 0.6318 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.479, allocations: 27.97 kB / 0.6318 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.4791, allocations: 51.83 kB / 0.6319 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.4792, allocations: 28 kB / 0.6319 GB, free: 6.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.481, allocations: 1.267 MB / 0.6331 GB, free: 5.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.481, allocations: 4 kB / 0.6331 GB, free: 5.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002332/0.4833, allocations: 0.689 MB / 0.6338 GB, free: 4.469 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.4854, allocations: 1.856 MB / 0.6356 GB, free: 2.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.4886, allocations: 2.038 MB / 0.6376 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.4886, allocations: 4 kB / 0.6376 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.4892, allocations: 457.4 kB / 0.638 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.4903, allocations: 249.2 kB / 0.6383 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/0.5191, allocations: 20.88 MB / 0.6587 GB, free: 8.387 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/0.5217, allocations: 2.275 MB / 0.6609 GB, free: 6.082 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002036/0.5237, allocations: 0.9518 MB / 0.6618 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.5251, allocations: 1.038 MB / 0.6628 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of SimCode: time 2.385e-06/0.5251, allocations: 0 / 0.6628 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/0.5905, allocations: 32.57 MB / 0.6946 GB, free: 3.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.23, allocations: 14.58 kB / 0.6947 GB, free: 3.652 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1)