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.00131/0.00131, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.45 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.2208/0.2208, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002337/0.002337, allocations: 80.06 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3115, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01237/0.3239, allocations: 9.515 MB / 0.5399 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00653/0.3305, allocations: 2.926 MB / 0.5428 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.3319, allocations: 52.31 kB / 0.5428 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.3359, allocations: 1.99 MB / 0.5447 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.3389, allocations: 1.114 MB / 0.5458 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.3397, allocations: 290.4 kB / 0.5461 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003441/0.3432, allocations: 2.328 MB / 0.5484 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.346, allocations: 2.304 MB / 0.5506 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3475, allocations: 0.8762 MB / 0.5515 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.3493, allocations: 1.153 MB / 0.5526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.3498, allocations: 200 kB / 0.5528 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3512, allocations: 0.6942 MB / 0.5535 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.3524, allocations: 1.103 MB / 0.5546 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.354, allocations: 1.308 MB / 0.5558 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005495/0.3595, allocations: 4.334 MB / 0.5601 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3596, allocations: 0 / 0.5601 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3596, allocations: 0 / 0.5601 GB, free: 3.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001162/0.3597, allocations: 0 / 0.5601 GB, free: 3.434 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.00578/0.3655, allocations: 2.93 MB / 0.5629 GB, free: 452 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3656, allocations: 16.02 kB / 0.5629 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007967/0.3664, allocations: 487 kB / 0.5634 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.3717, allocations: 1.574 MB / 0.5649 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.3746, allocations: 1.34 MB / 0.5663 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3747, allocations: 147.8 kB / 0.5664 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.3753, allocations: 187.9 kB / 0.5666 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/0.3852, allocations: 6.242 MB / 0.5727 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.3853, allocations: 15.88 kB / 0.5727 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.3855, allocations: 83.91 kB / 0.5728 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.3877, allocations: 1.344 MB / 0.5741 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.3978, allocations: 5.342 MB / 0.5793 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.425, allocations: 20.03 MB / 0.5989 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.4295, allocations: 2.075 MB / 0.6009 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.4306, allocations: 0.7018 MB / 0.6016 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00612/0.4368, allocations: 3.5 MB / 0.605 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4368, allocations: 42.94 kB / 0.605 GB, free: 4.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.4368, allocations: 0 / 0.605 GB, free: 4.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005522/0.4424, allocations: 1.982 MB / 0.607 GB, free: 2.129 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4424, allocations: 59.84 kB / 0.607 GB, free: 2.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.4453, allocations: 1.938 MB / 0.6089 GB, free: 120 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.4454, allocations: 33.7 kB / 0.609 GB, free: 80 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.4469, allocations: 1.911 MB / 0.6108 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.4472, allocations: 329.5 kB / 0.6111 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000829/0.4481, allocations: 0.6234 MB / 0.6117 GB, free: 13.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4483, allocations: 357.9 kB / 0.6121 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4497, allocations: 0.8881 MB / 0.6129 GB, free: 11.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.4527, allocations: 2.751 MB / 0.6156 GB, free: 8.258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/0.4578, allocations: 3.966 MB / 0.6195 GB, free: 3.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.551e-05/0.4579, allocations: 20 kB / 0.6195 GB, free: 3.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006145/0.464, allocations: 3.516 MB / 0.623 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.4641, allocations: 36 kB / 0.623 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/0.4642, allocations: 68.09 kB / 0.6231 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.516e-05/0.4643, allocations: 91.94 kB / 0.6231 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.4663, allocations: 0.6589 MB / 0.6238 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.4664, allocations: 131.5 kB / 0.6239 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.4683, allocations: 428.6 kB / 0.6243 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.4686, allocations: 195.9 kB / 0.6245 GB, free: 14.23 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.001998/0.4706, allocations: 1.342 MB / 0.6258 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.4709, allocations: 162.9 kB / 0.626 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.4712, allocations: 204.8 kB / 0.6262 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.4713, allocations: 8 kB / 0.6262 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4713, allocations: 0 / 0.6262 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.4713, allocations: 3.984 kB / 0.6262 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.478, allocations: 4.077 MB / 0.6302 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.478, allocations: 4 kB / 0.6302 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.4785, allocations: 95.83 kB / 0.6303 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.4785, allocations: 8 kB / 0.6303 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.4785, allocations: 27.92 kB / 0.6303 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.4786, allocations: 8 kB / 0.6303 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.4786, allocations: 11.94 kB / 0.6303 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.4802, allocations: 1.239 MB / 0.6315 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.4806, allocations: 259.7 kB / 0.6318 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4807, allocations: 15.94 kB / 0.6318 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.4812, allocations: 35.97 kB / 0.6318 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4813, allocations: 43.83 kB / 0.6319 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.4814, allocations: 35.98 kB / 0.6319 GB, free: 6.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001903/0.4833, allocations: 1.279 MB / 0.6331 GB, free: 5.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4833, allocations: 0 / 0.6331 GB, free: 5.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002529/0.4859, allocations: 0.689 MB / 0.6338 GB, free: 4.438 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.00218/0.4881, allocations: 1.849 MB / 0.6356 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.4913, allocations: 2.044 MB / 0.6376 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.4913, allocations: 4.812 kB / 0.6376 GB, free: 472 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.492, allocations: 460.2 kB / 0.6381 GB, free: 12 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4932, allocations: 234.5 kB / 0.6383 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/0.5231, allocations: 20.88 MB / 0.6587 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/0.5257, allocations: 2.279 MB / 0.6609 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002089/0.5278, allocations: 0.9557 MB / 0.6618 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.5292, allocations: 1.03 MB / 0.6628 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.5292, allocations: 3.938 kB / 0.6628 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/0.5957, allocations: 32.58 MB / 0.6947 GB, free: 3.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.31, allocations: 12.86 kB / 0.6947 GB, free: 3.625 MB / 0.545 GB (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)