Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.42 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.2568/0.2568, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002482/0.002483, allocations: 80.16 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3947, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01239/0.4072, allocations: 10.11 MB / 0.5405 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.4148, allocations: 3.081 MB / 0.5435 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.4171, allocations: 56.28 kB / 0.5435 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005601/0.4228, allocations: 2.603 MB / 0.5461 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.4264, allocations: 1.179 MB / 0.5472 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.4275, allocations: 353.2 kB / 0.5476 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004012/0.4315, allocations: 2.537 MB / 0.55 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00375/0.4353, allocations: 2.995 MB / 0.553 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.4372, allocations: 1.052 MB / 0.554 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.4394, allocations: 1.371 MB / 0.5553 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000709/0.4401, allocations: 252 kB / 0.5556 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.4418, allocations: 0.7607 MB / 0.5563 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.4435, allocations: 1.329 MB / 0.5576 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.4458, allocations: 1.553 MB / 0.5591 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006934/0.4528, allocations: 5.128 MB / 0.5641 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.4528, allocations: 0 / 0.5641 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4528, allocations: 0 / 0.5641 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002002/0.4531, allocations: 0 / 0.5641 GB, free: 15.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007918/0.461, allocations: 3.345 MB / 0.5674 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.461, allocations: 8.031 kB / 0.5674 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.4621, allocations: 0.5574 MB / 0.568 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.4675, allocations: 1.629 MB / 0.5695 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.4708, allocations: 1.501 MB / 0.571 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.471, allocations: 184.7 kB / 0.5712 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006122/0.4716, allocations: 227.9 kB / 0.5714 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.4845, allocations: 7.106 MB / 0.5783 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/0.4846, allocations: 15.88 kB / 0.5784 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.485, allocations: 107.9 kB / 0.5785 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.4876, allocations: 1.451 MB / 0.5799 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.5006, allocations: 5.952 MB / 0.5857 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03836/0.539, allocations: 22.34 MB / 0.6075 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005186/0.5442, allocations: 2.199 MB / 0.6096 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.5456, allocations: 0.7659 MB / 0.6104 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007821/0.5534, allocations: 3.861 MB / 0.6142 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.5535, allocations: 47.11 kB / 0.6142 GB, free: 10.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.278e-06/0.5535, allocations: 0 / 0.6142 GB, free: 10.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006875/0.5604, allocations: 2.256 MB / 0.6164 GB, free: 8.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.5605, allocations: 55.97 kB / 0.6165 GB, free: 8.293 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.5641, allocations: 2.06 MB / 0.6185 GB, free: 6.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.5642, allocations: 33.7 kB / 0.6185 GB, free: 6.195 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.5661, allocations: 2.11 MB / 0.6206 GB, free: 4.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.5665, allocations: 361.3 kB / 0.6209 GB, free: 3.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/0.5675, allocations: 0.6512 MB / 0.6216 GB, free: 3.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002888/0.5678, allocations: 365.9 kB / 0.6219 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.5692, allocations: 0.9391 MB / 0.6228 GB, free: 1.742 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.5723, allocations: 2.876 MB / 0.6256 GB, free: 13.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/0.5779, allocations: 4.154 MB / 0.6297 GB, free: 8.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.646e-05/0.578, allocations: 20 kB / 0.6297 GB, free: 8.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007074/0.585, allocations: 3.703 MB / 0.6333 GB, free: 5.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.5851, allocations: 40.03 kB / 0.6334 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.661e-05/0.5852, allocations: 68 kB / 0.6334 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.5853, allocations: 92 kB / 0.6335 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.5875, allocations: 0.6862 MB / 0.6342 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/0.5876, allocations: 135.5 kB / 0.6343 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.5897, allocations: 448.6 kB / 0.6347 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.59, allocations: 196 kB / 0.6349 GB, free: 3.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.002487/0.5925, allocations: 1.507 MB / 0.6364 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.5928, allocations: 178.8 kB / 0.6366 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.5933, allocations: 206.2 kB / 0.6368 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.5933, allocations: 15.98 kB / 0.6368 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.5933, allocations: 0 / 0.6368 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5933, allocations: 7.969 kB / 0.6368 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009077/0.6024, allocations: 4.948 MB / 0.6416 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.6025, allocations: 8 kB / 0.6416 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.603, allocations: 119.8 kB / 0.6417 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.603, allocations: 8 kB / 0.6417 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/0.6031, allocations: 24 kB / 0.6418 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/0.6031, allocations: 15.92 kB / 0.6418 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/0.6031, allocations: 15.94 kB / 0.6418 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.6051, allocations: 1.419 MB / 0.6432 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.6057, allocations: 291.5 kB / 0.6435 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.606, allocations: 23.98 kB / 0.6435 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.6066, allocations: 31.94 kB / 0.6435 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6067, allocations: 71.75 kB / 0.6436 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.602e-05/0.6068, allocations: 43.97 kB / 0.6436 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002514/0.6093, allocations: 1.448 MB / 0.645 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6093, allocations: 0 / 0.645 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003199/0.6126, allocations: 0.7785 MB / 0.6458 GB, free: 7.934 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002713/0.6153, allocations: 2.036 MB / 0.6478 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.6193, allocations: 2.168 MB / 0.6499 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.6193, allocations: 4.125 kB / 0.6499 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.6201, allocations: 0.5013 MB / 0.6504 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.6219, allocations: 268.6 kB / 0.6507 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/0.6669, allocations: 23.22 MB / 0.6733 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004404/0.6714, allocations: 2.514 MB / 0.6758 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002783/0.6742, allocations: 1.02 MB / 0.6768 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.6766, allocations: 1.21 MB / 0.678 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/0.6766, allocations: 4 kB / 0.678 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08431/0.761, allocations: 36.76 MB / 0.7139 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.22, allocations: 0.9844 kB / 0.7139 GB, free: 15.57 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_CutForceAndTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)