Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, 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.2292/0.2292, allocations: 46.11 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.002249/0.002249, allocations: 70.78 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1245, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01225/0.1368, allocations: 9.509 MB / 489.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.143, allocations: 2.932 MB / 492.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.1442, allocations: 55.88 kB / 492.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.1481, allocations: 2.002 MB / 494.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.151, allocations: 1.098 MB / 495.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.1518, allocations: 295.3 kB / 496.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.1553, allocations: 2.329 MB / 498.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.1582, allocations: 2.309 MB / 0.489 GB, free: 500 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.1594, allocations: 0.884 MB / 0.4899 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.1609, allocations: 1.149 MB / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.1613, allocations: 192 kB / 0.4912 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.1626, allocations: 0.6943 MB / 0.4918 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1636, allocations: 1.107 MB / 0.4929 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.165, allocations: 1.316 MB / 0.4942 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00473/0.1697, allocations: 4.155 MB / 0.4983 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1698, allocations: 0 / 0.4983 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1698, allocations: 0 / 0.4983 GB, free: 6.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.734e-05/0.1698, allocations: 0 / 0.4983 GB, free: 6.965 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.004905/0.1748, allocations: 2.861 MB / 0.5011 GB, free: 4.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1748, allocations: 12.03 kB / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005769/0.1754, allocations: 479.1 kB / 0.5015 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.1807, allocations: 1.557 MB / 0.503 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.1831, allocations: 1.324 MB / 0.5043 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1833, allocations: 147.8 kB / 0.5045 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.1836, allocations: 187.8 kB / 0.5047 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1882/0.3719, allocations: 6.242 MB / 0.5108 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.372, allocations: 13.66 kB / 0.5108 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.3722, allocations: 90 kB / 0.5108 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00195/0.3742, allocations: 1.341 MB / 0.5122 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009919/0.3841, allocations: 5.331 MB / 0.5174 GB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.4062, allocations: 20.12 MB / 0.537 GB, free: 20.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.4097, allocations: 2.087 MB / 0.5391 GB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.4104, allocations: 0.7018 MB / 0.5397 GB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004537/0.415, allocations: 3.483 MB / 0.5431 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.415, allocations: 41.25 kB / 0.5432 GB, free: 14.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.364e-06/0.415, allocations: 0 / 0.5432 GB, free: 14.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004458/0.4195, allocations: 1.97 MB / 0.5451 GB, free: 12.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.4195, allocations: 55.84 kB / 0.5452 GB, free: 12.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.4213, allocations: 1.937 MB / 0.547 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.4213, allocations: 33.7 kB / 0.5471 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/0.422, allocations: 1.844 MB / 0.5489 GB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.4221, allocations: 312 kB / 0.5492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/0.4227, allocations: 0.6151 MB / 0.5498 GB, free: 7.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.4227, allocations: 360.8 kB / 0.5501 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/0.4236, allocations: 0.8881 MB / 0.551 GB, free: 6.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.4251, allocations: 2.755 MB / 0.5537 GB, free: 2.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/0.4286, allocations: 3.973 MB / 0.5576 GB, free: 13.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.4287, allocations: 16 kB / 0.5576 GB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00567/0.4343, allocations: 3.519 MB / 0.561 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.4344, allocations: 32 kB / 0.561 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.429e-05/0.4345, allocations: 68 kB / 0.5611 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.4346, allocations: 84 kB / 0.5612 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4365, allocations: 0.6589 MB / 0.5618 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.4366, allocations: 127.5 kB / 0.562 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4383, allocations: 427.5 kB / 0.5624 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.4386, allocations: 188 kB / 0.5625 GB, free: 8.613 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.001963/0.4406, allocations: 1.342 MB / 0.5638 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.4408, allocations: 157.9 kB / 0.564 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.4411, allocations: 196.9 kB / 0.5642 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/0.4412, allocations: 9.969 kB / 0.5642 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4412, allocations: 0 / 0.5642 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.4412, allocations: 7.922 kB / 0.5642 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/0.448, allocations: 4.073 MB / 0.5682 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.4481, allocations: 4.875 kB / 0.5682 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.4485, allocations: 99.83 kB / 0.5683 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.4485, allocations: 12.69 kB / 0.5683 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4486, allocations: 15.98 kB / 0.5683 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.4486, allocations: 19.94 kB / 0.5683 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4486, allocations: 4 kB / 0.5683 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.4503, allocations: 1.238 MB / 0.5695 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.4507, allocations: 246.7 kB / 0.5698 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.4508, allocations: 19.94 kB / 0.5698 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.4513, allocations: 27.97 kB / 0.5698 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.4514, allocations: 55.81 kB / 0.5699 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.4515, allocations: 28 kB / 0.5699 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001961/0.4534, allocations: 1.271 MB / 0.5711 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4535, allocations: 0 / 0.5711 GB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002587/0.456, allocations: 0.679 MB / 0.5718 GB, free: 14.87 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.002229/0.4583, allocations: 1.853 MB / 0.5736 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4623, allocations: 2.242 MB / 0.5758 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.4624, allocations: 4.125 kB / 0.5758 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.4631, allocations: 468.1 kB / 0.5763 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.4647, allocations: 228.1 kB / 0.5765 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/0.4958, allocations: 22.01 MB / 0.598 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.4983, allocations: 2.271 MB / 0.6002 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00231/0.5007, allocations: 0.9494 MB / 0.6011 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.502, allocations: 1.034 MB / 0.6021 GB, free: 12.76 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.502, allocations: 0 / 0.6021 GB, free: 12.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07527/0.5773, allocations: 31.96 MB / 0.6333 GB, free: 12.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.433, allocations: 17.22 kB / 0.6333 GB, free: 12.91 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1)