Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2302/0.2302, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002542/0.002542, allocations: 86.12 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1375, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01913/0.1567, allocations: 14.98 MB / 495.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.169, allocations: 5.05 MB / 0.4885 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.1716, allocations: 119.6 kB / 0.4886 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.1833, allocations: 5.974 MB / 0.4945 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007693/0.191, allocations: 2.731 MB / 0.4971 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003987/0.1951, allocations: 1.579 MB / 0.4987 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2249/0.42, allocations: 7.777 MB / 0.5063 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.4305, allocations: 7.388 MB / 0.5135 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005863/0.4364, allocations: 2.961 MB / 0.5164 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006346/0.4428, allocations: 3.781 MB / 0.5201 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.4452, allocations: 0.5705 MB / 0.5206 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4495, allocations: 1.392 MB / 0.522 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004201/0.4537, allocations: 3.457 MB / 0.5254 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005136/0.4588, allocations: 3.848 MB / 0.5291 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.4689, allocations: 11.26 MB / 0.5401 GB, free: 2.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.469, allocations: 8.344 kB / 0.5401 GB, free: 2.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.469, allocations: 0 / 0.5401 GB, free: 2.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003734/0.4694, allocations: 0 / 0.5401 GB, free: 2.559 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02179/0.4912, allocations: 8.503 MB / 0.5484 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4912, allocations: 12.03 kB / 0.5484 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005187/0.4964, allocations: 1.166 MB / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5086, allocations: 2.52 MB / 0.552 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.52, allocations: 5.294 MB / 0.5572 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/0.5205, allocations: 424.2 kB / 0.5576 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/0.5227, allocations: 0.5454 MB / 0.5581 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03428/0.557, allocations: 16.68 MB / 0.5744 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.5573, allocations: 72.72 kB / 0.5745 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009022/0.5582, allocations: 266.8 kB / 0.5748 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/0.5628, allocations: 2.926 MB / 0.5776 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02893/0.5918, allocations: 12.77 MB / 0.5901 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08786/0.6797, allocations: 64.3 MB / 0.6529 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/0.6965, allocations: 5.484 MB / 0.6582 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003495/0.7, allocations: 2.118 MB / 0.6603 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.7182, allocations: 9.926 MB / 0.67 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/0.7183, allocations: 55.44 kB / 0.6701 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 5.22e-06/0.7183, allocations: 0 / 0.6701 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=206): time 0.04339/0.7617, allocations: 14.06 MB / 0.6838 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.7619, allocations: 157.2 kB / 0.6839 GB, free: 340 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.7734, allocations: 6.32 MB / 0.6901 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.7738, allocations: 60.2 kB / 0.6902 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004736/0.7785, allocations: 5.083 MB / 0.6951 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.7796, allocations: 0.8178 MB / 0.6959 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002583/0.7822, allocations: 1.65 MB / 0.6975 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7824, allocations: 313.1 kB / 0.6978 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.7862, allocations: 2.288 MB / 0.7001 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008299/0.7945, allocations: 7.638 MB / 0.7075 GB, free: 5.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2534/1.048, allocations: 10.8 MB / 0.7181 GB, free: 174.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002641/1.048, allocations: 54.75 kB / 0.7181 GB, free: 174.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02071/1.069, allocations: 9.568 MB / 0.7275 GB, free: 171.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.069, allocations: 91.03 kB / 0.7276 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000327/1.07, allocations: 191.1 kB / 0.7277 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/1.07, allocations: 253.6 kB / 0.728 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006534/1.076, allocations: 1.901 MB / 0.7298 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003207/1.077, allocations: 370.9 kB / 0.7302 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.083, allocations: 410.4 kB / 0.7306 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/1.085, allocations: 0.5131 MB / 0.7311 GB, free: 171.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.00871/1.094, allocations: 3.292 MB / 0.7343 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/1.095, allocations: 0.5349 MB / 0.7348 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/1.097, allocations: 0.6246 MB / 0.7354 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.801e-05/1.097, allocations: 21.5 kB / 0.7355 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/1.097, allocations: 1.531 kB / 0.7355 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/1.097, allocations: 10.78 kB / 0.7355 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.124, allocations: 16.45 MB / 0.7515 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/1.124, allocations: 40.12 kB / 0.7516 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.125, allocations: 381.2 kB / 0.7519 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.574e-05/1.125, allocations: 62.7 kB / 0.752 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.125, allocations: 80.25 kB / 0.7521 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/1.125, allocations: 82.44 kB / 0.7521 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-05/1.126, allocations: 57.44 kB / 0.7522 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/1.129, allocations: 3.943 MB / 0.756 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.13, allocations: 0.6032 MB / 0.7566 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/1.131, allocations: 98.59 kB / 0.7567 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.132, allocations: 107.2 kB / 0.7568 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.133, allocations: 255.7 kB / 0.7571 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.133, allocations: 106.8 kB / 0.7572 GB, free: 159.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005773/1.139, allocations: 3.946 MB / 0.761 GB, free: 158 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/1.139, allocations: 0 / 0.761 GB, free: 158 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00715/1.146, allocations: 1.306 MB / 0.7623 GB, free: 156.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.003792/1.15, allocations: 4.655 MB / 0.7669 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007996/1.158, allocations: 5.446 MB / 0.7722 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.259e-05/1.158, allocations: 4.312 kB / 0.7722 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.159, allocations: 1.136 MB / 0.7733 GB, free: 145.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/1.165, allocations: 0.8578 MB / 0.7741 GB, free: 145.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08373/1.248, allocations: 78.26 MB / 0.8506 GB, free: 55.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/1.254, allocations: 5.063 MB / 0.8555 GB, free: 50.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005512/1.259, allocations: 2.51 MB / 0.8579 GB, free: 47.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003062/1.262, allocations: 3.288 MB / 0.8612 GB, free: 44.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/1.262, allocations: 0 / 0.8612 GB, free: 44.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3593/1.622, allocations: 96.89 MB / 0.9558 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.93, allocations: 1.438 kB / 0.9558 GB, free: 181.1 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_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_CutForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)