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.00148/0.00148, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001586, allocations: 204.7 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.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.43 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.2255/0.2255, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002301/0.002301, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3173, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01168/0.329, allocations: 9.521 MB / 0.5399 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.3353, allocations: 2.925 MB / 0.5428 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3367, allocations: 48.47 kB / 0.5428 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.3406, allocations: 1.993 MB / 0.5447 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.3435, allocations: 1.107 MB / 0.5458 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.3443, allocations: 289.9 kB / 0.5461 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.3476, allocations: 2.331 MB / 0.5484 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.3505, allocations: 2.3 MB / 0.5506 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3517, allocations: 0.8839 MB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.3533, allocations: 1.153 MB / 0.5526 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.3537, allocations: 196 kB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.355, allocations: 0.6942 MB / 0.5535 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3561, allocations: 1.103 MB / 0.5546 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3575, allocations: 1.305 MB / 0.5558 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.3626, allocations: 4.343 MB / 0.5601 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3626, allocations: 0 / 0.5601 GB, free: 3.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3627, allocations: 0 / 0.5601 GB, free: 3.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001023/0.3628, allocations: 4 kB / 0.5601 GB, free: 3.406 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.005425/0.3682, allocations: 2.926 MB / 0.5629 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3683, allocations: 12.03 kB / 0.5629 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006947/0.369, allocations: 483.1 kB / 0.5634 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.3743, allocations: 1.578 MB / 0.5649 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.3773, allocations: 1.34 MB / 0.5663 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3775, allocations: 151.8 kB / 0.5664 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/0.378, allocations: 187.9 kB / 0.5666 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.3886, allocations: 6.238 MB / 0.5727 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/0.3887, allocations: 15.88 kB / 0.5727 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.3889, allocations: 87.89 kB / 0.5728 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.3911, allocations: 1.344 MB / 0.5741 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4013, allocations: 5.334 MB / 0.5793 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.4288, allocations: 20.03 MB / 0.5989 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.4332, allocations: 2.087 MB / 0.6009 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4343, allocations: 0.6978 MB / 0.6016 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006189/0.4405, allocations: 3.492 MB / 0.605 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4405, allocations: 39 kB / 0.605 GB, free: 4.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.857e-06/0.4405, allocations: 4 kB / 0.605 GB, free: 4.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005513/0.4461, allocations: 1.975 MB / 0.607 GB, free: 2.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4461, allocations: 63.83 kB / 0.607 GB, free: 2.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.4489, allocations: 1.938 MB / 0.6089 GB, free: 108 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.449, allocations: 37.69 kB / 0.6089 GB, free: 64 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.4506, allocations: 1.907 MB / 0.6108 GB, free: 14.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.451, allocations: 337.5 kB / 0.6111 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008581/0.4519, allocations: 0.6195 MB / 0.6117 GB, free: 13.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.4521, allocations: 357.9 kB / 0.6121 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4535, allocations: 0.8842 MB / 0.6129 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002884/0.4564, allocations: 2.751 MB / 0.6156 GB, free: 8.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.4613, allocations: 3.973 MB / 0.6195 GB, free: 3.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.241e-05/0.4614, allocations: 24 kB / 0.6195 GB, free: 3.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006052/0.4675, allocations: 3.524 MB / 0.623 GB, free: 15.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.4676, allocations: 40.22 kB / 0.623 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.419e-05/0.4677, allocations: 64 kB / 0.6231 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.913e-05/0.4678, allocations: 88 kB / 0.6231 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.4697, allocations: 0.6589 MB / 0.6238 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001086/0.4698, allocations: 127.5 kB / 0.6239 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.4716, allocations: 432.6 kB / 0.6243 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.4719, allocations: 187.9 kB / 0.6245 GB, free: 14.21 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.001994/0.4739, allocations: 1.35 MB / 0.6258 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.4741, allocations: 162.9 kB / 0.626 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.4745, allocations: 196.9 kB / 0.6262 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.4745, allocations: 8 kB / 0.6262 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4745, allocations: 3.984 kB / 0.6262 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4745, allocations: 0 / 0.6262 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006648/0.4812, allocations: 4.077 MB / 0.6302 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4812, allocations: 4 kB / 0.6302 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.4816, allocations: 95.88 kB / 0.6303 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.4817, allocations: 8 kB / 0.6303 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.4817, allocations: 27.88 kB / 0.6303 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.4817, allocations: 11.98 kB / 0.6303 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.4818, allocations: 12.47 kB / 0.6303 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.4833, allocations: 1.235 MB / 0.6315 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.4837, allocations: 255.7 kB / 0.6318 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.4838, allocations: 23.92 kB / 0.6318 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.4843, allocations: 31.97 kB / 0.6318 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.4844, allocations: 47.77 kB / 0.6319 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.4845, allocations: 31.98 kB / 0.6319 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.4863, allocations: 1.275 MB / 0.6331 GB, free: 5.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4863, allocations: 3.938 kB / 0.6331 GB, free: 5.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002365/0.4887, allocations: 0.689 MB / 0.6338 GB, free: 4.422 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.00206/0.4907, allocations: 1.853 MB / 0.6356 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.4939, allocations: 2.038 MB / 0.6376 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4939, allocations: 4 kB / 0.6376 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.4945, allocations: 464.2 kB / 0.6381 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4957, allocations: 246.3 kB / 0.6383 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/0.5257, allocations: 20.88 MB / 0.6587 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/0.5284, allocations: 2.275 MB / 0.6609 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002074/0.5305, allocations: 0.948 MB / 0.6618 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.5319, allocations: 1.038 MB / 0.6628 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.5319, allocations: 0 / 0.6628 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06705/0.599, allocations: 32.57 MB / 0.6947 GB, free: 3.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.49, allocations: 12.86 kB / 0.6947 GB, free: 3.605 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)