Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_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.00103/0.00103, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 72.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09784, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01061/0.1085, allocations: 10.1 MB / 490.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.1138, allocations: 3.072 MB / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009844/0.1148, allocations: 59.81 kB / 493.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004299/0.1192, allocations: 2.609 MB / 496 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1215, allocations: 1.175 MB / 497.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.1222, allocations: 347.4 kB / 497.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.125, allocations: 2.551 MB / 0.4883 GB, free: 1.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.1282, allocations: 2.992 MB / 0.4912 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.1296, allocations: 1.063 MB / 0.4923 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.1313, allocations: 1.367 MB / 0.4936 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.1319, allocations: 252 kB / 0.4939 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1331, allocations: 0.7529 MB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.1343, allocations: 1.329 MB / 0.4959 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.1359, allocations: 1.557 MB / 0.4974 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.1402, allocations: 4.922 MB / 0.5022 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1402, allocations: 4 kB / 0.5022 GB, free: 2.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1402, allocations: 4 kB / 0.5022 GB, free: 2.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002007/0.1404, allocations: 0 / 0.5022 GB, free: 2.891 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.1857/0.3262, allocations: 3.266 MB / 0.5054 GB, free: 39.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3262, allocations: 10.44 kB / 0.5054 GB, free: 39.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007753/0.327, allocations: 0.5418 MB / 0.5059 GB, free: 39.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/0.3322, allocations: 1.608 MB / 0.5075 GB, free: 39.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.3344, allocations: 1.483 MB / 0.509 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3345, allocations: 181.3 kB / 0.5091 GB, free: 38.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.3348, allocations: 230.8 kB / 0.5094 GB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009278/0.3441, allocations: 7.117 MB / 0.5163 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.3442, allocations: 14.94 kB / 0.5163 GB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.3444, allocations: 110.4 kB / 0.5164 GB, free: 35.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.3465, allocations: 1.443 MB / 0.5178 GB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.3571, allocations: 5.949 MB / 0.5236 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.3784, allocations: 22.45 MB / 0.5456 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.3821, allocations: 2.192 MB / 0.5477 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.3829, allocations: 0.7635 MB / 0.5485 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00489/0.3878, allocations: 3.854 MB / 0.5522 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.3878, allocations: 35.12 kB / 0.5523 GB, free: 4.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/0.3878, allocations: 0 / 0.5523 GB, free: 4.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005173/0.393, allocations: 2.255 MB / 0.5545 GB, free: 1.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.393, allocations: 63.81 kB / 0.5545 GB, free: 1.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.395, allocations: 2.056 MB / 0.5565 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.3951, allocations: 37.7 kB / 0.5566 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.3963, allocations: 2.023 MB / 0.5585 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3965, allocations: 347.6 kB / 0.5589 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007212/0.3973, allocations: 0.6468 MB / 0.5595 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3974, allocations: 361.9 kB / 0.5599 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3986, allocations: 0.9391 MB / 0.5608 GB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.401, allocations: 2.869 MB / 0.5636 GB, free: 7.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/0.4051, allocations: 4.153 MB / 0.5676 GB, free: 2.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.525e-05/0.4051, allocations: 20 kB / 0.5676 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.00503/0.4101, allocations: 3.697 MB / 0.5713 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.4102, allocations: 36 kB / 0.5713 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.965e-05/0.4103, allocations: 68 kB / 0.5714 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.431e-05/0.4104, allocations: 92 kB / 0.5714 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.4122, allocations: 0.6901 MB / 0.5721 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.049e-05/0.4123, allocations: 131.5 kB / 0.5722 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4139, allocations: 439.7 kB / 0.5727 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.4141, allocations: 203.9 kB / 0.5729 GB, free: 13.03 MB / 414.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.001838/0.416, allocations: 1.499 MB / 0.5743 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.4162, allocations: 169.8 kB / 0.5745 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.4165, allocations: 214.2 kB / 0.5747 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.4165, allocations: 8 kB / 0.5747 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4165, allocations: 0 / 0.5747 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4166, allocations: 7.984 kB / 0.5747 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/0.4231, allocations: 4.938 MB / 0.5795 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.4232, allocations: 5.688 kB / 0.5795 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.4236, allocations: 119.8 kB / 0.5796 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.4236, allocations: 16.69 kB / 0.5797 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.4237, allocations: 20 kB / 0.5797 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.4237, allocations: 23.92 kB / 0.5797 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.4237, allocations: 15.88 kB / 0.5797 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.4252, allocations: 1.399 MB / 0.5811 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.4255, allocations: 282.4 kB / 0.5814 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.4257, allocations: 27.92 kB / 0.5814 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.4262, allocations: 39.88 kB / 0.5814 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4264, allocations: 63.75 kB / 0.5815 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.4264, allocations: 32 kB / 0.5815 GB, free: 3.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.4282, allocations: 1.452 MB / 0.5829 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4282, allocations: 0 / 0.5829 GB, free: 2.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002398/0.4306, allocations: 0.7672 MB / 0.5837 GB, free: 1.605 MB / 414.1 MB 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.001849/0.4325, allocations: 2.025 MB / 0.5857 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003007/0.4355, allocations: 2.367 MB / 0.588 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4355, allocations: 4 kB / 0.588 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.4361, allocations: 0.5028 MB / 0.5885 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.4373, allocations: 277.1 kB / 0.5887 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.4657, allocations: 24.79 MB / 0.6129 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/0.4689, allocations: 2.514 MB / 0.6154 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00238/0.4713, allocations: 1.02 MB / 0.6164 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/0.4728, allocations: 1.206 MB / 0.6176 GB, free: 11.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4728, allocations: 0 / 0.6176 GB, free: 11.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/0.536, allocations: 36.04 MB / 0.6528 GB, free: 7.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.656/10.19, allocations: 7.562 kB / 0.6528 GB, free: 7.516 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches