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.001684/0.001684, 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.002098/0.002098, allocations: 197.2 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3181, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01226/0.3304, allocations: 10.1 MB / 0.5405 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.3376, allocations: 3.077 MB / 0.5435 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.3398, allocations: 52.41 kB / 0.5435 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005364/0.3452, allocations: 2.614 MB / 0.5461 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.3488, allocations: 1.164 MB / 0.5472 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3498, allocations: 357.1 kB / 0.5476 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004208/0.3541, allocations: 2.546 MB / 0.5501 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.358, allocations: 2.984 MB / 0.553 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3597, allocations: 1.067 MB / 0.554 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.3617, allocations: 1.371 MB / 0.5554 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00063/0.3624, allocations: 255.9 kB / 0.5556 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.364, allocations: 0.749 MB / 0.5563 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3655, allocations: 1.329 MB / 0.5576 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.3676, allocations: 1.557 MB / 0.5591 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00653/0.3742, allocations: 5.117 MB / 0.5641 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3742, allocations: 4 kB / 0.5641 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3742, allocations: 3.984 kB / 0.5642 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.3744, allocations: 0 / 0.5642 GB, free: 15.22 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.006761/0.3812, allocations: 3.345 MB / 0.5674 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3812, allocations: 12.03 kB / 0.5674 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009896/0.3822, allocations: 0.5498 MB / 0.568 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005536/0.3878, allocations: 1.617 MB / 0.5695 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.3909, allocations: 1.508 MB / 0.571 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.3911, allocations: 184.7 kB / 0.5712 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006474/0.3918, allocations: 231.9 kB / 0.5714 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.4048, allocations: 7.114 MB / 0.5784 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.4049, allocations: 11.88 kB / 0.5784 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/0.4052, allocations: 107.9 kB / 0.5785 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002393/0.4076, allocations: 1.443 MB / 0.5799 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.4196, allocations: 5.956 MB / 0.5857 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.4524, allocations: 22.34 MB / 0.6075 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/0.4573, allocations: 2.195 MB / 0.6097 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4586, allocations: 0.7698 MB / 0.6104 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006938/0.4655, allocations: 3.865 MB / 0.6142 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.4656, allocations: 39.12 kB / 0.6142 GB, free: 10.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.627e-06/0.4656, allocations: 0 / 0.6142 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006546/0.4722, allocations: 2.256 MB / 0.6164 GB, free: 8.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.4722, allocations: 63.91 kB / 0.6165 GB, free: 8.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.4755, allocations: 2.06 MB / 0.6185 GB, free: 6.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.4756, allocations: 41.69 kB / 0.6185 GB, free: 6.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.4774, allocations: 2.11 MB / 0.6206 GB, free: 4.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.4778, allocations: 361.3 kB / 0.6209 GB, free: 3.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000939/0.4787, allocations: 0.6512 MB / 0.6216 GB, free: 3.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.479, allocations: 365.9 kB / 0.6219 GB, free: 2.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4804, allocations: 0.9352 MB / 0.6228 GB, free: 1.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.4837, allocations: 2.872 MB / 0.6256 GB, free: 13.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005455/0.4892, allocations: 4.154 MB / 0.6297 GB, free: 8.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.836e-05/0.4893, allocations: 16 kB / 0.6297 GB, free: 8.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007008/0.4963, allocations: 3.713 MB / 0.6333 GB, free: 5.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.4964, allocations: 36 kB / 0.6334 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-05/0.4965, allocations: 68.84 kB / 0.6334 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.4966, allocations: 88 kB / 0.6335 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.4988, allocations: 0.6862 MB / 0.6342 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.499, allocations: 139.4 kB / 0.6343 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.5011, allocations: 448.6 kB / 0.6348 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.5015, allocations: 192 kB / 0.6349 GB, free: 3.398 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.002449/0.504, allocations: 1.507 MB / 0.6364 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.5043, allocations: 174.8 kB / 0.6366 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.5047, allocations: 214.2 kB / 0.6368 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.5047, allocations: 15.98 kB / 0.6368 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5048, allocations: 3.938 kB / 0.6368 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5048, allocations: 4 kB / 0.6368 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008594/0.5134, allocations: 4.948 MB / 0.6416 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5134, allocations: 4 kB / 0.6416 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.5139, allocations: 119.8 kB / 0.6418 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.5139, allocations: 19.98 kB / 0.6418 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.514, allocations: 20 kB / 0.6418 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.514, allocations: 15.94 kB / 0.6418 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.514, allocations: 15.92 kB / 0.6418 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.5159, allocations: 1.415 MB / 0.6432 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.5164, allocations: 295.5 kB / 0.6435 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.5166, allocations: 20 kB / 0.6435 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.5172, allocations: 43.83 kB / 0.6435 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5173, allocations: 71.69 kB / 0.6436 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.5174, allocations: 36 kB / 0.6437 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002169/0.5195, allocations: 1.448 MB / 0.6451 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5195, allocations: 0 / 0.6451 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002723/0.5223, allocations: 0.7785 MB / 0.6458 GB, free: 7.91 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.002301/0.5246, allocations: 2.032 MB / 0.6478 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003484/0.5281, allocations: 2.169 MB / 0.6499 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5281, allocations: 0 / 0.6499 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.5288, allocations: 0.497 MB / 0.6504 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.5303, allocations: 279.5 kB / 0.6507 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/0.5651, allocations: 23.21 MB / 0.6733 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/0.5683, allocations: 2.51 MB / 0.6758 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002315/0.5707, allocations: 1.028 MB / 0.6768 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/0.5724, allocations: 1.202 MB / 0.678 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.5724, allocations: 0 / 0.678 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/0.6474, allocations: 36.76 MB / 0.7139 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.39, allocations: 8.984 kB / 0.7139 GB, free: 15.55 MB / 0.5762 GB (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