Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.224/0.224, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002464/0.002464, allocations: 80.23 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1372, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01186/0.1491, allocations: 9.526 MB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.1557, allocations: 2.92 MB / 492.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.1575, allocations: 47.94 kB / 492.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.1617, allocations: 1.994 MB / 494.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.1647, allocations: 1.108 MB / 495.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.1655, allocations: 291.4 kB / 496.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.1694, allocations: 2.33 MB / 498.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.1726, allocations: 2.309 MB / 0.489 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.1744, allocations: 0.88 MB / 0.4898 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1763, allocations: 1.153 MB / 0.491 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004388/0.1768, allocations: 192 kB / 0.4912 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1782, allocations: 0.6943 MB / 0.4918 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.1794, allocations: 1.11 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1808, allocations: 1.301 MB / 0.4942 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004924/0.1857, allocations: 4.163 MB / 0.4982 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1858, allocations: 0 / 0.4982 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1858, allocations: 0 / 0.4982 GB, free: 6.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.1859, allocations: 3.938 kB / 0.4983 GB, free: 6.977 MB / 382.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.00568/0.1916, allocations: 2.861 MB / 0.501 GB, free: 4.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.1917, allocations: 12.03 kB / 0.5011 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000838/0.1925, allocations: 487 kB / 0.5015 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/0.198, allocations: 1.557 MB / 0.503 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.2014, allocations: 1.32 MB / 0.5043 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.2016, allocations: 151.8 kB / 0.5045 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005003/0.2021, allocations: 183.9 kB / 0.5047 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2137/0.4158, allocations: 6.238 MB / 0.5107 GB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.4159, allocations: 14.33 kB / 0.5108 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.4161, allocations: 87.78 kB / 0.5108 GB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/0.4182, allocations: 1.346 MB / 0.5122 GB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.429, allocations: 5.33 MB / 0.5174 GB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.4547, allocations: 20.13 MB / 0.537 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.4581, allocations: 2.083 MB / 0.539 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.4588, allocations: 0.694 MB / 0.5397 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004369/0.4632, allocations: 3.488 MB / 0.5431 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.4632, allocations: 43 kB / 0.5432 GB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.946e-06/0.4632, allocations: 0.875 kB / 0.5432 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00446/0.4677, allocations: 1.962 MB / 0.5451 GB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.4677, allocations: 63.78 kB / 0.5452 GB, free: 12.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4696, allocations: 1.937 MB / 0.547 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.4696, allocations: 37.69 kB / 0.5471 GB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.4703, allocations: 1.84 MB / 0.5489 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4704, allocations: 312 kB / 0.5492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005368/0.471, allocations: 0.6151 MB / 0.5498 GB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.471, allocations: 365.9 kB / 0.5501 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/0.4719, allocations: 0.8842 MB / 0.551 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4734, allocations: 2.744 MB / 0.5537 GB, free: 2.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.4771, allocations: 3.979 MB / 0.5576 GB, free: 13.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/0.4771, allocations: 20 kB / 0.5576 GB, free: 13.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005625/0.4828, allocations: 3.52 MB / 0.561 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.4828, allocations: 35.94 kB / 0.561 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.169e-05/0.4829, allocations: 68 kB / 0.5611 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.483, allocations: 91.94 kB / 0.5612 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.4849, allocations: 0.6511 MB / 0.5618 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/0.485, allocations: 131.5 kB / 0.562 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4868, allocations: 419.5 kB / 0.5624 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.487, allocations: 188 kB / 0.5625 GB, free: 8.52 MB / 398.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.001897/0.4889, allocations: 1.346 MB / 0.5638 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4892, allocations: 157.9 kB / 0.564 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.4895, allocations: 188.9 kB / 0.5642 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4895, allocations: 8 kB / 0.5642 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4895, allocations: 4 kB / 0.5642 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.4895, allocations: 7.922 kB / 0.5642 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.4958, allocations: 4.073 MB / 0.5682 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4959, allocations: 8 kB / 0.5682 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.4963, allocations: 100.7 kB / 0.5683 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.4963, allocations: 11.94 kB / 0.5683 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.4964, allocations: 16.69 kB / 0.5683 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.4964, allocations: 8 kB / 0.5683 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.4964, allocations: 11.94 kB / 0.5683 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.498, allocations: 1.239 MB / 0.5695 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.4983, allocations: 242.8 kB / 0.5698 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4985, allocations: 29.92 kB / 0.5698 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.499, allocations: 23.97 kB / 0.5698 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4991, allocations: 55.83 kB / 0.5699 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.4992, allocations: 31.98 kB / 0.5699 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00193/0.5011, allocations: 1.263 MB / 0.5711 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5011, allocations: 0 / 0.5711 GB, free: 15.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002739/0.5039, allocations: 0.6856 MB / 0.5718 GB, free: 14.77 MB / 414.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.002139/0.506, allocations: 1.846 MB / 0.5736 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.5096, allocations: 2.242 MB / 0.5758 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.5096, allocations: 8.188 kB / 0.5758 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.5102, allocations: 460.1 kB / 0.5762 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.5115, allocations: 242.1 kB / 0.5765 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/0.5457, allocations: 22.01 MB / 0.598 GB, free: 0.957 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/0.5485, allocations: 2.267 MB / 0.6002 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002441/0.551, allocations: 0.9554 MB / 0.6011 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/0.5524, allocations: 1.03 MB / 0.6021 GB, free: 12.67 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5524, allocations: 0 / 0.6021 GB, free: 12.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07092/0.6234, allocations: 31.97 MB / 0.6333 GB, free: 12.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/9.518, allocations: 25.22 kB / 0.6334 GB, free: 12.81 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_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_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)