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.00137/0.00137, 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.001283/0.001283, 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.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.12 MB / 344.2 MB, free: 11.54 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.002989/0.002989, allocations: 79.7 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1579, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01781/0.1758, allocations: 15 MB / 495.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1873, allocations: 5.037 MB / 0.4885 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.1901, allocations: 119.7 kB / 0.4886 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.202, allocations: 5.981 MB / 0.4945 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008085/0.2101, allocations: 2.731 MB / 0.4971 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.2143, allocations: 1.571 MB / 0.4987 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2199/0.4343, allocations: 7.773 MB / 0.5063 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.4467, allocations: 7.396 MB / 0.5135 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006511/0.4532, allocations: 2.962 MB / 0.5164 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.4596, allocations: 3.782 MB / 0.5201 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003204/0.4628, allocations: 0.5688 MB / 0.5206 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.468, allocations: 1.392 MB / 0.522 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005393/0.4735, allocations: 3.462 MB / 0.5254 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005241/0.4787, allocations: 3.844 MB / 0.5291 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008997/0.4877, allocations: 11.26 MB / 0.5401 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4878, allocations: 0 / 0.5401 GB, free: 2.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4878, allocations: 4 kB / 0.5401 GB, free: 2.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004017/0.4882, allocations: 0 / 0.5401 GB, free: 2.547 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.01965/0.5079, allocations: 8.504 MB / 0.5484 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.5079, allocations: 8.031 kB / 0.5484 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004252/0.5122, allocations: 1.168 MB / 0.5496 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5234, allocations: 2.521 MB / 0.552 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.5345, allocations: 5.283 MB / 0.5572 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.535, allocations: 433.9 kB / 0.5576 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.537, allocations: 0.5414 MB / 0.5581 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/0.5695, allocations: 16.68 MB / 0.5744 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.5697, allocations: 68.06 kB / 0.5745 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008264/0.5705, allocations: 266.4 kB / 0.5747 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004622/0.5751, allocations: 2.932 MB / 0.5776 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02969/0.6048, allocations: 12.79 MB / 0.5901 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09573/0.7006, allocations: 64.29 MB / 0.6529 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/0.7178, allocations: 5.485 MB / 0.6582 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/0.7215, allocations: 2.126 MB / 0.6603 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02061/0.7422, allocations: 9.916 MB / 0.67 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.7423, allocations: 55.88 kB / 0.6701 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 5.129e-06/0.7423, allocations: 2.156 kB / 0.6701 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=206): time 0.04263/0.7849, allocations: 14.06 MB / 0.6838 GB, free: 452 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.785, allocations: 147.1 kB / 0.6839 GB, free: 272 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/0.7961, allocations: 6.318 MB / 0.6901 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.7964, allocations: 60.52 kB / 0.6902 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004236/0.8007, allocations: 5.081 MB / 0.6951 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.8018, allocations: 0.8183 MB / 0.6959 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/0.8041, allocations: 1.66 MB / 0.6975 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8043, allocations: 305.1 kB / 0.6978 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/0.8082, allocations: 2.288 MB / 0.7001 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009716/0.8179, allocations: 7.641 MB / 0.7075 GB, free: 5.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2608/1.079, allocations: 10.81 MB / 0.7181 GB, free: 174.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002421/1.079, allocations: 54.31 kB / 0.7181 GB, free: 174.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02234/1.101, allocations: 9.566 MB / 0.7275 GB, free: 171.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003605/1.102, allocations: 90.78 kB / 0.7276 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007104/1.103, allocations: 190.6 kB / 0.7277 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006835/1.103, allocations: 248.2 kB / 0.728 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008166/1.111, allocations: 1.898 MB / 0.7298 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/1.112, allocations: 376.5 kB / 0.7302 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007137/1.12, allocations: 410.4 kB / 0.7306 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.121, allocations: 0.5112 MB / 0.7311 GB, free: 171 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.006173/1.127, allocations: 3.288 MB / 0.7343 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.128, allocations: 0.5307 MB / 0.7348 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.13, allocations: 0.6231 MB / 0.7354 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/1.13, allocations: 23.44 kB / 0.7354 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.13, allocations: 0 / 0.7354 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/1.13, allocations: 10.89 kB / 0.7355 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/1.159, allocations: 16.46 MB / 0.7515 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.2e-05/1.159, allocations: 39.12 kB / 0.7516 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.16, allocations: 387.6 kB / 0.7519 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.259e-05/1.16, allocations: 55.28 kB / 0.752 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/1.16, allocations: 80.19 kB / 0.7521 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.54e-05/1.16, allocations: 73.39 kB / 0.7521 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-05/1.16, allocations: 65.48 kB / 0.7522 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/1.164, allocations: 3.942 MB / 0.756 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.166, allocations: 0.6062 MB / 0.7566 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.167, allocations: 92.12 kB / 0.7567 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/1.169, allocations: 101.2 kB / 0.7568 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.169, allocations: 266.9 kB / 0.7571 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.17, allocations: 102.8 kB / 0.7572 GB, free: 159.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007251/1.177, allocations: 3.957 MB / 0.761 GB, free: 157.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.31e-07/1.177, allocations: 0 / 0.761 GB, free: 157.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008647/1.186, allocations: 1.308 MB / 0.7623 GB, free: 156.5 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.006126/1.192, allocations: 4.651 MB / 0.7669 GB, free: 151.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008712/1.201, allocations: 5.445 MB / 0.7722 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.032e-05/1.201, allocations: 4 kB / 0.7722 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/1.202, allocations: 1.133 MB / 0.7733 GB, free: 145.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007243/1.209, allocations: 0.8587 MB / 0.7741 GB, free: 145.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09362/1.303, allocations: 78.26 MB / 0.8505 GB, free: 55.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008246/1.311, allocations: 5.062 MB / 0.8555 GB, free: 50.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006905/1.318, allocations: 2.514 MB / 0.8579 GB, free: 47.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004618/1.323, allocations: 3.276 MB / 0.8611 GB, free: 44.31 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/1.323, allocations: 8 kB / 0.8612 GB, free: 44.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3893/1.712, allocations: 96.89 MB / 0.9558 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.83, allocations: 10.33 kB / 0.9558 GB, free: 181.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1)