Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 200.6 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.51/1.51, allocations: 227.4 MB / 247 MB, free: 10.46 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.2425/0.2425, allocations: 46.12 MB / 344.4 MB, free: 11.5 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.00251/0.00251, allocations: 79.86 kB / 480.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3705, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01346/0.384, allocations: 10.11 MB / 0.5405 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008514/0.3926, allocations: 3.07 MB / 0.5435 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.3956, allocations: 52.22 kB / 0.5435 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005764/0.4014, allocations: 2.617 MB / 0.5461 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.4051, allocations: 1.175 MB / 0.5472 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4062, allocations: 346.1 kB / 0.5476 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004254/0.4104, allocations: 2.548 MB / 0.55 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/0.4143, allocations: 2.991 MB / 0.553 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.416, allocations: 1.051 MB / 0.554 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.4181, allocations: 1.375 MB / 0.5553 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.4187, allocations: 252 kB / 0.5556 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.4204, allocations: 0.7607 MB / 0.5563 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.4219, allocations: 1.325 MB / 0.5576 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.4241, allocations: 1.553 MB / 0.5591 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.4315, allocations: 5.124 MB / 0.5641 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4316, allocations: 0 / 0.5641 GB, free: 15.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4316, allocations: 4 kB / 0.5641 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002203/0.4318, allocations: 0 / 0.5641 GB, free: 15.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.008801/0.4406, allocations: 3.353 MB / 0.5674 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.4407, allocations: 12.03 kB / 0.5674 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001534/0.4423, allocations: 0.542 MB / 0.568 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.4481, allocations: 1.629 MB / 0.5695 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.4521, allocations: 1.505 MB / 0.571 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.4523, allocations: 176.7 kB / 0.5712 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.4531, allocations: 235.9 kB / 0.5714 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4669, allocations: 7.11 MB / 0.5783 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.469e-05/0.467, allocations: 15.88 kB / 0.5784 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004472/0.4674, allocations: 107.9 kB / 0.5785 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/0.4698, allocations: 1.439 MB / 0.5799 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.4826, allocations: 5.952 MB / 0.5857 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/0.5186, allocations: 22.35 MB / 0.6075 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004945/0.5236, allocations: 2.193 MB / 0.6096 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.5248, allocations: 0.7682 MB / 0.6104 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007185/0.532, allocations: 3.861 MB / 0.6142 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.5321, allocations: 39.12 kB / 0.6142 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.646e-06/0.5322, allocations: 4 kB / 0.6142 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.00693/0.5391, allocations: 2.256 MB / 0.6164 GB, free: 8.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5392, allocations: 55.97 kB / 0.6165 GB, free: 8.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.5433, allocations: 2.064 MB / 0.6185 GB, free: 6.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.5435, allocations: 37.7 kB / 0.6185 GB, free: 6.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.5454, allocations: 2.11 MB / 0.6206 GB, free: 4.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.5459, allocations: 357.3 kB / 0.6209 GB, free: 3.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.5472, allocations: 0.659 MB / 0.6216 GB, free: 3.074 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.5475, allocations: 361.9 kB / 0.6219 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.5491, allocations: 0.9391 MB / 0.6228 GB, free: 1.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.5524, allocations: 2.868 MB / 0.6256 GB, free: 13.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/0.5578, allocations: 4.156 MB / 0.6297 GB, free: 8.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.721e-05/0.5579, allocations: 20 kB / 0.6297 GB, free: 8.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007011/0.5649, allocations: 3.707 MB / 0.6333 GB, free: 5.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.565, allocations: 32 kB / 0.6334 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.975e-05/0.5651, allocations: 68 kB / 0.6334 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/0.5652, allocations: 92 kB / 0.6335 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.5675, allocations: 0.683 MB / 0.6342 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.5676, allocations: 143.4 kB / 0.6343 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.5698, allocations: 448.6 kB / 0.6347 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.5702, allocations: 200 kB / 0.6349 GB, free: 3.445 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.002506/0.5727, allocations: 1.495 MB / 0.6364 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.5731, allocations: 178.8 kB / 0.6366 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.5735, allocations: 222.2 kB / 0.6368 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.5736, allocations: 8 kB / 0.6368 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5736, allocations: 4 kB / 0.6368 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5736, allocations: 3.984 kB / 0.6368 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008991/0.5826, allocations: 4.939 MB / 0.6416 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.5826, allocations: 8.969 kB / 0.6416 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.5831, allocations: 119.8 kB / 0.6417 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/0.5832, allocations: 12 kB / 0.6417 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.5832, allocations: 24 kB / 0.6418 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/0.5833, allocations: 19.92 kB / 0.6418 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5833, allocations: 11.94 kB / 0.6418 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5852, allocations: 1.422 MB / 0.6432 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.5857, allocations: 291.5 kB / 0.6435 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.5859, allocations: 23.94 kB / 0.6435 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.5865, allocations: 35.92 kB / 0.6435 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5866, allocations: 75.69 kB / 0.6436 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.5867, allocations: 32 kB / 0.6436 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002297/0.589, allocations: 1.444 MB / 0.645 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.589, allocations: 0 / 0.645 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00296/0.592, allocations: 0.7747 MB / 0.6458 GB, free: 7.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002493/0.5945, allocations: 2.039 MB / 0.6478 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003681/0.5982, allocations: 2.176 MB / 0.6499 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/0.5982, allocations: 0 / 0.6499 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.599, allocations: 0.5048 MB / 0.6504 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.6007, allocations: 273.3 kB / 0.6507 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04037/0.6411, allocations: 23.22 MB / 0.6733 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/0.6458, allocations: 2.51 MB / 0.6758 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002659/0.6485, allocations: 1.024 MB / 0.6768 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/0.6508, allocations: 1.21 MB / 0.678 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/0.6508, allocations: 0 / 0.678 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.7334, allocations: 36.75 MB / 0.7139 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.91, allocations: 8.219 kB / 0.7139 GB, free: 15.61 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1)